/PyNotes

Notes on Python

Primary LanguagePythonMIT LicenseMIT

README

This collection on notes contains:

Data structures and methods

  • Lists: methods, list comprehension, sorting
  • Dictionaries: methods, dictionary comprehension, sorting
  • Strings
  • Tuple
  • Sets
  • Comprehensions

Methods

  • Map, Filter, All, Any
  • Lambda function
  • Zip
  • Sort

Files

  • Reading and writing files
  • JSON files
  • Files manipulation

Image manipulation

  • Matrix manipulation: creating and editing a matrix
  • Image operations: cut, paste, crop and image filters (grey, blur, contrast, lumi, lens, random, pixelation)

Intermediate Python

  • Generators
  • Decorators
  • Mutations
  • One-liners
  • Exceptions