Press ESC to close

Or check our Popular Categories...
1 Min Read
0 20

Python Dictionaries are similar to key and value arrays, in that you specify the key name along with a value. person = {‘Name’: ‘Katie’, ’email’: ‘katie@myemailaddress.com’, ‘Age’: ’25’}; print “person[‘Name’]: “, person[‘Name’]; print “person[‘Age’]: “, person[‘Age’]; print “person[‘Email’]: “, person[‘Email’];

Continue Reading
1 Min Read
0 13

Creating a list in Python is much like creating an array in PHP or C++. To print a list you can simply access the number of the ID just like a dimensional array. Or specify two arguments x:x. In the…

Continue Reading
1 Min Read
0 15

Datetime module from the python standard library. #Importing the string module import time #lets get the UNIXTIMESTAMP or seconds from epoch which is 1/1/1970 00:00:00 import time time.time() #Days since epoch time.time()/(60*60*24) #3 ways to print the current date in…

Continue Reading