You could use <.in files and >.out files from the command line (eg. "python
hello.py<bla.in >bla.out" didn't test it though), else you can use the
corresponding file operations (just google "reading a file in python")

On Fri, Apr 13, 2012 at 11:39 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.
>



-- 
With Regards

Nischay Nahata
B.tech 3rd year
Department of Information Technology
NITK,Surathkal

-- 
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.

Reply via email to