Skip to content

Nayanpatel48/python-code

Repository files navigation

Python Topics and File Operations

File Operations

01_one.py

  • Read, write, and open files

02_two.py

  • Read and write binary files
  • Exception handling

Statistics & Exploratory Data Analysis

  • Libraries and tools:
    • pandas
    • numpy
    • matplotlib
    • Scikit-learn
    • Jupyter Notebook

Python Basics by Topics

01_one.py: Strings

  • Operations with strings

02_two.py: Numbers and Sets

  • Operations with numbers
  • Working with sets

03_three.py: Lists / Arrays

  • Basic and advanced operations with lists/arrays

04_four.py: Dictionary

  • Manipulating dictionaries

05_five.py: Tuples

  • Handling immutable tuples

06_six.py: Conditional Statements and User Input

  • if conditions
  • Input from the user
  • String concatenation

07_seven.py: Loops

  • Loop-related exercises and questions

08_eight.py: Experiment

  • Space for experimentation

09_nine.py: Functions and Lambdas

  • Function types: void and returning
  • Lambda functions
  • Special arguments: *args and **kwargs
  • yield for generators
  • Recursive functions

10_ten.py: Object-Oriented Programming (OOP)

  • Classes and objects
  • __init__ constructor
  • super()
  • Encapsulation and private variables
  • Getter and setter methods
  • Polymorphism
  • Class variables and static methods
  • Property decorators
  • Class inheritance and the isinstance() function
  • Multiple inheritance

11_eleven.py: Decorators

  • Writing and using decorators

12_twelve.py: Scopes and Closures

  • Scope resolution
  • global keyword
  • Closures

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published