Last active
December 12, 2015 01:19
-
-
Save JCash/4690489 to your computer and use it in GitHub Desktop.
Python API startup
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
try: | |
from P4 import P4, P4Exception | |
p4 = P4() | |
p4.connect() | |
print p4.client | |
except P4Exception, e: | |
print "P4 Error", str(e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment