Re: Querying a complex website

2008-02-20 Thread Mark Lim
On 2/19/08 11:55 AM, "schweet1" <[EMAIL PROTECTED]> wrote:

> Greetings,
> 
> I am attempting to use python to submit a query to the following URL:
> 
> https://ramps.uspto.gov/eram/patentMaintFees.do
> 
> The page looks simple enough - it requires submitting a number into 2
> form boxes and then selecting from the pull down.
> 
> However, my test scripts have been hung up, apparently due to the
> several buttons on the page having the same name.  Ideally, I would
> have the script use the "Get Bibligraphic Data" link.
> 
> Any assistance would be appreciated.
> 
> ~Jon

You might take a look at Selenium (selenium.openqa.org).  It is a test tool
that can generate python code to automate driving a browser.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Building an RPM

2008-04-17 Thread Mark Lim

You could use the module compileall to create .pyc and .pyo

(http://www.python.org/doc/1.5.1p1/tut/node43.html)

and do this in your %build stage.

Or if you don't need to ship them, strike them from the package as they will
be generated as necessary.

On 4/17/08 2:19 PM, "John Sutherland" <[EMAIL PROTECTED]> wrote:

> Hi everyone..
> 
> I'm attempting to build an RPM for Python 2.5.2, using the spec file
> found in the standard tarball (Misc/RPM)..
> 
> Currently, its failing cause it hasn't 'compiled' the tools .pyc
> and .pyo's, saying the files aren't found.
> 
> Anyone have any ideas? (running on CentOS 4.3)
> 
> --John
> 
> 
> 

-- 
http://mail.python.org/mailman/listinfo/python-list