Re: [Tutor] Invoking python script

2013-02-17 Thread Oscar Benjamin
On 17 February 2013 15:57, Alan Gauld wrote: > On 17/02/13 09:14, Brajesh pant wrote: >> >> Actually i want to build a utility such that a when a file or folder > >> is copied i want to automatically run my python script .. >> > > And this is a far different thing because you specifically want to

Re: [Tutor] Invoking python script

2013-02-17 Thread Alan Gauld
On 17/02/13 09:14, Brajesh pant wrote: Hello there .. I want to know is there any python module which can tell > when a cut command or copy command is invoked. There are but probably not trivially. but you need to understand what you are asking for. A cut/copy command is a desktop environment

Re: [Tutor] Invoking python script

2013-02-17 Thread Steven D'Aprano
On 17/02/13 20:14, Brajesh pant wrote: Hello there .. I want to know is there any python module which can tell when a cut command or copy command is invoked. Invoked by what? What program is doing the copy or cut? Actually i want to build a utility such that a when a file or folder is copied

[Tutor] Invoking python script

2013-02-17 Thread Brajesh pant
Hello there .. I want to know is there any python module which can tell when a cut command or copy command is invoked. Actually i want to build a utility such that a when a file or folder is copied i want to automatically run my python script .. Thanks Brajesh Pant _