datetime Problems in Python IDLE -


i have weird problem. have 2 python 3.4.3 installations - 1 on windows xp, other on windows 7 x64.

only 1 on winxp exhibits these problems:

when open python idle shell, can execute dir(datetime) before import , print attributes (but list shorter on windows 7, after importing datetime).

the following fails in idle, because attribute now not found:

import datetime datetime.datetime.now() 

the regular python command prompt works fine.

it seem idle has version of datetime imported, differs standard datetime module.

unfortunately, not have access xp machine right now, can't run tests right now. same problems present on windows 7 machine, aren't.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -