Python Programming

 

  Python Programming Language  

Python is a high level programming language. It is very powerful and easy to learn. It is built as a general purpose scripting language. It have many libraries like OS, Django, Pandas, Flask, etc. There are many modules in python like OS, Tkinter, Pyttsx3, Subprocess, Kivi, Pytube, Instagram etc. In another languages like Java, C, C++ . we should write many lines of code to print 'hello" but in python we should write one line of code to print 'hello". So only  python is a language which make any app in very less time as compare with other languages.

   Uses of Python  

  • Web Development
  • Desktop Application Development
  • Task Automation 
  • Machine Learning
  • Data Science 
  • Scripting Language 
  • Game Development 

  Python Tutorial For Beginners  


Online website for learning Python :-

Python Tutorials from You Tube :-

  How To  Download Python ?   

Steps To Download Python :-

  1. Open any browser like Chrome, Firefox etc.
  2. Type " Python install " in the Search bar and press Enter.
  3. Go on first link Python.org Or Click on Download to download python.
  4. Click on download button to download latest version of Python.

  How To Install Python ?  

 Steps To Install Python :-

  1. Run the Python Installer
  2. Click on add to path option and tick it. 
  3. Click on install now.
  4. After installation complete. Open Cmd or Terminal.
  5. Type "Python" to check Python version and use Python Terminal.

Python Terminal

        6. Also check pip. Type "pip" if pip is installed so this type message show.

Pip Commands 

  How To Download Modules in Python ? 

Steps To Download Modules In Python :- 

  1. Open Command Prompt Or Terminal.
  2. Type "pip install " and module name and press Enter.
Example :-

    

Press Enter and Free Games Module are start Installing in your PC.

Free Games Module is Successfully Installed 

 Writing Our First Python Program  

Writing Our First Python Program :-

  1. Open a file and write 'print('hello, world') in the file.
  2. Save the file named "hello.py" ".py" is a python file extension.
  3. Now open Cmd and go on path where is your file situated.
  4. Now you are reach where is file situated and type the name of file with extension and press Enter.
  5. The output is seen in your screen.  

Python Code for hello world


Output of Python code for hello world.






Comments

Post a Comment