[Tutor] issue about startup file of python
Mon, 13 Nov 2000 04:16:27 -0800 (PST)
On Mon, 13 Nov 2000, deng wei wrote:
> I am using python in command mode under windows98.
> I don't know how to write a startup file in this situation.
> I always starting python using following methods,assuming the python was
> installed at c:\python.
> >>>import mystartup.py
> How can i do? thanks.
You don't need to append '.py' when you do imports.
should be enough, assuming that 'mystartup.py' is in your c:\>
directory. Hope this helps!