Skip to content

faizanzafar40/Intro-to-Programming-in-Python

Repository files navigation

Intro to Programming in Python

Learning to write code was never this easy!

Tutorial Description

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.

Tutorial Outline

The tutorial outline is as follows:

Introduction

  • Introduction to Programming
  • Introduction to Python
  • Applications and Syntax
  • Learning Outcomes
  • Tools and technologies
  • Setup environment

Basics of Programming

  • 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

Intermediates of Programming

  • 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

Python for Data Analysis

  • 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!

About

Learning to write code was never this easy!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages