ycbq999 / functions-from-zero

A repo to learn functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Codespaces Prebuilds

CI

functions-from-zero

A repo to learn functions!

Step 1: Configure Development environment

  • Configure GitHub Codespaces or the equivalent(Cloud9, etc)
  • Create acaffold for the structure of project:makefile,requirements.txt
  • Optional (setup virtualenv) (install ipython outside of requirements.txt)
    virtualenv ~/.venv vim ~/.bashrc source ~/venv/bin/activate

Step2: Get interactive debugging working

  • Use IPython and ipdb

    x = 1
    y = 2
    import ipdb; ipdb.set_trace()
    print(x + y)

Step3: Build a library and use it

About

A repo to learn functions

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 80.5%Language:Shell 11.4%Language:Makefile 4.9%Language:Dockerfile 3.3%