I don't run in python, but you can almost certainly have the python script read from stdin, write to stout, and use shell redirection to attaché the files.
Something like python abc.py < A-small.in > A-small.out Paul Smith [email protected] On Fri, Apr 13, 2012 at 7:09 PM, vivek dhiman <[email protected]> wrote: > Hi all python lovers .. > so my question is .. i guess to every one who is running python on windows > > How r u running python programs? > I think of 1 case > 1st case > 1. you write code in a file(say abc.py) using notepad++/jedit > 2. then go to cmd prompt.. type python abc.py and run.. > but how do you give "in and out" files ? > Are you defining variable inside the code i mean one file variable for " in" > and one for "out" and fixing the file names. Are you doing this ? > or are you doing something else?? > > Or are you doing something totally different from command line ?? > > Just help me out saying that you do it like this .. or may be if u have some > youtube video link or something that is also ok.. > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
