Re: [Tutor] need help opening a file in idle

2009-05-24 Thread Alan Gauld
Meital Amitai meital.ami...@gmail.com wrote I am not sure how to open a file in my computer in idle. You need to be clear what you are doing. You are not opening the file in IDLE you are opening the file in Python. IDLE is just the tool you use to write Ptython programs. For my python class

[Tutor] need help opening a file in idle

2009-05-23 Thread Meital Amitai
Hi everyone, I am not sure how to open a file in my computer in idle. For my python class the homework states to write a function that accepts the name of a file and returns a tuple containing the number of lines, words and characters in the file. My problem is how do I get idle to first accept

Re: [Tutor] need help opening a file in idle

2009-05-23 Thread bob gailer
Meital Amitai wrote: Hi everyone, I am not sure how to open a file in my computer in idle. For my python class the homework states to write a function that accepts the name of a file and returns a tuple containing the number of lines, words and characters in the file. My problem is how do I