debug:

  • import pdb
  • breakpoint : pdb.set_trace()
  • step in : s
  • step over : n
  • return out of function : r
  • next breakpoint : c

LAMBDA:

>>>g = lambda x: x*2  1
>>>g(3)
6
>>>(lambda x: x*2)(3) 2
6

INSTALL SETUP TOOLS:

  • IN POWERSHELL : (Invoke-WebRequest https://bootstrap.pypa.io/ez_setup.py).Content | python -

INSTALL PACKAGES: