On Mar 15, 3:54 pm, Unknown <[EMAIL PROTECTED]> wrote:
> Hi,
> I've got this code :
>
> cb = open("testfile", "r+")
> f = cb.readlines()
> for line in f:
> rx = re.match(r'^\s*(\d+).*', line)
> if not rx:
> continue
> else:
> serial = rx.group(1)
> now = time.tim
On Mar 14, 1:36 am, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On Thu, 13 Mar 2008 19:55:27 -0700 (PDT), [EMAIL PROTECTED] declaimed
> the following in comp.lang.python:
>
>
>
> > Thanks for the reply, Carsten, how would this work with UPDATE
> > command? I get this error:
>
> > cmd = "
On Mar 12, 8:32 pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Wed, 2008-03-12 at 18:18 -0700, [EMAIL PROTECTED] wrote:
> > These pieces of text may have single and double quotes in
> > them, I tried escaping them using re module and string module and
> > either I did something wrong, or they e
On Mar 12, 8:25 am, [EMAIL PROTECTED] wrote:
> Seeing the 7DRL start up recently, i wanted to see what one was made
> of. Python is the language i'm most familiar with so i searched for
> some code to look at, but i couldn't find any. Can anyone direct me to
> the right place?
>
> I did some search
Hi, I'd like to store chunks of text, some of them may be very large,
in a database, and have them searchable using 'LIKE %something%'
construct. These pieces of text may have single and double quotes in
them, I tried escaping them using re module and string module and
either I did something wrong,
On Mar 11, 11:50 pm, [EMAIL PROTECTED] wrote:
>
> Hey there,
> I've had to do the same things for a program that I'm writing. The
> following command should do the trick:
>
> os.startfile("yourfilehere")
>
> from the os module. Hope this helps!
That's perfect, thanks a ton++!
--
http://mail.pyth
Hi, I searched for this on google and in this group, but my awesome
google-fu powers failed me. Is there a way to open any file using
default program that'd open it? In other words, to do the same action
as double-clicking in windows explorer? And secondly, is there a way
to do the same thing for l
On Nov 13, 12:42 pm, Wildemar Wildenburger
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello,
>
> > [snip outline of an information editor]
>
> Maybe the Literary Machine?
> http://sommestad.com/lm.htm>
>
> It is a bit weird at first, and Windows only (altough I have had it
> running
On Nov 13, 12:42 pm, Wildemar Wildenburger
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hello,
>
> > [snip outline of an information editor]
>
> Maybe the Literary Machine?
> http://sommestad.com/lm.htm>
>
> It is a bit weird at first, and Windows only (altough I have had it
> running
On Nov 12, 2:24 pm, Aaron Watters <[EMAIL PROTECTED]> wrote:
> On Nov 11, 5:44 pm, [EMAIL PROTECTED] wrote:
>
> > Hello,
>
> > I would like to write an information manager/organizer type of app but
> > first I'd like to ask if there is something like that already...
>
> Your outline sounds like a k
Hello,
I would like to write an information manager/organizer type of app but
first I'd like to ask if there is something like that already
existing. I asked on yahoo questions but did not get a response. I
also searched freshmeat but even though they have plenty of projects
that are tangentially
11 matches
Mail list logo