[Tutor] Invoking python script

Steven D'Aprano steve at pearwood.info
Sun Feb 17 11:13:17 CET 2013


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 i want to automatically run my python script ..

That depends on what facilities your desktop environment is running. You
may not even have a desktop environment. What are you running?

Irix Interactive Desktop
Apple Finder
TDE/KDE 3
KDE 4
Gnome
CDE
XFCE
LXDE
ROX
IceWM
Sugar
Cinnamon
Mezzo

to mention only a few.



-- 
Steven


More information about the Tutor mailing list