This file contains hidden or 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
| # This example shows the basic usage of the vaods9 module | |
| # first of all, let's import the vaods9 module. | |
| import vaods9 | |
| # let's get an instance of a new ds9 client (if an hub is not running, a new one is started). | |
| client = vaods9.Client() |
This file contains hidden or 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 sampy | |
| import urlparse | |
| import os | |
| def ds9echo(response): | |
| print response | |
| class Client(sampy.SAMPIntegratedClient): | |
| def __init__(self, |