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 something else just use your evil mind. Okay so how do we generate a random string. Have you ever heard of the ...!--more-->
read more-
-
What is __init__.py ?
July 28, 2013Okay 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 ?Files name __init__.py are used to mark directories on disk as Python package directories. If you have the files
read moremydir/spam/__init__.py ...
-
The with statement
July 28, 2013So 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 you are opening a file width python and then ...!--more-->
read more
« Page 8 / 8