import datetime

2006-01-31 Thread shaboo
Hi Guys,

I have just installed Python2.4.2 on our HP-UX system. But when I try
to import datetime modlue I get the following error

~~~
>>> from datetime import datetime
Traceback (most recent call last):
  File "", line 1, in ?
ImportError: No module named datetime
~~

Am I missing any path? because I tried to import 'textwrap module and
that import worked fine. 

Any help will be appreciated.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: import datetime

2006-02-01 Thread shaboo
It does say Python 2.4.2

Python 2.4.2 (#2, Jan 30 2006, 20:02:09) [C] on hp-ux11
Type "help", "copyright", "credits" or "license" for more information.
>>>


I did look at the sys.path but the issue is that I dont see a module
name datetime anywhere. Only datetime thing that is there is in include
directory and it is datetime.h, which I think is for C interface. I
have a python installed on my Windows desktop and it is working fine
there. Where is the datetime module stored? Does any body know?

-- 
http://mail.python.org/mailman/listinfo/python-list