[p4python] Using the Have command in P4Python

Robert Cowham robert at vizim.com
Fri Mar 6 05:31:49 PST 2009


Hi Tarek
 
Have you checked out the docs?
 
p4 = P4.P4()
p4.host = "some_host"
p4.client = "some_client"
p4.connect()
print p4.run_have()
 
Robert


  _____  

From: p4python-bounces at perforce.com [mailto:p4python-bounces at perforce.com]
On Behalf Of Tarek Moubarak
Sent: 06 March 2009 08:28
To: p4python at perforce.com
Subject: [p4python] Using the Have command in P4Python


Hello all p4pythoners!

I'm new to perforce and I was wondering if anyone could help me in running
the "HAVE" command via python

the command I wrote is:
 
p4.run_have("-H",<hostName>,"-c", <clientName>)

thank you very much  for your help in advance!!
sincerely 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4python/attachments/20090306/ae9334e1/attachment-0001.html>


More information about the p4python mailing list