This guide assumes a fresh install of Mac OSX 10.7 Lion.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<App> | |
<Skin path="env/skins/master.png" name="master"> | |
<Bitmap name="PlayButton" x="20" y="20" w="100" h="20"/> | |
<BitmapList name="SponsorFlags"> | |
<item x="20" y="20" w="20" h="20"/> | |
<item x="20" y="40" w="20" h="20"/> | |
<item x="20" y="60" w="20" h="20"/> | |
<item x="20" y="80" w="20" h="20"/> | |
</BitmapList> | |
<ToggleSkin name="playerPlateVoteBtn" x="500" y="600" w="182" h="29" xLeft="10" xRight="10"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pexpect | |
class BashProcess: | |
"""A class for running persistent bash processes.""" | |
def __init__(self): | |
self.shell = pexpect.spawn('/bin/bash', encoding='utf-8', timeout=300) | |
self.shell.expect_exact('$') | |
self.shell.sendline("\n") |