TOP_NAV

Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, October 3, 2018

Introduction to Python


Introduction to Python

Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL).

Python Features


  • 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.
  • Object-Oriented− Python supports Object-Oriented style or technique of programming that encapsulates code within objects.
  • A broad standard library − Python's bulk of the library is very portable and cross-platform compatible on UNIX, Windows, and Macintosh.
  • Interactive Mode− Python has support for an interactive mode which allows interactive testing and debugging of snippets of code.
  • Portable− Python can run on a wide variety of hardware platforms and has the same interface on all platforms.
  • Databases− Python provides interfaces to all major commercial databases.
  • GUI Programming− 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.

 

Installation & Setup


Python is available on a wide variety of platforms including Linux and Mac OS X.
official website of Python https://www.python.org/
Documentation https://www.python.org/doc/

Unix and Linux :

  • Open a Web browser and go to https://www.python.org/downloads/.
  • Download and extract files.
  • Editing the Modules/Setup file if you want to customize some options.
  • run ./configure script  and make install

Windows :

  • Open a Web browser and go to https://www.python.org/downloads/.
  • To use this installer python-XYZ.msi, the Windows system must support Microsoft Installer 2.0. Save the installer file to your local machine and then run it to find out if your machine supports MSI.
  • Run the downloaded file. This brings up the Python install wizard, which is really easy to use. Just accept the default settings, wait until the install is finished, and you are done.

Macintosh :

Recent Macs come with Python installed, but it may be several years out of date. See http://www.python.org/download/mac/ for instructions on

 

 Editors and IDEs 

General Editors 

  • Eclipse + PyDev
  • Sublime Text
  • Atom
  • GNU Emacs
  • Vi / Vim
  • Visual Studio
  • Visual Studio Code

Recommended Python-Specific 

  • PyCharm
  • Spyder
  • Thonny

 Install Pycharm

The official website of PyCharm
https://www.jetbrains.com/pycharm/download/#section=windows
Here you will observe two versions of package for Windows as shown in the screenshot
Download the community package (executable file) and install onto your system


pycharm

No comments:

Post a Comment