Tag - python


How to edit PYTHONPATH on Windows

You are here because you’re using: Windows OS version 10+ Python version 3.3+ Anaconda3 And you’d wish to edit your PYTHONPATH permanently. TL;DR...


Indentation in Python with Examples

It is generally good practice for you to not mix tabs and spaces when coding in Python. Doing this will possibly cause a TabError, and your program will crash...


How to Substring a String in Python

Python offers some ways to substring a string. it’s often called ‘slicing’. It follows this template: Where, start:  The starting index of the substring...