Re: Another optimization request :-)

2009-02-11 Thread jeffg
example > >http://www.medwelljournals.com/fulltext/ajit/2006/324-338.pdfpage 331 > > onwards. > > > there's a very nice into to the verlet integration mentioned here - > >http://teknikus.dk/tj/gdc2001.htm > > > andrew > > > jeffg wrote: > >>

Re: Unicode issue on Windows cmd line

2009-02-11 Thread jeffg
On Feb 11, 10:00 pm, "Gabriel Genellina" wrote: > En Wed, 11 Feb 2009 23:11:37 -0200, jeffg escribió: > > > > > On Feb 11, 6:30 pm, "Martin v. Löwis" wrote: > >> > Thanks, I ended up using encode('iso-8859-15', "replace") >

Another optimization request :-)

2009-02-11 Thread jeffg
If anyone wants to take this on... I would really really like to have the spring_layout modified to support multi-threading if at all possible. My test data is 20,000, which makes this process 20,000 x 20,000 or 400,000,000 (400 million) calculations. This is taking somewhere between 2-3 hours an

Re: Unicode issue on Windows cmd line

2009-02-11 Thread jeffg
On Feb 11, 6:30 pm, "Martin v. Löwis" wrote: > > Thanks, I ended up using encode('iso-8859-15', "replace") > > Perhaps more up to date than cp1252...?? > > > It still didn't print correctly, but it did write correctly, which was > > my main problem. > > If you encode as iso-8859-15, but this is no

Re: Unicode issue on Windows cmd line

2009-02-11 Thread jeffg
On Feb 11, 3:57 pm, "Martin v. Löwis" wrote: > > Having issue on Windows cmd. > >> Python.exe > a = u'\xf0' > print a > > > This gives a unicode error. > > > Works fine in IDLE, PythonWin, and my Macbook but I need to run this > > from a windows batch. > > > Character should look like th

Re: Unicode issue on Windows cmd line

2009-02-11 Thread jeffg
On Feb 11, 2:35 pm, Albert Hopkins wrote: > On Wed, 2009-02-11 at 10:35 -0800, jeffg wrote: > > Having issue on Windows cmd. > > > Python.exe > > >>>a = u'\xf0' > > >>>print a > > > This gives a unicode error. > > > Wor

Unicode issue on Windows cmd line

2009-02-11 Thread jeffg
Having issue on Windows cmd. > Python.exe >>>a = u'\xf0' >>>print a This gives a unicode error. Works fine in IDLE, PythonWin, and my Macbook but I need to run this from a windows batch. Character should look like this "ð". Please help! -- http://mail.python.org/mailman/listinfo/python-list