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
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
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
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
_
On Thu, 2008-06-26 at 09:57 -0400, bhaaluu wrote:
> You can create a Python script on a *nix system and run it with:
>
> $ python threeplusfour.py
>
> You can place a shebang line as the first line of the script, which points
> to the python interpreter:
>
> #!/usr/bin/python
> print("Hello, wo
On Thu, Jun 26, 2008 at 9:53 AM, Cédric Lucantis <[EMAIL PROTECTED]> wrote:
> Le Thursday 26 June 2008 15:37:01 kinuthiA muchanE, vous avez écrit :
>> On Thu, 2008-06-26 at 12:00 +0200, [EMAIL PROTECTED] wrote:
>> > Or more commonly add a first line like:
>> >
>> > #! /path/to/python/executable
>>
You can create a Python script on a *nix system and run it with:
$ python threeplusfour.py
You can place a shebang line as the first line of the script, which points
to the python interpreter:
#!/usr/bin/python
print("Hello, world!\n")
Save the file, then make it an executable with:
$ chmod u+
Le Thursday 26 June 2008 15:37:01 kinuthiA muchanE, vous avez écrit :
> On Thu, 2008-06-26 at 12:00 +0200, [EMAIL PROTECTED] wrote:
> > Or more commonly add a first line like:
> >
> > #! /path/to/python/executable
> >
> > Then you can simply make the file executable and run it by typing its
> > nam
On Thu, 2008-06-26 at 12:00 +0200, [EMAIL PROTECTED] wrote:
> Or more commonly add a first line like:
>
> #! /path/to/python/executable
>
> Then you can simply make the file executable and run it by typing its
> name
>
> $ threeplusfour.py
On my computer, running Linux Ubuntu, I always have t
"kinuthiA muchanE" <[EMAIL PROTECTED]> wrote
From the forward slashes in the file path I assume you are
using a Linux based OS
you need to to start the terminal or the shell. In Ubuntu, go to
Main
Menu ==> Accessories and click on Terminal, you will now have a new
window open with somethin
On Tue, 2008-06-24 at 11:11 -0700, Danny Laya wrote:
> ... or you could start you fire up a text editor (something like
> Notepad
> in Windows, or nano in Linux and type "3+4"(without the quotes!),
> hmmm..., and save the file as anything you want, lets say for now you
> save the file as "threeP
> > -Original Message-
> > Date: Fri, 8 Jun 2007 00:19:39 +0100
> > From: "Alan Gauld" <[EMAIL PROTECTED]>
> > Subject: Re: [Tutor] Invoking Python from Vim
> > To: tutor@python.org
> > Message-ID: <[EMAIL PROTECTED]>
> &
> -Original Message-
> Date: Fri, 8 Jun 2007 00:19:39 +0100
> From: "Alan Gauld" <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] Invoking Python from Vim
> To: tutor@python.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; format=flowe
"Matt Smith" <[EMAIL PROTECTED]> wrote
> Do any Vim users have a better way of running a Python program while
> it
> is being edited in Vim?
My personal preference is to have 3 windows open:
1) gvim for editing the files
2) a console for running the files using command recall to do so
3) a con
On Thursday 07 June 2007, Matt Smith wrote:
> Hi,
>
> Bit of a Vim specific question this one but I hope someone might have an
> answer. I currently have the following line in my .gvimrc file (I'm
> using Ubuntu Linux):
>
> map :!gnome-terminal -e=python\ -i\ %
>
> This opens a window and runs the
Hi,
Bit of a Vim specific question this one but I hope someone might have an
answer. I currently have the following line in my .gvimrc file (I'm
using Ubuntu Linux):
map :!gnome-terminal -e=python\ -i\ %
This opens a window and runs the Python program I am working on. I don't
really like the fa
16 matches
Mail list logo