get text input from shell cursor

Reply

Join Date: Jan 2007
Posts: 6
Reputation: ribot is an unknown quantity at this point 
Solved Threads: 0
ribot ribot is offline Offline
Newbie Poster

get text input from shell cursor

 
0
  #1
Jan 2nd, 2007
Hello!

I'm trying out the python irclib and it's working fine. I have noticed that when I run my program there is a text cursor displayed under the outputs from print. I can print text there and nothing happens. I wonder how I can use this printed text in my program???

Note that I'm not looking for the normal input() function, that pauses the program and waits for the user input. Because my program is connected to an IRC chat server, I want to be able to get user input in real time.

(I'm new to python and only using the basics with the shell, and want this function working for default input on a 'normal' linux machine. In other words, it should work with basically any python interface.)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC