Python Basics Part I

October 22, 2019 · View on GitHub

MIT Licensed Awesome       

Python Basics Part I

Important note. In Python course we expect students to be familiar with Python before starting the main part of the course. Here is a list of topics you should be confident with:

  1. Data structures in python.

  2. List and dict comprehensions.

  3. Iterators and generators.

  4. Decorators. How they works? How to build own (function and class based)?

  5. Collections methods (map, reduce, filter, sort) and lambda functions. link and link

  6. OOP basics. What is "Class", object? How to write your own classes. Python OOP, easy peasy explanation of OOP.

    1. init method
    2. self keyword in class methods
    3. @classmethod, @staticmethod decorators link
  7. pip, virtualenv and pipenv

  8. Code style PEP8 or PEP8[RU]

To catch up, you can use the following materials for self-study:

  1. CodingBat: elementary exercises
  2. Practice Python - 36 exercises with solutions for beginners
  3. Python track on HackerRank.

Submission:

  1. In your kottans-backend repo README.md

    • add header ## Python Basics 1
    • add link to your HackerRank profile (profile needs to be public)
  2. In this step your goal is to reach at least 3 stars(Silver) badge and add it to your profile, it`s only 110 points.

  3. If you honestly finished all the previous steps then go ahead and share it with others – post a message in course channel: Python basics 1 — #done and add the link to your repo. This step is important, as it helps mentors to track your progress!

Done?

➡️ Go forward to Memory Management

⤴️ Back to Contents