Michael Lange wrote:
now it looks like the total confusion seems to clear up (at least partially). After some googling it
seems to me that the best bet is to use unicode strings exclusively.
I think that is a good plan.
When I set the unicode flag
in gettext.install() to 1 the gettext strings are
Nothing to do, but did you think about SimPy?
http://simpy.sourceforge.net/
It may make your life much simpler.
G
On Wed, 23 Feb 2005 11:32:12 -0800 (PST), Danny Yoo
<[EMAIL PROTECTED]> wrote:
>
>
> On Wed, 23 Feb 2005, Shitiz Bansal wrote:
>
> > I am trying to build a traffic network simulator us
Hi everyone!
Let's see, my topic of discussion for today is this.
If the psyco package can work on an interpreter level--I don't know if
that's the right terminology, but this is what it does.
Say I put the code
import psyco
psyco.full()
in sitecustomize.py
and run a random file that I have al
I find it's convenient to get rid of that problem.
The easy thing to get to folder options
You can
1) Go to control panel and click folder options
2) Open a folder, click the view menu, and choose folder options
Either way it's the same screen.
Now, in the middle tab, there is a checkmark about hal
This article might also be helpful, as it is a little more concrete:
http://www.devx.com/dbzone/Article/22093. I found it by Googling for
'python database access object'. Is this the kind of thing that you are
referring to, Kent?
HTH,
Bill
Liam Clarke wrote:
Kia ora,
I'm not really sure
On Wed, 23 Feb 2005 07:21:40 -0500
Kent Johnson <[EMAIL PROTECTED]> wrote:
>
> This is a part of Python that still confuses me. I think what is happening is
> - self.nextfile is a Unicode string sometimes (when it includes special
> characters)
> - the gettext string is a byte string
> - to comp
On Wed, 23 Feb 2005, Shitiz Bansal wrote:
> I am trying to build a traffic network simulator using python, for my
> degree project.
>
> I need to run at least 5-6000 cars simultaneously. I wanted to run each
> car in a separate thread. However , after about 400 threads i am unable
> to create ne
Shitiz Bansal wrote:
Hi,
Googling for my problem i found the following page:
http://gnosis.cx/publish/programming/charming_python_b7.html
It doesnt make much sense to me.It seems that the
author is implementing a series of routines rather
than running them sumultaneously as threads are
supposed to
Some day I'm actually going to learn how to hit the "Reply All" button.
I swear.
Begin forwarded message:
From: Max Noel <[EMAIL PROTECTED]>
Date: February 23, 2005 18:42:37 GMT
To: Shitiz Bansal <[EMAIL PROTECTED]>
Subject: Re: [Tutor] threads
On Feb 23, 2005, at 17:50, Shitiz Bansal wrote:
Hi,
Hi,
Googling for my problem i found the following page:
http://gnosis.cx/publish/programming/charming_python_b7.html
It doesnt make much sense to me.It seems that the
author is implementing a series of routines rather
than running them sumultaneously as threads are
supposed to do.Am i missing th
Shitiz Bansal wrote:
Hi,
I am trying to build a traffic network simulator using
python, for my degree project.
I need to run at least 5-6000 cars simultaneously.I
wanted to run each car in a separate thread.
However , after about 400 threads i am unable to
create new threads.
There does seem to be
On Wed, 23 Feb 2005, Shitiz Bansal wrote:
> Is there a python equivalent of c's sizeof function.
Unfortuntately, no, not as a standard builtin. However, there is a
third-party library called mxTools that does include a sizeof() function:
http://www.egenix.com/files/python/mxTools.html
B
Hi,
I am trying to build a traffic network simulator using
python, for my degree project.
I need to run at least 5-6000 cars simultaneously.I
wanted to run each car in a separate thread.
However , after about 400 threads i am unable to
create new threads.
Here's the code:
>>> cars=range(1000)
>>
Kent Johnson wrote:
Start small :-)
Get a little bit of the database working. Write unit tests for it. Get
a little piece of GUI working that uses that part of the database.
Lather. Rinse. Repeat. Refactor as your understanding of the problem
grows.
Talking about refactoring. I couldn't get Bicy
Michael Lange wrote:
Hello list,
I've encountered an (at least for me) weird error in the project I'm working on
(see the traceback below).
Unfortunately there are several of my application's modules involved, so I
cannot post all of my code here.
I hope I can explain in plain words what I'm doin
On Tue, 22 Feb 2005 19:17:40 -0500
"Isr Gish" <[EMAIL PROTECTED]> wrote:
> This part of the error is saying what the problem is.
>
>>UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 22:
> ordinal not in range(128)
>
> Thatthe ascii codec that's being used can't decod
Liam Clarke wrote:
I'm not sure I understand your response fully, so I've described how
I would do this in accordance with my understandinf of the method
described above. Any feedback/corrections are gratefully welcomed.
But first, a wee bit of explanation. As I said, this is very sketchy.
I've ru
Hi,
Is there a python equivalent of c's sizeof function.
If not, then what are the typical sizes of the
BoundedSemaphore object in python?
Shitiz
__
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.
http://baseball.fantasysports.yaho
18 matches
Mail list logo