Posts by Vimal Pandey

Author Biographical Info: Not available

Does Python have a ternary conditional operator

By Vimal Pandey

Hello everyone. In this post, we are going to learn about the ternary conditional operator in Python. Before starting we have a question, does Python have this operator? The answer.... Read More

Check is a string starts with a particular substring in Python

By Vimal Pandey

In this post, we will learn to check is a string starts with a particular substring in Python? Suppose a task of writing an essay is assigned with condition that it must start with.... Read More

Split a string on last occurrence of delimiter or separator in Python

By Vimal Pandey

Splitting of the string is a process in which the whole string is broken down into parts. It may have many uses in programming while making software. But here we will split a strin.... Read More

isprintable() method in Python

By Vimal Pandey

Hello programmers. In this post, we will learn about the use of isprintable() method in Python. In Python isprintable() is an inbuilt function for handling string. It checks whethe.... Read More

Check if a string is a valid URL or not in Python

By Vimal Pandey

Hello programmers, in this post we will learn how to Check if a string is a valid URL or not in Python. Python provides different modules that make it easy to write code in compari.... Read More

How to call an external command from Python

By Vimal Pandey

In this tutorial post, we are going to learn how to call an external command from Python. External commands are those command which we run on our command prompt in windows. Example.... Read More

__name__ in Python

By Vimal Pandey

As we know that Python does not have a main() function like C and C++. When the interpreter runs the program, code at level 0 indentation(very first line) starts executing. Before .... Read More

What does if __name__ == “__main__”: do in Python

By Vimal Pandey

Hello guys. In this tutorial we will learn that what does if __name__ == “__main__”: do in Python. if __name__ == “__main__”  in Python prevents the speci.... Read More

Related Posts