Posts

Python Tutorial 5

Pyy Ad by   Val he Python language has many similarities to Perl, C, and Java. However, there are some definite differences between the languages irst Python Program Let us execute programs in different modes of programming. Interactive Mode Programming Invoking the interpreter without passing a script file as a parameter brings up the following prompt − $ python Python 2.4 . 3 (# 1 , Nov 11 2010 , 13 : 34 : 43 ) [ GCC 4.1 . 2 20080704 ( Red Hat 4.1 . 2 - 48 )] on linux2 Type "help" , "copyright" , "credits" or "license" for more information . >>> Type the following text at the Python prompt and press the Enter − >>> print "Hello, Python!" If you are running new version of Python, then you would need to use print statement with parenthesis as in  print ("Hello, Python!"); . However in Python version 2.4.3, this produces the following result − Hello, Pytho

Python Turorial 4

Python Tutorial 4 Python is available on a wide variety of platforms including Linux and Mac OS X. Let's understand how to set up our Python environment. Local Environment Setup Open a terminal window and type "python" to find out if it is already installed and which version is installed. Unix (Solaris, Linux, FreeBSD, AIX, HP/UX, SunOS, IRIX, etc.) Win 9x/NT/2000 Macintosh (Intel, PPC, 68K) OS/2 DOS (multiple versions) PalmOS Nokia mobile phones Windows CE Acorn/RISC OS BeOS Amiga VMS/OpenVMS QNX VxWorks Psion Python has also been ported to the Java and .NET virtual machines Getting Python The most up-to-date and current source code, binaries, documentation, news, etc., is available on the official website of Python  https://www.python.org/ You can download Python documentation from  https://www.python.org/doc/ . The documentation is available in HTML, PDF, and PostScript formats. Installing Python Python distribution is available for

Python Turorial 3

Image
Python Tutorial -3 Why to Learn Python?   Python  is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages. Python  is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Web Development Domain. I will list down some of the key advantages of learning Python: Python is Interpreted  − Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP. Python is Interactive  − You can actually sit at a Python prompt and interact with the interpreter directly to write your programs. Python is Object-Oriented  − Python supports Object-Oriented style or technique of programming that encapsulates code within objects. Python is

Python Tutorial 2

Image
Which Websites use python: PINTEREST INSTAGRAM SPOTIFY Netflix.  Uber.  Dropbox.  What is the use Of python ? You can  use Python  for developing desktop GUI applications, websites and web applications. Also,  Python , as a high level programming language, allows you to focus on core functionality of the application by taking care of common programming tasks Python is one of the most popular programming language. Reasons Why You Must Consider Writing Software Applications in Python 1) Readable and Maintainable Code 2) Multiple Programming Paradigms 3) Compatible with Major Platforms and Systems 4) Robust Standard Library 5) Many Open Source Frameworks and Tools 6) Simplify Complex Software Development 7) Adopt Test Driven Development Application of python:   python.org Python is used in many application domains. Here's a sampling. The python package index lists thousands of third party modules for Python. Web and Int