In Python, the models and alignments (and sequence databases, densities, etc.) are explicit, and are represented by classes. You can have as many models or alignments as you like, provided you have enough memory. Commands are simply methods of these classes. For example, consider the following:
env = environ() aln = env.alignment() aln.align(gap_penalties_1d=(900, 50))This creates a new instance of the environ class (as above, this is used to provide default variables and the like), and calls it 'env' (you can call it whatever you like). This is then used to create a new alignment class object, called 'aln'. The following align() command then operates on the 'aln' alignment object. (Note, however, that new alignments are empty, so this example wouldn't do anything interesting.)