Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python input/output

Name: Anonymous 2013-08-08 10:30

Ok, let's see if I only get flamed for asking this or if you guys come up with some useful advice.

Basically I'm writing an interface to an irc client in python and need it to continiously print output of stdout (handle acquired with subprocess' Popen) in one area of the terminal, while waiting for input in another area of the terminal. I tried achieving this by using the multiprocessing module and ansi escape codes to push the output up one line and save/restore the cursor position. But both failed me. Pls halp.

Name: Anonymous 2013-08-08 10:33

SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT SHIT

Name: Anonymous 2013-08-08 10:47

ncurses you braindead /g/ shitstain

Name: Anonymous 2013-08-08 10:49

I was trying to avoid it. Are there smaller alternatives or is it really the only way to go? Also, despite the insult, thank you for some actually useful feedback.

Name: Anonymous 2013-08-08 10:50

Are you seriously looking for "smaller alternatives" when you're already requiring the entire Python runtime and standard library?

Name: Anonymous 2013-08-08 10:51

lol to see shitfags thinking putting 'sage' anywhere in a field actually works

Name: Anonymous 2013-08-08 10:53

>>5
Yeah, I'm seriously doing that. Keeping the program at runtime + standard library and not require extra libraries would be nice. Though it's not a must.

Name: Anonymous 2013-08-08 11:06

(launch 'eginmode)

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: Anonymous 2013-08-08 11:07

>>4
i can show you a 900-posts sagebomb, but it's no use when you're a little /g/ shithead who can't do anything except spewing e/g/in ``memes'' and thinks sage is some kind of insult

kindly fuck off back to the ima/g/eboards

Name: E/G/IN /G/ROSKI 2013-08-08 11:07

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:08

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: 18 2013-08-08 11:09

that was for >>6 too, obviously, but they're the same person anyway

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: E/G/IN /G/ROSKI 2013-08-08 11:09

Name: E/G/IN /G/ROSKI 2013-08-08 11:09


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List