title: python modules: share variables and enable running files
body: <p>sorry for this newbie question.</p>
  
  <p>I've got a <code>client.py</code> and <code>server.py</code> scripts, which I want to use to write a simple socket game. I would like to build a python package out of it. I would like the default host and port to be defined in a central place of the package. Should it be <code>__init__.py</code>? I would like the scripts to be run from the command line. It can be either:</p>
  
  <pre><code>$ ./server.py
  $ ./client.py
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$ ./run.py server
  $ ./run.py client
  </code></pre>
  
  <p>There would be one additional file, e.g. game.py which would hold the game logic. I'm a bit confused about how to organise files into a package in this situation...</p>