Monthly Archives: December 2015


To print the current date, we can utilize the datetime module. Dates are objects, like anything in Python. Datetime has several subclasses, which can be confusing at first. Related course: Date Example We can use its method strftime() to change the format. To show the current date (today):

This will show the date in […]


Logging is a very powerful way of validating your program executes correctly. In addition you can use it to debug your program. You can log a process in your program using the module logging. Online Courses Complete Python Bootcamp: Go from zero to hero in Python Complete Python Web Course: Build 8 Python Web Apps […]