54385/converting-string-into-datetime
You can make use of asctime() method present in the time module.
EXAMPLE:
import time
b=(2019,3,7,10,40,35,1,219,0)
print( time.asctime(b))
OUTPUT:
Tue Mar 7 10:40:35 2019
This is easy. Just use the list() ...READ MORE
You can use the function text.split() This should be ...READ MORE
You can use the ast module Ex: import ast s = """[{'10': ...READ MORE
you are passing the parsed datetime object to ...READ MORE
just by using float() function you can ...READ MORE
The datetime class has a method strftime. strftime() ...READ MORE
The only possible reason I could think ...READ MORE
Use the following piece of code: x1=datetime.timedelta(days=3000, seconds=0, ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.