我想获得当前时间在Python,并将它们分配到像变量year,month,day,hour,minute.如何在Python 2.7中完成?
year
month
day
hour
minute
python time datetime python-2.7
datetime ×1
python ×1
python-2.7 ×1
time ×1