Re: [Tutor] YATENJoe

2005-05-17 Thread Andrei
Joseph Quigley gmail.com> writes: > Is there a way of telling Python to make a new line after you press Enter (return)? Return automatically ends the current input line (and therefore starts a new one) when you use raw_input. >> I would suggest that you learn a bit more about Python's facilitie

Re: [Tutor] YATENJoe

2005-05-17 Thread Joseph Quigley
If you intend to make a text editor (something which allows the user to browse through the text and manipulate it at will) using just raw_input and print, I think you've set yourself an impossible task. For a console editor you should probably look at curses (http://www.amk.ca/python/howto/curses

Re: [Tutor] YATENJoe

2005-05-17 Thread Andrei
Joseph Quigley gmail.com> writes: > I want to make a text editor. I know that there are hundreds out there, > but practice makes perfect, and I need the practice. My problem is > that I have no idea how to make one. I've tried a little already by > defining line functions:def line1():l1 =

[Tutor] YATENJoe

2005-05-16 Thread Joseph Quigley
YATENJoe (Yet Another Text Editor, Named Joe) First off, If this isn't the right place to ask, tell me so. That way I won't make this mistake again :-) I want to make a text editor. I know that there are hundreds out there, but practice makes perfect, and I need the practice. My problem is that I