Python
A collection of 10 posts

Add Multiline Comments in Python
Python does not support multiline comments by default. However, you can use the docstring feature to achieve that.
· Prakhar Tiwari

Clearing Pip Cache
Cleaning Pip cache helps you in troubleshooting and getting fresh Python packages.
· Sagar Sharma

Run Python Scripts in Linux Command Line
This quick tip shows how to run Python programs from the Linux command line.
· Pratham Patel

5 Examples of Python While Loop
Wondering how to use while loop in Python? These 5 code snippets show how while loop is used in Python scripts.
· Ankush Das

Python Basics: How To Print in Python?
See how to print something in python. Also learn how to avoid some common mistakes while printing in Python.
· Ankush Das

Check if String Contains a Substring in Python
In this Python tutorial, you'll learn various methods to check for substring inside a string with proper code examples.
· Ankush Das

For Loop in Python Explained With Practical Examples
Learn the concept of for loop in Python with these practical examples.
· Ankush Das

Learn Python For Free With These Courses and eBooks
Wondering how to learn Python for free? We list some of the best Python courses and books that you can use to learn Python online without spending any money.
· Ankush Das

3 Ways to Write a List to a File in Python
This quick tutorial demonstrates three methods to write a list to a file in Python scripting language.
· Abhishek Prakash

Executing Shell Commands with Python
A sysadmin would need to execute shell commands in Python scripts. Learn how to execute shell commands in Python.
· Abhishek Prakash