PYTHON
TUTORIAL
WWW.TECHVIDVAN.COM
HISTORY OF PYTHON
IN DECEMBER 1989, GUIDO VAN ROSSUM WAS SEARCHING FOR A HOBBY PROJECT
TO KEEP HIM OCCUPIED AROUND CHRISTMAS WEEK. SINCE HE HAD ALREADY BEEN
PLANNING TO WRITE A NEW SCRIPTING LANGUAGE DESCENDED FROM ABC, THAT
WOULD ALSO APPEAL TO UNIX/C HACKERS, HE ENDED UP WRITING AN
INTERPRETER FOR IT.
BEING A BIG FAN OF THE BRITISH COMEDY TROUPE MONTY PYTHON, HE CHOSE TO
CALL THE PROJECT ‘PYTHON’ IN AN IRREVERENT MOOD.
TODAY, IT IS ONE OF THE MOST WIDELY-USED PROGRAMMING LANGUAGES IN THE
WORLD. THE LIST OF TOP PROGRAMMING LANGUAGES BY THE IEEE SPECTRUM HAS
IT AT #1 AND THE TIOBE INDEX HAS IT AT #3. IT IS USED FOR A VARIETY OF
APPLICATIONS AND IT’S A VERY POPULAR LANGUAGE.
PYTHON APPLICATIONS
SCRIPTING – PYTHON IS GREAT FOR SERVER-SIDE AND OTHER SCRIPTING
DATA SCIENCE
MACHINE LEARNING
ARTIFICIAL INTELLIGENCE
GUI AND GAME DEVELOPMENT
WEB DEVELOPMENT
COMPUTER VISION (CV)/ IMAGE MANIPULATION
ROBOTICS
WEB SCRAPING
NETWORK PROGRAMMING
NUMERIC AND SCIENTIFIC COMPUTING
ENTERPRISE APPLICATIONS
PYTHON IS EVERYWHERE. THERE IS NOTHING YOU CAN’T DO WITH IT.
LET’S TAKE A QUICK LOOK AT WHERE IT FINDS USE.
WHY LEARN PYTHON?
Python is the preferred language for Data Science and Machine
Learning.
They are the future and provide well-paying and stable jobs.
Python is fun.
Jobs in Python pays well and jobs will be stable in the future.
Yes, Python is easy to learn. But why should you learn it?
Let’s find out.
RUNNING PYTHON
.py – Python file
.pyc – Compiled bytecode
.pyd – Windows DLL file
.pyo – File created with optimizations
.pyw – Script for Windows
.pyz – Script archive
Python ships with an in-built interpreter (IDLE) that you can also use
as a calculator. You can use an IDE too like PyCharm or the Jupyter
Lab.
Python files may have different extensions:
SUMMARY
Let’s conclude this Python Tutorial with a quick revision.
We have discussed what is Python and how it came into
existence. Further, we also learned about its features and the
reasons behind why one should learn Python.
We have also explored how Python is implemented and how it
runs. I hope now you are clear with the basics of Python from
our article.

Python Tutorial .pdf

  • 1.
  • 2.
    HISTORY OF PYTHON INDECEMBER 1989, GUIDO VAN ROSSUM WAS SEARCHING FOR A HOBBY PROJECT TO KEEP HIM OCCUPIED AROUND CHRISTMAS WEEK. SINCE HE HAD ALREADY BEEN PLANNING TO WRITE A NEW SCRIPTING LANGUAGE DESCENDED FROM ABC, THAT WOULD ALSO APPEAL TO UNIX/C HACKERS, HE ENDED UP WRITING AN INTERPRETER FOR IT. BEING A BIG FAN OF THE BRITISH COMEDY TROUPE MONTY PYTHON, HE CHOSE TO CALL THE PROJECT ‘PYTHON’ IN AN IRREVERENT MOOD. TODAY, IT IS ONE OF THE MOST WIDELY-USED PROGRAMMING LANGUAGES IN THE WORLD. THE LIST OF TOP PROGRAMMING LANGUAGES BY THE IEEE SPECTRUM HAS IT AT #1 AND THE TIOBE INDEX HAS IT AT #3. IT IS USED FOR A VARIETY OF APPLICATIONS AND IT’S A VERY POPULAR LANGUAGE.
  • 4.
    PYTHON APPLICATIONS SCRIPTING –PYTHON IS GREAT FOR SERVER-SIDE AND OTHER SCRIPTING DATA SCIENCE MACHINE LEARNING ARTIFICIAL INTELLIGENCE GUI AND GAME DEVELOPMENT WEB DEVELOPMENT COMPUTER VISION (CV)/ IMAGE MANIPULATION ROBOTICS WEB SCRAPING NETWORK PROGRAMMING NUMERIC AND SCIENTIFIC COMPUTING ENTERPRISE APPLICATIONS PYTHON IS EVERYWHERE. THERE IS NOTHING YOU CAN’T DO WITH IT. LET’S TAKE A QUICK LOOK AT WHERE IT FINDS USE.
  • 6.
    WHY LEARN PYTHON? Pythonis the preferred language for Data Science and Machine Learning. They are the future and provide well-paying and stable jobs. Python is fun. Jobs in Python pays well and jobs will be stable in the future. Yes, Python is easy to learn. But why should you learn it? Let’s find out.
  • 7.
    RUNNING PYTHON .py –Python file .pyc – Compiled bytecode .pyd – Windows DLL file .pyo – File created with optimizations .pyw – Script for Windows .pyz – Script archive Python ships with an in-built interpreter (IDLE) that you can also use as a calculator. You can use an IDE too like PyCharm or the Jupyter Lab. Python files may have different extensions:
  • 9.
    SUMMARY Let’s conclude thisPython Tutorial with a quick revision. We have discussed what is Python and how it came into existence. Further, we also learned about its features and the reasons behind why one should learn Python. We have also explored how Python is implemented and how it runs. I hope now you are clear with the basics of Python from our article.