944,052 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Unsolved
  • Views: 3562
  • Python RSS
Jan 2nd, 2007
0

get text input from shell cursor

Expand Post »
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.)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ribot is offline Offline
19 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Center a Tkinter Window
Next Thread in Python Forum Timeline: Dictionary -- states and their capitals





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC