Skip to content

Honey20/Python

Repository files navigation

Contents Covered

Installing JupyterLab or Jupyter Notebook: https://jupyter.org/install

Introduction to Python

  • Introduction
  • Installation
  • Scripts vs Modules
  • Reserved Words
  • Indentation
  • Comments
  • Variables
  • Data Types
  • input() Function
  • Output Formatting
  • Operators
  • Booleans
  • if-else
  • while Loop
  • for Loop
  • Strings
  • is vs ==

List

  • Access list item
  • Iterating over a list
  • List Slicing
  • Change list items
  • List Methods
  • Nested Lists
  • sort() vs sorted()
  • Operator Module Functions
  • List Comprehensions

Sets

  • Access Set Items
  • Add items to set
  • Remove Item
  • Loop items
  • Set Methods

Tuples

  • Access tuple values
  • Change tuple values
  • Packing and Unpacking a tuple
  • Loop through a tuple
  • Join tuples
  • Tuple Methods

Dictionary

  • Creating a dictionary
  • How dictionaries are stored in memory
  • Access items in dictionary
  • Loop through a dictionary
  • Add items to dictionary
  • Change items in dictionary
  • Remove items in a dictionary
  • Copy a dictionary
  • Sorting a dictionary
  • Nested Dictionaries
  • Dictionary Methods

Collections Module

  • deque
  • defaultdict
  • Counter
  • OrderedDict

Functions and Modules

  • Iterators
  • Functions
  • dir() Function
  • filter() Function
  • Modules (os, sys, time, math)

Error and Exceptions

  • Syntax Errors
  • Exception Hierarchy
  • Using try except
  • default exception block
  • finally block
  • else
  • raise an exception
  • assert keyword

File Handling

  • Reading File
  • Writing to a file
  • Questions on File Handling

OOPS Concept (Part 1)

  • init method
  • self parameter
  • Types of variables: class and instance
  • Types of methods: instance, class and static
  • str and repr methods
  • Some examples and questions on OOPS concept

About

Study Material for Python Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published