On Feb 17, 10:25 pm, SMERSH009 wrote:
> On Feb 17, 9:51 pm, Stefan Behnel wrote:
>
>
>
> > SMERSH009, 17.02.2011 22:46:
>
> > > am still stuck with the following error when I try to
> > > print self.count_css_matches('css=[id="listGuests"]
On Feb 17, 9:51 pm, Stefan Behnel wrote:
> SMERSH009, 17.02.2011 22:46:
>
>
>
> > am still stuck with the following error when I try to
> > print self.count_css_matches('css=[id="listGuests"]')
> > I've also included the Seleniu
On Feb 2, 7:03 am, Duncan Booth wrote:
> Stefan Behnel wrote:
> > You are using Selenium RC here. I have no idea if there is a Python
> > API to it or what that API looks like. The rest is just trivial code
> > that you can map 1:1 to Python:
>
> > def count_css_matches(css_locator):
> >
Hi, I'd love some help converting this code to the python equivalent:
private int getCSSCount(String aCSSLocator){
String jsScript = "var cssMatches = eval_css(\"%s\",
window.document);cssMatches.length;";
return Integer.parseInt(selenium.getEval(String.format(jsScript,
aCSSLocator)));
}
On Aug 4, 8:25 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Aug 4, 9:21?pm, "Jim Langston" <[EMAIL PROTECTED]> wrote:
>
>
>
> > <[EMAIL PROTECTED]> wrote in message
>
> >news:[EMAIL PROTECTED]
>
> > > On Aug
Hi All.
Let's say I have some badly formatted text called doc:
doc=
"""
friendid
Female
23 years old
Los Gatos
United States
friendid
Male
24 years old
On Aug 3, 7:50 pm, Coogan <[EMAIL PROTECTED]> wrote:
> Hi--
>
> I'm using Python for the first time to make a plug-in for Firefox.
> The goal of this plug-in is to take the source code from a website
> and use the metadata and body text for different kinds of analysis.
> My question is: How can I r
On Aug 3, 9:47 am, Rohan <[EMAIL PROTECTED]> wrote:
> On Aug 2, 1:06 pm, Laurent Pointal <[EMAIL PROTECTED]> wrote:
>
>
>
> > Rohan wrote:
> > > I was wondering if there could be an arrangement where a file could be
> > > attached and send as an email.
> > > For ex
> > > f = open(add.txt,w)
> > > f
On Aug 2, 6:24 pm, "Dennis" <[EMAIL PROTECTED]> wrote:
> HI All,
> i am a 4th year business student and i took web design online course
> for fun however i did not see that last 2 chapters were python
> programming.This has no relevance to my major nor does it have any
> contribution to my degree.
I have a script that navigates pages and scrapes the HTML source of
the page.
in order to view the results I need I need python to "navigate to"
this Javascript link:
javascript:__doPostBack('ctl00$cpMain$pagerTop','4') This basically
translates into "go to page 4."
I read the posts on this group,
10 matches
Mail list logo