Modules in Python PRO

I have just completed to update the modules topic in my Python Fundamentals course. You can find its community version available for free personal usage at www.abelski.org. The slides are available for free download. The professional version is available at www.abelski.com.You can find below the new video clips I have just completed to create in […]

Functions in Python PRO

I have just completed to update the functions topic in my Python Fundamentals course. You can find its community version available for free personal usage at www.abelski.org. The slides are available for free download. The professional version is available at www.abelski.com. You can find below the new video clips I have just completed to create […]

Lambda Expressions in Python PRO

Using the lambda keyword we can define an anonymous function. Unlike using def, when using lambda we can have one single expression. We cannot have a block of statements. ob = lambda a,b,c:a+b+c print(ob(1,2,3)) The following video clip provides more explanation about lambda expressions in Python.

The nonlocal Keyword in Python PRO

Python 3.0 introduces the nonlocal new reserved word. Using this new reserved word we can assign directly to a variable with the same name in the outer scope (instead of creating a new variable). def a(): temp = 2 def b(): nonlocal temp temp = 4 print(“temp inside b “,temp) b() print(“temp inside a “,temp) […]

Skip to content Update cookies preferences