Re:



I am reading a only. But what if I want read write and execute that file.

--
Regards,
Jatinder Singh

? Everyone needs to be loved... especially when they do not deserve it.?
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Quoting Tiago Stürmer Daitx <tdaitx@xxxxxxxxx>:

> That depends on what "using" a file means. You could check the thread
> "executing a command" (
> http://mail.python.org/pipermail/python-list/2005-June/283963.html) and see
> if there's something related there, otherwise it would help if you could
> post what exactly you are trying to do (execute a file, open a file, write
> into a file, etc).
>
> Regards,
> Tiago S Daitx
>
> On 6/4/05, Jatinder Singh <jatinder@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Hi guys
> > I am working in a complex directory structure. I want to use a file (not
> > .py)
> > which is in some other directory. I couldn't do it.but if I copy the file
> > in
> > the same directory then it is working fine. Can anybody guide me how and
> > where
> > to add the path of the file. I have tried it with sys.path but it is not
> > for
> > that.
> >
> >
> > --
> > Regards,
> > Jatinder Singh
> >
> > " Everyone needs to be loved... especially when they do not deserve it."
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
>


.



Relevant Pages

  • Re:
    ... Regards, ... But what if I want read write and execute that file. ... >> Tiago S Daitx ... >>> Jatinder Singh ...
    (comp.lang.python)
  • Re: Impersonation code
    ... Best regards, ... > and that application will not execute on the other machines for the same ... >> Simply check out the user contexts of both applications and compare the ... >>> The impersonation of the user is successfully done. ...
    (microsoft.public.dotnet.faqs)
  • Re: Running Package From EM and Scheduler Problem
    ... Spadak ... >> Everything runs fine from designer, after each execute new file is ... >> If there is no file in destination folder new is created but after ... >> Kind regards, ...
    (microsoft.public.sqlserver.dts)
  • Re: Notify from worker thread
    ... Regards ... I wan't to execute a method in main thread ... be run from console app or WebService app. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Exception on select command while access finds it ok
    ... Freek Verstejin ... > This is more MS-centric SQL ... When I try to execute it through OleDb, ... >> Regards, ...
    (microsoft.public.dotnet.framework.adonet)