On Tue, 18 Jan 2005, Marilyn Davis wrote:
> while 1:
> if log.level & log.calls:
> log.it("fd%d:py_daemon.py: Waiting ...", self.descriptor)
> try:
> client_socket, client_addr = self.server_socket.accept()
> except (EOF
Jack Cruzan wrote:
I am on the other coast but I too am looking for a group to play
Shadowrun with.
With at least three people interested think we could either --
1) Port or create a python based SRCG (useless python still has a
challenge for a collaberative effort.)
2) Make a SR rpg (I was think
Max Noel wrote:
Hi everyone,
I've just spent the last few hours learning how to use the DOM XML
API (to be more precise, the one that's in PyXML), instead of revising
for my exams :p. My conclusion so far: it sucks (and so does SAX because
I can't see a way to use it for OOP or "recursive" X
Dear group:
I have two lists:
1. Lseq:
>>> len(Lseq)
30673
>>> Lseq[20:25]
['NM_025164', 'NM_025164', 'NM_012384', 'NM_006380',
'NM_007032','NM_014332']
2. refseq:
>>> len(refseq)
1080945
>>> refseq[0:25]
['>gi|10047089|ref|NM_014332.1| Homo sapiens small
muscle protein, X-linked (SMPX), mRNA'
* Max Noel <[EMAIL PROTECTED]> [2005-01-19 00:17]:
> Hi everyone,
>
> I've just spent the last few hours learning how to use the DOM XML
> API (to be more precise, the one that's in PyXML), instead of revising
> for
> my exams :p. My conclusion so far: it sucks (and so does SAX beca
I am on the other coast but I too am looking for a group to play
Shadowrun with.
With at least three people interested think we could either --
1) Port or create a python based SRCG (useless python still has a
challenge for a collaberative effort.)
2) Make a SR rpg (I was think of in the style o
Hi,
> Does ExFileSelectDialog do anything that the standard Tk file dialogs don't?
> (if you don't know about it: have a look at the tkFileDialog module)
(*Ashamed*)
Indeed not. Well... tkFileDialog is a bit more "bulky" that
ExFileSelectDialot, but the functionalities are alike.
Actually, my Tk
Thank you so much Danny. I know how hard it is to look at and comment
on other people's code. You know I teach C and Python and I have to
say, though, that reading students' Python is 100 times easier than
reading their C.
And, I hope you're feeling better. I hate to think of you struggling
thr
yeah, I wasn't sure about that readline/lines thing, cos I'm not sure
how popen works.
Well, I'm not positive about it either! But that doesn't mean that you can't
comment out what you had, try this, and uncomment the previous if it doesn't
work. I would imagine that it works because it seems to
Hi everyone,
I've just spent the last few hours learning how to use the DOM XML API
(to be more precise, the one that's in PyXML), instead of revising for
my exams :p. My conclusion so far: it sucks (and so does SAX because I
can't see a way to use it for OOP or "recursive" XML trees).
I'm cer
On Jan 18, 2005, at 22:50, Kent Johnson wrote:
Python, instead, lets you change what attribute access means. The way
to do this is with 'properties'. This is kind of an advanced topic,
here are two references:
http://www.python.org/2.2.1/descrintro.html#property
http://www.python.org/doc/2.2.
Paul Tremblay wrote:
On Fri, Jan 14, 2005 at 08:11:32PM -0500, Kent Johnson wrote:
- typical Python style is *not* to define setter and getter functions. If
you need to mediate attribute access you can do it later using properties.
I treid to figure out how this works with no luck. It seems that
Thanks for your input (and others, too!).
On Fri, Jan 14, 2005 at 08:11:32PM -0500, Kent Johnson wrote:
> Date: Fri, 14 Jan 2005 20:11:32 -0500
> From: Kent Johnson <[EMAIL PROTECTED]>
> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
> Cc: tutor@python.org
> Subject: Re: [Tutor] style que
On Tue, 18 Jan 2005, Danny Yoo wrote:
> In fact, as far as I can tell, none of the Spawn() threads are
> communicating with each other. As long as your threads are working
> independently of each other --- and as long as they are not writing to
> global variables --- you do not need locks.
>
>
Guillermo Fernandez Castellanos wrote:
The thing is, pmw does not seem to have ExFileSelectDialog. Any hint
about how I could substitute this lack?
Does ExFileSelectDialog do anything that the standard Tk file dialogs don't?
(if you don't know about it: have a look at the tkFileDialog module)
--
Jo
On Jan 18, 2005, at 17:52, Jack Cruzan wrote:
Greetings!
Ok if any of you read my earlier email you would have seen that:
A) I am a newbie programmer.
B) A Shadowrun gamer.
C) In over my head making a SRCG (Shadowrun Character Generator)
so with that in mind gave up making my python based SRCG.
Greetings!
Ok if any of you read my earlier email you would have seen that:
A) I am a newbie programmer.
B) A Shadowrun gamer.
C) In over my head making a SRCG (Shadowrun Character Generator)
so with that in mind gave up making my python based SRCG. Instead I am
making pytho
Hi,
I have not been getting mail, so I thought I'd see what's up.
Thanks.
Jim
James D Homme,
Information Design + Development
Highmark Inc.
[EMAIL PROTECTED]
412-544-0527
"A gentle answer turns away wrath, but a harsh word stirs up anger."
___
Tu
You might be interested in this:
http://www.tizmoi.net/watsup/intro.html
Kent
Orri Ganel wrote:
Actually, what I want to do is set Audacity up so that it automatically
begins recording when a song plays in Windows Media Player (to begin
with) and stops when the song is finished playing. I've alr
Your CGI will be run fresh each time the user submits the form. If you want data to persist between
submits you have to either
- save the data to a persistent store - a file or database
- use a different way to handle the form - I'm not sure of all the options but I think mod_python
and FastCGI b
Hi,
Does anyone use Notetab to compile Python programs? If so, are you able to
share the clip you use?
Thanks.
Jim
James D Homme,
Information Design + Development
Highmark Inc.
[EMAIL PROTECTED]
412-544-0527
"A gentle answer turns away wrath, but a harsh word stirs up anger."
Im trying to make a game where in a dictionary is a list of questions and
answers. If i try to output 6 at a time to a cgi script and submit will my
script be reset so my delete function of not getting the same question again
not work?
if this doesnt make sense ill repost
__
On Jan 18, 2005, at 03:46, Liam Clarke wrote:
Curious - what's mod_python?
A Python module for the Apache web server, that among other things
addresses the main shortcoming of CGI: mod_python (and mod_perl,
mod_php and mod_ruby, for that matter) keeps the interpreter into
memory (and as part of
Jacob S. wrote:
insideipgrep = insideipgrep.lstrip("ifconfig_fxp0=\"inet ")
No! The argument to lstrip() is a list of characters, any of which will be stripped! It is *not* a
prefix to remove!
>>> insideipgrep='ifconfig if 00=_xxx Wow'
>>> insideipgrep.lstrip("ifconfig_fxp0=\"inet ")
'Wow'
You
Hi Marilyn,
[Long program comments ahead. Please forgive me if some of the comments
are overbearing; I'm trying to get over a cold, and I'm very grumpy.
*grin*]
Some comments on the code follow. I'll be focusing on:
> http://www.maildance.com/python/doorman/py_daemon.py
One of the import
Hi,
> When I tried, I couldn't figure out how to freeze Tix. I ended up giving up
> and
> recoding all my Tix stuff to use Pmw instead...
> (although I was a lot more new to python in those days)
Indeed, I think I'm going to do the same. I find the situation really
surprising though. When I go t
Title: RE:
Gopinath V, ASDC Chennai wrote:
On Wed, 12 Jan 2005, Orri Ganel wrote:
> >>> stuff = [[0,'sdfsd','wrtew'],
[1, 'rht','erterg']]
> >>> stuff
> [[0, 'sdfsd', 'wrtew'], [1, 'rht', 'erterg']]
> >>> print [stuff[i][0] for i in
range(len(stuff))]
>
Title: RE:
Gopinath V, ASDC Chennai wrote:
On Wed, 12 Jan 2005, Orri Ganel wrote:
> >>> stuff = [[0,'sdfsd','wrtew'],
[1, 'rht','erterg']]
> >>> stuff
> [[0, 'sdfsd', 'wrtew'], [1, 'rht', 'erterg']]
> >>> print [stuff[i][0] for i in
range(len(stuff))]
>
28 matches
Mail list logo