Hello there,a while back i wrote a module called DbConnector.py that allowed me to run different types of SQL queries. Cool enough.i did it mostly to handle the open and close of a db connection so i wouldn't have to worry about 'too many connection' errors.
it makes a connection, runs a query, the
Have been doing some googling myself..The Selenium tool looks good. It
appears to be a record-and-play extension to the firefox
browser...Anyone have any experience with the Selnium Remote Control?
I'm having difficulty installing it.
Cheers
Hans
-Original Message-
From: [EMAIL PROTECTED]
Hans Dushanthakumar wrote:
> Hi,
>How do I use python for basic web-tasks like inputting data or
> clicking buttons on web-pages. For eg, how do I enter my username and
> password and click on the "OK" button on the yahoo mail page?
> I had a look at the webbrowser module documentation
> (http:
Hans Dushanthakumar wrote:
> Hi,
>How do I use python for basic web-tasks like inputting data or
> clicking buttons on web-pages. For eg, how do I enter my username and
> password and click on the "OK" button on the yahoo mail page?
> I had a look at the webbrowser module documentation
> (http:
Hi,
How do I use python for basic web-tasks
like inputting data or clicking buttons on web-pages. For eg, how do I enter my
username and password and click on the "OK" button on the yahoo mail
page?
I had
a look at the webbrowser module documentation (http://www.python.org/doc/current/lib
Have you had the experience of finding a nifty bit of code on the
web, trying it out, and then discovering that technique
only worked in version X.YY, or requires module Z that
is no longer available?
Well perhaps we can address this situation.
I would like to see an online system that facilitat
On Sun, 6 Aug 2006, anil maran wrote:
>text = """From: the bugman <[EMAIL PROTECTED]>
> To: the bugfixer <[EMAIL PROTECTED]>
> Subject: bug: %s: %s (%s)
> Content-Type: multipart/mixed; boundary="here"
[text example cut]
Hi Anil,
Anil, take a look at:
http://www.python.org/d
On Sat, 5 Aug 2006, anil maran wrote:
> http://localhost/newtodo?category=
>
> can one of you guys explain what this is
Hi Anil,
Are you taking some kind of internet web-development class? You seem to
be asking a lot of web-development questions. In the absence of context,
I'm not sure wha
> can you explain string replacement syntax and commaseparated
> statements
string substitution replaces the 5 %s comvbinations with the 5
values after the % sign
A simplied example is:
s = "hello %s, welcome to %s" % ('world','python')
Your example just uses triple quotes to allow the string
Hi Anil,
Are you reading a tutorial?
Most of the questions you are asking should be covered
in any standard tutorial.
> what does
>
> x**x) do?
Its equivalent to
pow(x,x)
ie raises x to the power x.
> 2nd) what is the key for the dictionary, i assume x is the value of
> the dictionary
> dict
I am interested in extracting jpeg thumbnails that are stored in my camera's Canon .CR2 raw files. Does anybody know of any python libraries with this kind of functionality? Is dcraw the only way to implement this functionality? I'm writing a simple gui to selectively process raw files into jpegs,
> from win32com.client import Dispatch
> s=Dispatch("Mapi.Session")
I don't think Outlook express uses MAPI.
MAPI is a strictly Microsoft protocol and only used in Outlook
and a few other clients that try to talk to Exchange servers.
Outlook Express is a much more conventional mailtool
that tal
text = """From: the bugman ...@example.com> To: the bugfixer ...@example.com> Subject: bug: %s: %s (%s) Content-Type: multipart/mixed; boundary="here" --here Content-Type: text/plain Content-Disposition: inline %s %s --here Content-Type: text/html; name="bug.ht
You can override the web.internalerror function to have it to do other interesting things. For example, I have infogami send me an email with the full debugerror traceback whenever there's a crash: olderror = web.internalerror def error(): olderror() import sys, traceback tb = sy
what does x**x) do?2nd) what is the key for the dictionary, i assume x is the value of the dictionaryJohn Fouhy <[EMAIL PROTECTED]> wrote: On 05/08/06, anil maran <[EMAIL PROTECTED]> wrote:> list comprehensions to return a dictionaryWell, hyou can use the dict function. eg:dict((x, x**x) for x in
15 matches
Mail list logo