Python tutorial part 8 : setting python path

SETTING PATH IN PYTHON


 


Before starting working with Python, a specific path is to set.

 

Your Python program and executable code can reside in any directory of your system, therefore Operating System provides a specific search path that index the directories Operating System should search for executable code.


The Path is set in the Environment Variable of My Computer properties:


To set path follow the steps:


 

Right click on My Computer ->Properties ->Advanced System setting ->Environment Variable ->New

 

In Variable name write path and in Variable value copy path up to C://Python(i.e., path where Python is installed). Click Ok ->Ok.

 

Path will be set for executing Python programs.

1. Right click on My Computer and click on properties.

2. Click on Advanced System settings

3. Click on Environment Variable tab.

4. Click on new tab of user variables.

5. Write path in variable name.

6. Copy the path of Python folder.

7. Paste path of Python in variable value.

8. Click on Ok button:

9. Click on Ok button:

 

 

Python tutorial part 7 : python installation

HOW TO INSTALL PYTHON


 

To start with Python, first make sure that the Python is installed on local computer.

 

To install Python, visit the official site and download Python from the download section.

 

To install Python on Ubuntu operating system, visit our installation section where we have provided detailed installation process.

 

For Windows operating system, the installation process is given below.

 

1. To install Python, firstly download the Python distribution from www.python.org/download.


 

2. After downloading the Python distribution, double click on the downloaded software to execute it. Follow the following installtion steps.

   

Click the Finish button and Python will be installed on your system.

 

Python tutorial part 6 : applications area

Python Applications Area


 


Python is known for its general purpose nature that makes it applicable in almost each domain of software development. Python as a whole can be used in any sphere of development.

 

Here, we are specifing applications areas where python can be applied.

 

1) Web Applications

We can use Python to develop web applications. It provides libraries to handle internet protocols such as HTML and XML, JSON, Email processing, request, beautifulSoup, Feedparser etc. It also provides Frameworks such as Django, Pyramid, Flask etc to design and delelop web based applications. Some important developments are: PythonWikiEngines, Pocoo, PythonBlogSoftware etc.

 

2) Desktop GUI Applications

Python provides Tk GUI library to develop user interface in python based application. Some other useful toolkits wxWidgets, Kivy, pyqt that are useable on several platforms. The Kivy is popular for writing multitouch applications.

 

3) Software Development

Python is helpful for software development process. It works as a support language and can be used for build control and management, testing etc.

 

4) Scientific and Numeric

Python is popular and widely used in scientific and numeric computing. Some useful library and package are SciPy, Pandas, IPython etc. SciPy is group of packages of engineering, science and mathematics.

 

5) Business Applications

Python is used to build Bussiness applications like ERP and e-commerce systems. Tryton is a high level application platform.

 

6) Console Based Application

We can use Python to develop console based applications. For example: IPython.

 

7) Audio or Video based Applications

Python is awesome to perform multiple tasks and can be used to develop multimedia applications. Some of real applications are: TimPlayer, cplay etc.

 

8) 3D CAD Applications

To create CAD application Fandango is a real application which provides full features of CAD.

 

9) Enterprise Applications

Python can be used to create applications which can be used within an Enterprise or an Organization. Some real time applications are: OpenErp, Tryton, Picalo etc.

 

10) Applications for Images

Using Python several application can be developed for image. Applications developed are: VPython, Gogh, imgSeek etc.

 

There are several such applications which can be developed using Python

 

Python tutorial part 5 : python version

Python Version


 

Python programming language is being updated regularly with new features and supports.There are lots of updations in python versions, started from 1994 to current release.

A list of python versions with its released date is given below.

 

Python Version


Python 1.0

January 1994

Python 1.5

December 31, 1997

Python 1.6

September 5, 2000

Python 2.0

October 16, 2000

Python 2.1

April 17, 2001

Python 2.2

December 21, 2001

Python 2.3

July 29, 2003

Python 2.4

November 30, 2004

Python 2.5

September 19, 2006

Python 2.6

October 1, 2008

Python 2.7

July 3, 2010

Python 3.0

December 3, 2008

Python 3.1

June 27, 2009

Python 3.2

February 20, 2011

Python 3.3

September 29, 2012

Python 3.4

March 16, 2014

Python 3.5

September 13, 2015

Python 3.6

December 23, 2016

Python 3.6.4

December 19, 2017

 


Python tutorial part 4 : python history

Python History


 

Python laid its foundation in the late 1980s.


The implementation of Python was started in the December 1989 by Guido Van Rossum at CWI in Netherland.


In February 1991, van Rossum published the code (labeled version 0.9.0) to alt.sources.


In 1994, Python 1.0 was released with new features like: lambda, map, filter, and reduce.


Python 2.0 added new features like: list comprehensions, garbage collection system.


On December 3, 2008, Python 3.0 (also called "Py3K") was released. It was designed to rectify fundamental flaw of the language.


ABC programming language is said to be the predecessor of Python language which was capable of Exception Handling and interfacing with Amoeba Operating System.


Python is influenced by following programming languages:


ABC language.


Modula-3


 

Python tutorial part 3 : python features

Python Features


 

Python provides lots of features that are listed below.

 

1) Easy to Learn and Use

Python is easy to learn and use. It is developer-friendly and high level programming language.

 

2) Expressive Language

Python language is more expressive means that it is more understandable and readable.

 

3) Interpreted Language

Python is an interpreted language i.e. interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners.

 

4) Cross-platform Language

Python can run equally on different platforms such as Windows, Linux, Unix and Macintosh etc. So, we can say that Python is a portable language.

 

5) Free and Open Source

Python language is freely available at offical web address (https://www.python.org/).The source-code is also available. Therefore it is open source.

 

6) Object-Oriented Language

Python supports object oriented language and concepts of classes and objects come into existence.

 

7) Extensible

It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in our python code.

 

8) Large Standard Library

Python has a large and broad library and provide rich set of module and functions for rapid application development.

 

9) GUI Programming Support

Graphical user interfaces can be developed using Python.

 

10) Integrated

It can be easily integrated with languages like C, C++, JAVA etc.

 

Python tutorial part 2 : python introduction

Python is a general purpose, dynamic, high level and interpreted programming language. It supports Object Oriented programming approach to develop applications. It is simple and easy to learn and provides lots of high-level data structures.

 

Python is easy to learn yet powerful and versatile scripting language which makes it attractive for Application Development.

 

Python's syntax and dynamic typing with its interpreted nature, makes it an ideal language for scripting and rapid application development.

 

Python supports multiple programming pattern, including object oriented, imperative and functional or procedural programming styles.

 

Python is not intended to work on special area such as web programming. That is why it is known as multipurpose because it can be used with web, enterprise, 3D CAD etc.

 

We don't need to use data types to declare variable because it is dynamically typed so we can write a=10 to assign an integer value in an integer variable.

 

Python makes the development and debugging fast because there is no compilation step included in python development and edit-test-debug cycle is very fast.

 

Python tutorial part 1 : Introduction of python

Python tutorial provides basic and advanced concepts of Python. Our Python tutorial is designed for beginners and professionals.Python is a simple, easy to learn, powerful, high level and object-oriented programming language.

 

Python is an interpreted scripting language also. Guido Van Rossum is known as the founder of python programming.

 

Our Python tutorial includes all topics of Python Programming such as installation, control statements, Strings, Lists, Tuples, Dictionary, Modules, Exceptions, Date and Time, File I/O, Programs, etc. There are also given Python interview questions to help you better understand the Python Programming.


Prerequisite

Before learning Python, you must have the basic knowledge of programming concepts.

 

Audience

Our Python tutorial is designed to help beginners and professionals.

 

Problem

We assure that you will not find any problem in this Python tutorial. But if there is any mistake, please post the problem in contact on comment box ЁЯСИЁЯСИ

Quick Tech