Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structure of Quick recap on Python basics #4

Open
s-weigand opened this issue Jan 31, 2019 · 0 comments
Open

Structure of Quick recap on Python basics #4

s-weigand opened this issue Jan 31, 2019 · 0 comments
Assignees
Labels
help wanted Extra attention is needed and should be discussed topic-collection Collection of topics to teach

Comments

@s-weigand
Copy link
Member

s-weigand commented Jan 31, 2019

Lets collect topics on what should be taught as 'basic python knowledge', so everyone knows what is talked about. This might be extended as we prepare new material and topic chapters.

Helping yourself:

    • help()
    • type()
    • dir()

Buildin types and how to work with them:

    • classes
      primitives
    • int
    • bool
    • float
    • complex
      iterables
    • strings
      • string
      • r-string
      • f-string
      • b-string
    • list
    • dict
    • tuple
    • set

Important Buildin fuctions and operators:

full list here

    • print()
    • len()
    • repr()
      conditions
    • all()
    • any()
    • isinstance()
      numbers
    • abs()
    • round()
    • floor division ( // )
    • modulo ( % )
    • divmod()
    • min()
    • max()
    • sum()
      files/buffers
    • open()

Error handling

    • try
    • except
    • finally
    • else

Looping Techniques:

    • for and while loops
    • looping over iterables
    • looping helperfunctions
      • enumerate(),
      • zip(),
      • range()

Using your own functions, iterators and classes:

    • defining a function
    • variable scope
    • mutability
    • recursive functions
    • lambda functions
    • defining an iterator
    • comparing function and iterator
    • contextmanagers
    • list comprehensions
    • decorators
    • defining a class
      • method
      • staticmethod
      • classmethod
@s-weigand s-weigand added topic-collection Collection of topics to teach help wanted Extra attention is needed and should be discussed labels Jan 31, 2019
@s-weigand s-weigand self-assigned this Sep 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed and should be discussed topic-collection Collection of topics to teach
Projects
None yet
Development

No branches or pull requests

1 participant