Learning to write code was never this easy!
This is a beginner's tutorial for programming in python, targeted towards anyone looking to learn programming and python from scratch. I believe in learning with practice and thus have included several scripts and programs to individually explain basic and intermediate concepts. Moreover, a total of 8 PowerPoint Presentations are included which cover all basic programming concepts, so do refer to them when starting out.
The tutorial outline is as follows:
- Introduction to Programming
- Introduction to Python
- Applications and Syntax
- Learning Outcomes
- Tools and technologies
- Setup environment
- Syntax of a computer program
- Constants & variables
- Data types
- input()/print() statement
- Arithmetic operators
- Logical operators
- Conditional statements
- Data Structures (list, tuple, dictionary etc.)
- Loops (for, while)
- Functions (built-in functions)
- range() function - for loop
- Break and continue statements
- File manipulations
- Input from text file
- Using loops to read text file content
- Writing to text file
- Using with statement - context management (to destroy file handles and call garbage collector)
- Modules - Installation & Use
- Import statement
- Math module (with basic functions)
- Dealing with Exceptions
- Try … except
- Object oriented Programming
- Basics of classes and objects
- Numpy
- Pandas
- Matplotlib
This repository is open to all members of the GitHub community. Feel free to submit a pull request or provide feedback on this tutorial.
Star this repository if you had fun with python!