Python Programming

Projects and Tutorials in Python.

We have developed many Python Projects and they are as follows.
  • Tick Tac Toe Game browser and GUI Based.
  • Calculator browser and GUI based.
  • Plot graph,line, pie, Bar chart.
Projects and Tutorials link is given at the end of this page.

A Blog on Python programming is also available to learn all commands with sample code and start writing python code. Learn Python Programming Language  
First we review some frequently asked questions about Python and then we go in detail.
  • What is Python used for?
  • How to create program in Python?
  • What are the Tools & IDE used to develop Python Code?
  • What all libraries are supported by Python?
  • Features of Python
  • Installation of Python
  • Which is the best development environment to start with.

What is Python used for?

  • Python is a general purpose programming language.
  • Python is used for Business Application like ERP/E-commerce and software Development.
  • Python is a scripting language like PHP, Perl, Ruby.
  • It can be used for web development and Internet with django, Zope, Pyramid, Google App Engine.
  • It also can be used for desktop applications & GUI  like Blender 3D. TkGUI library is Included in Python.
  • Python can also be translated into binary code like java.
  • Python is used for teaching programming, both at the introductory level and advanced.
  • Python is used in scientific computing like IPython.
How to create program in Python?

Install Python in windows based environment. Define environment path for python directory. Run as python in command line.
Create a Python files with extension .py in notepad and save.
Run program as c:> python prog1.py and get the result.

What are the Tools & IDE used to develop Python Code?

First download & install python from site https://www.python.org/downloads/. Once it is installed and path set for python directory, it is available at dos command prompt and as windows - IDLE(Python GUI)

Some Other IDE are.
  • Use Notepad to write program with extension.py and run as python prog1.py
  • Use Eclipse with PyDev. Install PyDev from  Eclipse market Place. Then create project using PyDev. Preferable, as Eclipse can be used with other programming language.
  • Use PyCharm
  • Use Eric
  • Xampp Server – Save the python code code in cgi-bin and use in browser with some limitation.
  • Name a  file to first.py .
  • Configure xampp server for py. Modify  http.conf . Add .py in end as  AddHandler cgi-script .cgi .pl .asp .py
  • Put it in a directory named “cgi-bin” under our document root. Then, the file may be accessed in the web-browser by simply typing:http://localhost/cgi-bin/first.py
  • Any others IDE.
  
What all libraries are supported by Python?
Python's standard library supports many Internet protocols:
Features of Python
  • Python is a case-sensitive language. This means, Variable and variable are not the same in Python.
  • Python is dynamically typed: it means that we don't have to declare a type like int var_a=5, instead use as a=5.
  • Python is strongly typed. It means that if  var_a = "python”, it remains as string. If defined as var_a+27 it will show as python27.
  • Python is object oriented, with class-based inheritance.
  • The code is compiled into byte code and then executed in a virtual machine. This means that precompiled code is portable between platforms.
  • Python supports GUI applications that can be created and ported to many system calls, libraries and windows systems, such as Windows MFC, Macintosh, and the X Window system of Unix.
  • Python provides interfaces to all major databases.
  • It can be easily be integrated with C, C++, COM, ActiveX, CORBA, and Java.
Installation of Python.
  • Download Python from https://www.python.org/downloads/
  • Set the path for Python installed directory.
  • Python works as
  • Python works from command line. Code using Notepad and run in command line,as c:>python prog1.py
  • As IDLE (From windows).
  • Once Python is installed following IDE can be used of your choice.
  • Works with eclipse with PyDev as interface. Install from Eclipse Marketplace.
  • Install Django for web base application.
  • Install PyCharm.
Which is the best development environment to start with.

Anaconda Python distribution, which comes with everything you need to get started in an all-in-one package. Spider, notepad,Jupiter etc are all bundled with this.

Projects and Tutorials Link

Videos                                                     : Learn Python
Blogs to Learn Python Commands         : Learn Python Programming Language  
Python Projects and Tutorials YouTube: Python Project Tutorials
Code of Projects                                     : Python Projects Code

No comments:

Post a Comment