7 messages in com.perforce.perforce-user[p4] Perforce from Python on Windows
FromSent OnAttachments
Matthew Henry19 Apr 2004 08:45 
Ling Lo19 Apr 2004 09:29 
Janulewicz, Matthew19 Apr 2004 09:58 
Bennett, Patrick19 Apr 2004 10:38 
jab19 Apr 2004 11:14.bin
Tetlow, Gordon19 Apr 2004 11:51 
Janulewicz, Matthew19 Apr 2004 12:03 
Subject:[p4] Perforce from Python on Windows
From:Ling Lo (Li@argonaut.com)
Date:04/19/2004 09:29:37 AM
List:com.perforce.perforce-user

Instead of using the below module, you can use p4 -G to get the results as Python marshalled objects.

Hope this helps, Ling

-----Original Message----- From: Matthew Henry [mailto:matt at iliumsoft.com] Sent: 19 April 2004 16:46 To: perforce-user at perforce.com Subject: [p4] Perforce from Python on Windows

I am trying to do some Perforce-centric activity using Python 2.3 on Windows XP.

I went to Perforce's site and downloaded p4.py, P4Clientmodule.cc, review.py, and p4api.tar. Looking at the P4Clientmodule.cc's meager "installation instructions" it looks like I need to compile it. I'm sorta stuck on how to do that. Do I need to download gcc and/or cygwin? Suddenly this is starting to sound like real work.

I feel a tad dense, but I've been out of the Unix world for many years, so having to compile something just to install it makes my teeth hurt. Can someone give me simple instructions on how to install this thing on Windows, using small words preferably. ;-)

Alternatively, a Python API that would be easier to install under Windows would be groovy. I googled around and found (what appears to be) a couple, but I'd prefer to use whatever the everyone else doing Python/Perforce stuff on Windows is using.