I would like to get the current time in Python and assign them into variables like year, month, day, hour, minute>
year
month
day
hour
minute>
Here's a one-liner that comes in just under the 80 char line max.
import time year, month, day, hour, min = map(int, time.strftime("%Y %m %d %H %M").split())