top of page
Writer's pictureDev Deck

Python Programming

Python Programming Language

Python is a high-level, general-purpose and a very popular programming language. Python programming language (latest Python 3) is being used in web development, Machine Learning applications, along with all cutting edge technology in Software Industry. Python Programming Language is very well suited for Beginners, also for experienced programmers with other programming languages like C++ and Java.

This specially designed Python tutorial will help you learn Python Programming Language in most efficient way, with the topics from basics to advanced (like Web-scraping, Django, Deep-Learning, etc.) with examples.



Below are some facts about Python Programming Language:

  1. Python is currently the most widely used multi-purpose, high-level programming language.

  2. Python allows programming in Object-Oriented and Procedural paradigms.

  3. Python programs generally are smaller than other programming languages like Java. Programmers have to type relatively less and indentation requirement of the language, makes them readable all the time.

  4. Python language is being used by almost all tech-giant companies like – Google, Amazon, Facebook, Instagram, Dropbox, Uber… etc.

  5. The biggest strength of Python is huge collection of standard library which can be used for the following:

    • Machine Learning

    • GUI Applications (like Kivy, Tkinter, PyQt etc. )

    • Web frameworks like Django (used by YouTube, Instagram, Dropbox)

    • Image processing (like OpenCV, Pillow)

    • Web scraping (like Scrapy, BeautifulSoup, Selenium)

    • Test frameworks

    • Multimedia

    • Scientific computing

    • Text processing and many more..


Python on Windows

To install Python on Windows, go to the python.org download page and download Python 2.7.x. Run the Python installer and accept all the defaults. This will install Python in the root directory and set up some file associations.

With Python installed, open a command prompt (Accessories > Command Prompt, or type cmd into the run dialog). Cd to the google-python-exercises directory (from unzipping google-python-exercises.zip). You should be able to run the hello.py python program by typing python hello.py (what you type is shown in bold):

C:\google-python-exercises> python hello.py
Hello World
C:\google-python-exercises> python hello.py Alice
Hello Alice


If this works, Python is installed. Otherwise, see Python Windows FAQ for help.

To run the Python interpreter interactively, select the Run... command from the Start menu, and type Python -- this will launch Python interactively in its own window. On Windows, use Ctrl-Z to exit (on all other operating systems it's Ctrl-D to exit).

In the lecture videos, we generally run the Python programs with commands like ./hello.py. On Windows, it's simplest to use the python hello.py form.


0 views0 comments

コメント


bottom of page