HI Joseph,
> I've seen many (python) "plugins" (some located in site-packages
[windows
> here]) with the name __init__.py.
init.py is the file that controls the behaviour of python packages
- that is collections of modules used as a single entity.
Read the python docs for the fine detail, but e
Kent Johnson wrote:
>
>>Is there any way of checking all possible errors, show you all error
>>messages, and then exit.
>
> I don't understand your question. Can you give an example of what you would
> like to do?
>
The idea was check all exceptions before of exit. I made it :)
flag_error = Fa
Jonas Melian wrote:
> Kent Johnson wrote:
>
>>>Is there any way of checking all possible errors, show you all error
>>>messages, and then exit.
>>
>>I don't understand your question. Can you give an example of what you would
>>like to do?
>>
>
> The idea was check all exceptions before of exit.
Would anyone on the list with some knowledge of working with
davlib.py (http://www.lyra.org/greg/python/) be able to advise
regarding use of the library with a Dav server (apache2 with mod_dav)
that is configured to require HTTP Basic Authentication?
Specifically, I have calls for davlib.
clock.py,problem is to get the last two digits to be random.her's what i
tried
from time import time,ctime
prev_time = ""
while(1):
the_time = ctime()
if (prev_time != the_time):
print "The time is :",ctime(time())
prev_time = the_time
guess = 0
number = 1-60
while guess != number
Feziwe Mpondo wrote:
>clock.py,problem is to get the last two digits to be random.her's what i
>tried
>from time import time,ctime
>prev_time = ""
>while(1):
>the_time = ctime()
>if (prev_time != the_time):
> print "The time is :",ctime(time())
>prev_time = the_time
>guess = 0
>nu
Hi All,
I have several frighteningly cumbersome reports to review at my new
job. I would like to write a python program to help me with my
analysis. The goal of the program is to filter out information that
doesn't meet certain requirements and print relevant results back to
a legible report that
Hello, I am having trouble with passing variables between frames (Frame1 and Dialog1). I'm using wxpython to write an application. when I run my application the parent frame appears and within the parent frame I can assign values to variables. I then have a button that launches a child dialog. I
Hey everyone
Is there a built-in calendar combo box as in Visual Basic?
Can anyone point me in the right direction?
Thanks in advanced
Alberto
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Jeff Peery wrote:
> Hello, I am having trouble with passing variables between frames (Frame1
> and Dialog1). I'm using wxpython to write an application. when I run my
> application the parent frame appears and within the parent frame I can
> assign values to variables. I then have a button tha
I'm running an application that has a polling loop to check a serial port
for certain signals, and on my laptop I can get about 6700 samples per
second, which (of course) consumes 100% CPU; which may impact battery life.
BTW, I'm running Python 2.2.2 on my laptop... not had a need to upgrade yet
Quoting Roger Merchberger <[EMAIL PROTECTED]>:
> I really only need between 500 and 1000 samples per second, but as the
> smallest sleep available normally is time.sleep(.01) -- which brings my
> samples/sec to a nice 100; but I need it a little faster.
Where did you find that out?
> 2) will u
Hi. First post.
I'm trying to (more or less) copy the functionality of quepasa
(http://quepasa.sourceforge.net), a simple password generation script
that builds passwords from a combination of a passphrase and another
string (like a domain name).
If you enter the same passphrase and string,
Rumor has it that [EMAIL PROTECTED] may have mentioned these words:
>Quoting Roger Merchberger <[EMAIL PROTECTED]>:
>
> > I really only need between 500 and 1000 samples per second, but as the
> > smallest sleep available normally is time.sleep(.01) -- which brings my
> > samples/sec to a nice 100;
Luke Jordan wrote:
> I have several frighteningly cumbersome reports to review at my new
> job. I would like to write a python program to help me with my
> analysis. The goal of the program is to filter out information that
> doesn't meet certain requirements and print relevant results back to
> a
Rumor has it that Roger Merchberger may have mentioned these words:
Yea, yea, I'm replying my own message you'll see why later! ;-)
>Rumor has it that [EMAIL PROTECTED] may have mentioned these words:
> >I just did some experimenting ... I am running ActiveState Python 2.4.1
> under
> >Wind
> want to access the values from the parent frame in the dialog.
> for example say I had a listbox in the parent frame and I choose
> the first entry 'a' from the list. I then launch the child
> dialog and I want to put the value of the selection from the
> list box into a text field - when I
17 matches
Mail list logo