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
I guess it’s not a simple python server. It is really simple and easy to deploy python server. Just imagine you want to share a folder on your pc with someone on your network. What you will do ? Continue reading A simple python server
Okay so this is kinda new for some of us. If you are a seasoned programmer then this might not be surprising for you but if you are a new programmer then this is something you really need to know. Okay so here we go. Continue reading In-place value swapping
Hi there! Today, I am beginning my very own personal blog related to Python. Let me first tell you who I am. I am a computer programmer from Pakistan. I have made a lot open source contributions. I have contributed mainly to youtube-dl. Continue reading The beginning of a new blog.