Vuyisile

Python command line interfaces: An overview of argparse.

Command-line or console applications are programs that are designed to be used via a text only interface such as the terminal. Command-line programs accept instructions or commands from their users in the form of flags or switches. Popular command-line applications include: git – A version control system Vim – A text editor and Grep – …

Python command line interfaces: An overview of argparse. Read More »

Exception handling in Python

Exception Handling There are at least two types of errors in the Python programming language: Syntax errors and Exceptions. Syntax Errors Syntax errors are sometimes referred to as parsing errors. These are fatal errors that occur when the code cannot be executed because of incorrect arguments passed to a function, typing or spelling error or …

Exception handling in Python Read More »