Skip to content

Ajay2521/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

Python

In this major python concept has been covered.

All about getting start with Python.

What is Python Programming ?

  • Python is a Simple , high level and Object Oriented programming language which is created by Guido Van Rossum

  • Python is also know as Interpreted scripting language , which is python code can be executed with or without compiling the Source code or the Python Script . That is python interpreter allows to execute the python code directly.

Why Python Programming?

  • Python is famously known for its simplicity which is the code which is written in Python is less when compared to other programming languages like C, C++, java etc..,,,

  • Python is Simple to learn and effective to use.

  • Python support Dynamic Variable allocation , thus there is no need to use data types to declare the varible.

Python Versions

  • Python consists of2 versions which is Python 2 and Python3 and this 2 versions differ a lot from each other.
  • Example Python2 use print as print"Statement", where as Python3 use print as print("Statment").

Python Feature:

  • Easy and simple to learn.

  • Understandable and Readable.

  • Interpreted Language.

  • Supports in many platform.

  • Free and Open Source.

  • Object-Oriented Language(OOPs).

  • Contains Large Standard Library.

  • Supports GUI Programming.

Area of Application:

  • Web Application.

  • Desktop GUI Application.

  • Software Development.

  • Scientific and Numeric.

  • Business Application.

  • Console Based Application.

  • Audio or Video based Application.

  • Enterprise Application.

Install Python in Your Local Machine.

Click Here to download Python based on different Operating System and based on 32bit or 64bit.

Click Here - To download latest version of Python for Windows Operating System with 64bit.

Click Here - To download latest version of Python for Mac Operating System with 64 bit.

After downloading it , Install it like how we install other application.

After Installation of Python , To check its installation open comand prompt and enter Python --version to check the version of python installed in the machine.

Lets start

Python support interpreted type which is used to executed python code in interpreter(terminal).

But here i am using Scripting to compile the Python code and Execute the Python code which has compiled.

To compile and execute the python script file.

  • First open any text editor like Notepad, Notepad++ etc...,,

  • Here i am using Sublime Text editor.

  • Then write the python code and save the file by using .py extension.

  • Then open comand prompt and specify the file / folder location where the .py python file has been saved.

  • To compile that .py python file type "python filename.py" and press Enter.

  • If no error then respective output will be displayed on the screen.

Important Notes to Learner :

  • Anything which is followed by hashtag(#) is consider as a comments. Comments play major role in this tutorial since Comments will be used to explain the syntax and how the program and program control flow in Python Program.

  • Follow this README file to make this tutorial in effective way

  • This python tutorial is divided as BASIC , INTERMEDIATE , ADVANCE

Before moving directly to the code , follow this README file pattern to make this python tutorial usefull.

BASICS LEVEL :

  1. Simple Python - In this simple python program and its structure has been explained.

  2. Variable - In this Variable concept in python has been explained.

  3. Single Value to Multiple Variable - In this how Single Value can be assigned to Multiple Variable in Python has been explained.

  4. Multiple Value to Multiple Variable - In this how Multiple Value can be assigned to Multiple Variable in Python has been explained.

  5. Number - In this Number concept in Python has been explained.

  6. String - In this String Datatype in Python has been explained.

  7. List - In this List Datatype in Python has been explained.

  8. Tuple - In this Tuple Datatype in Python has been explained.

  9. Dictionary - In this Dictionary Datatype in Python has been explained.

  10. Arithmetic Operator - In this Arithmetic Operators in Python has been explained.

  11. Comparison Operator - In this Comparison Operators in Python has been explained.

  12. Assignment Operator - In this Assignment Operators in Python has been explained.

  13. Bitwise Operator - In this Bitwise Operators in Python has been explained.

  14. Logical Operator - In this Logical Operators in Python has been explained.

  15. Membership Operator - In this Membership Operators in Python has been explained.

  16. Identity Operator - In this Identity Operators in Python has been explained.

  17. Operator Precedence - In this Operators Precedence in Python has been explained.

  18. if statement - In this "if conditional statement" in Python has been explained.

  19. if else statement - In this "if else conditional statement" in Python has been explained.

  20. if elif statement - In this "if elif conditional statement" in Python has been explained.

  21. Nested if statement - In this "Nested if conditional statement" in Python has been explained.

  22. Nested if else statement - In this "Nested if else conditional statement" in Python has been explained.

  23. Nested if elif statement - In this "Nested if elif conditional statement" in Python has been explained.

  24. for loop - In this "for loop" in Python has been explained.

  25. for loop for list - In this "for loop for list" in Python has been explained.

  26. for loop for tuple - In this "for loop for tuple" in Python has been explained.

  27. range - In this "range" in Python has been explained using for loop.

  28. Nested for loop - In this "Nested for loop" in Python has been explained.

  29. for loop with else - In this "for loop with else" in Python has been explained.

  30. while loop - In this "while loop" in Python has been explained.

  31. Infinite while loop - In this "Infinite while loop" in Python has been explained.

  32. while loop with else - In this "while loop with else" in Python has been explained.

  33. break - In this "break control statement" in Python has been explained.

  34. continue - In this "continue control statement" in Python has been explained.

  35. pass - In this "pass control statement" in Python has been explained.

  36. User input data - In this dynamic allocation of user given input data concept has been explained.

INTERMEDIATE LEVEL :

About

In this major python concept has been covered.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages