My first python program: can you tell me what I'm doing wrong?
<p>I hope this question is considered appropriate for stackoverflow. If not, I'll remove the question right away.</p>

<p>I've just wrote my very first python program. The idea is that you can issue a command, and it's gets sent to several servers in parallel.</p>

<p>This is just for personal educational purposes. The program works! I really want to get better at python and therefore I'd like to ask the following questions:</p>

<ol>
<li>My style looks messy compared to PHP (what I'm used to). Do you have any suggestions around style improvements.</li>
<li>Am I using the correct libraries? Am I using them correctly?</li>
<li>Am I using the correct datatypes? Am I using them correctly?</li>
</ol>

<p>I have a good programming background, but it took me quite a while to develope a decent style for PHP (PEAR-coding standards, knowing what tools to use and when).</p>

<p>The source (one file, 92 lines of code)</p>

<p><a href="http://code.google.com/p/floep/source/browse/trunk/floep" rel="nofollow">http://code.google.com/p/floep/source/browse/trunk/floep</a></p>
