|Wild_Cat||Taggnostr: even then, chances are BS'll be much easier to use.|
it's a standard module?
|Wild_Cat||(heck, if you *really* want an actual XML parser, ElementTree is what you should be using)|
Taggnostr: nope. http://www.crummy.com/software/BeautifulSoup/
|Wild_Cat||it should be part of the standard library IMO. It's brilliant.|
|fabulouswilly||whats that command to show a modules functions? can't remember it...|
get a tatoo
|MC_Breit||cracki crackwitz sal|
komsch auch nimmer ins euirc?
|lord_rob||Am I forced to treat exceptions in Python (like in Java) ?|
|MC_Breit||if you don't want your program to exit|
|lord_rob||ok but I won't get syntax error, that's all I wanted to know|
but given my script won't even be compiled, that was a silly question ...
|Yhg1s||lord_rob: Python does compile.|
fabulouswilly: use help() or the inspect module, not dir().
|doppelgaenger||Hi Itry to use Paramiko and got use the demo scripts and got the keys authenticating and the transmission instance up however struggling to send a command to the channel using chan = t.open_session()|
cmd = chan.exec_command('ls')
Any help what's wrong just get a none as cmd printout
|lord_rob||Yhg1s: each time I start my script.py (./script.py <args>) it is compiled in memory then executed then ?|
|lord_rob||oh didn't know that|
|Yhg1s||doppelgaenger: that's what a channel's 'exec_command' does.|
doppelgaenger: as the docs say, the output goes to your current process's stdout/stderr (and input comes from stdin), if possible.
doppelgaenger: you probably want to use SSHClient.exec_command instead. that returns three channels.
|doppelgaenger||Yhgls would you mind to give me please an example I am a beginner and struggle to find the right approach|
|insanekane||Brend: got anyone for your $500 website ?|
|doppelgaenger||I exactly struggle with this " as the docs say, the output goes to your current process's stdout/stderr (and input comes from stdin), if possible."|
|Yhg1s||doppelgaenger: I'm not sure what you're asking for.|
doppelgaenger: I can't put it any different than that.
doppelgaenger: have you read the docs?
doppelgaenger: you can't "capture" the output of a remote command if you use Channel.exec_command. If you need to capture the output, don't use Channel.exec_command. Use SSHClient.exec_command.
it's an entirely different exec_command.