[Tutor] threading.currentThread() always same across request ?

2007-04-13 Thread Arun Kumar PG
Guys, I have a web application and I want to store an object per request so thta that is available across all classes till end of request. I am planning to write the below code in my entry program which is executed as soon as a request comes: entry.py import threading th = threading.current

Re: [Tutor] Command line args

2007-04-13 Thread Teresa Stanton
No one suggested this. That's great! Wish I had seen it sooner. Thanks, I'll put that in my notebook for further use later. -Original Message- From: Daniel Yoo [mailto:[EMAIL PROTECTED] Sent: Friday, April 13, 2007 5:51 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Comm

Re: [Tutor] beautifulSoup and .next iteration

2007-04-13 Thread Daniel Yoo
> anchors = soup.findAll('a', { 'name' : re.compile('^A.*$')}) > for x in anchors: >print x >x = x.next >while getattr(x, 'name') != 'a': > print x > And get into endless loops. I can't help thinking there are simple and > obvious ways to do this, probably many, but as a rank beg

Re: [Tutor] please help me

2007-04-13 Thread Greg Perry
Let no good deed go unpunished! -Original Message- From: Daniel Yoo Date: Friday, Apr 13, 2007 8:24 pm Subject: Re: [Tutor] please help me > If this is homework, please tell your teacher I helped - I need the > extra credit. > >Please avoid giving homework answers like this. Rather than

Re: [Tutor] Command line args

2007-04-13 Thread Daniel Yoo
Hi Teresa, Has anyone on this thread already suggested the 'fileinput' module? From what I understand, what 'fileinput' does is exactly what you're asking from: http://mail.python.org/pipermail/tutor/2007-April/053669.html Here's documentation on 'fileinput': http://www.python.org/

Re: [Tutor] please help me

2007-04-13 Thread Daniel Yoo
> If this is homework, please tell your teacher I helped - I need the > extra credit. Please avoid giving homework answers like this. Rather than actually help the person, it can do harm, because it encourages a lazy attitude toward solving problems. ___

Re: [Tutor] Microsoft Exchange

2007-04-13 Thread Andreas Kostyrka
* Øyvind Dale Spørck <[EMAIL PROTECTED]> [070414 00:15]: > Hello. > > I need to get the mailbox size out from Exchange. I have been googling and > all I have found is how to get the size from my personal mailbox. But, > that is not what I need. I need to find the sizes of the mailboxes for all > u

Re: [Tutor] Microsoft Exchange

2007-04-13 Thread Tim Golden
Øyvind Dale Spørck wrote: > Hello. > > I need to get the mailbox size out from Exchange. I have been googling and > all I have found is how to get the size from my personal mailbox. But, > that is not what I need. I need to find the sizes of the mailboxes for all > users. > > Does anyone know of

[Tutor] Some questions.

2007-04-13 Thread Øyvind
>One question is whats the best GUI library to build from? WxPython is a very good one. However, you should look into Pythoncard (http://pythoncard.sourceforge.net/) which lets you build WxPython even easier. -- This email has been scanned for viruses & spam by Domenebutikken - www.domenebutik

Re: [Tutor] Microsoft Exchange

2007-04-13 Thread Rikard Bosnjakovic
On 4/13/07, Øyvind Dale Spørck <[EMAIL PROTECTED]> wrote: > Does anyone know of any modules that works towards the central > Exchange-server or any example scripts that can give me any hints? Try this list instead: http://mail.python.org/mailman/listinfo/python-win32 -- - Rikard - http://bos.h

[Tutor] Microsoft Exchange

2007-04-13 Thread Øyvind Dale Spørck
Hello. I need to get the mailbox size out from Exchange. I have been googling and all I have found is how to get the size from my personal mailbox. But, that is not what I need. I need to find the sizes of the mailboxes for all users. Does anyone know of any modules that works towards the central