On 1 March 2012 09:18, Jan Dudík <jan.dudik@gmail.com> wrote:
I don't know, how to run these lines in python - I created file a.py
containing this, but after run there is no output.

The easiest way is starting python via cmd (c:\python25\python.exe or c:\python26\python.exe or ...), then to type/paste those two lines. You can close the interpreter by calling exit().
 
Usually I write my commands to commandline in total commander or via cmd.
Is there any difference between using totalcmd and cmd?

Best,
Merlijn