Learn how to use Python’s ternary operator to create powerful “one-liners” and enhance logical constructions of your arguments.
David Blaikie is a New York City-based engineer and trainer. He has taught Python, Advanced Python, Perl, and Advanced Perl at New York University’s School of Professional Studies, and has conducted corporate Python training for companies such as Google, Cisco, and Bloomberg, as well as for the U.S. Navy. David has been a release engineer at Google and a software developer for AppNexus, Conde Nast, and several startups. He is also the author of the bestselling O’Reilly book “Python Beyond the Basics: Object-Oriented Programming”. David’s contact information can be found at clearpython.com.
In Python, can I create a global variable inside a function and then use it in a different function?
Learn to make variables globally available from within a function, as well as the associated risks and caveats.
Learn to locate files using the os.path.isfile() function in Python.
Learn how to harness Python’s power by triggering external processes and programs, and capture or routing the resulting output.