Hi there pythonistas. Most of the new python programmers don’t know how to correctly install python on windows. Today I am going to share clean and clear instructions on how to install Continue reading Setting up python on windows
Oh hi there! Welcome to another useful post. This post is going to be about how to package your python scripts and packages for distribution on PyPI or some other place. Continue reading Packaging your python scripts.
Okay here we are with yet another post. However this post is going to be short as in this post i am going to teach you a small, simple and very useful trick. Have you ever tried to access a value from a Continue reading Dictionaries have a get() method
Okay so here we have another post. This post is about the return keyword. you might have encountered some functions written in python which have a return keyword in the end of the function. Do you know what it does ? Continue reading The use of return and global keywords.
Okay, so, most of us do not know how to generate random strings which include letters and digits. This can be really useful for generating a password (or, you know, stuff to aid you in your plan for world domination). So how do we Continue reading Generating a random string.
Okay yet another useful post. This post is really important and useful for anyone just starting out with python. So what is the
__init__.py file ? Continue reading What is __init__.py ?
So the chances are that you already know about the with statement but some of us do not know about it. Lets face the reality the with statement saves us a lot of time and reduces our code base. Just imagine Continue reading The with statement