FURTHER PYTHON | USEFUL PYTHON METHODS
|
|
FURTHER PYTHON | USEFUL PYTHON METHODS
|
|
import datetime # Get the current time and store as a date/time format in the variable current_time current_time = datetime.datetime.now() # Printing value the current hours and minutes print ("The current time is " + str(current_time.hour) + ":" + str(current_time.minute))
import os password = os.environ.get("myPassword") print (password)
SUGGESTIONS
We would love to hear from you |
SUBSCRIBE
To enjoy more benefits |