PythonService file creation

Dale Burnett denalione at my-deja.com
Mon Jul 10 15:16:03 EDT 2000


In article <8F6D93D27gmcmhypernetcom at 199.171.54.154>,
  gmcm at hypernet.com (Gordon McMillan) wrote:
> Dale Burnett wrote:
>
> >When running my app at the command prompt using the debug option I
can
> >create a new file and write to it.  When the app is started via
Control
> >Panel/Services the file is not created and written too.  I have used
the
> >python native file functions and the NT api CreateFile() function.  I
> >have tried running the service using the System Account with Interact
> >with Desktop checked and specifying an account.
> >Any suggestions?
>
> Besides the account it's running under, the only other problem I can
think
> of is relying on some (mistaken) notion of what the current directory
is.
>
> I've written files from services, so I know there's no showstopper.
>
> - Gordon
>


Do you happen to have a code snippet handy?


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list