Python 101

Python 101 – Launching Subprocesses with Python

There are times when you are writing an application and you need to run another application. For example, you may need to open Microsoft Notepad on Windows for some reason. Or if you are on Linux, you might want to run grep. Python has support for launching external applications via the subprocess module. The subprocess …

Python 101 – Launching Subprocesses with Python Read More »

Python 101 – Exception Handling

Creating software is hard work. To make your software better, your application needs to keep working even when the unexpected happens. For example, let’s say your application needs to pull information down from the Internet. What happens if the person using your application loses their Internet connectivity? Another common issue is what to do if …

Python 101 – Exception Handling Read More »