does anyone have a suggestion for a ready-to-go, fast kdtree
implementation for python 3.1 and up, for nearest-neighbor searches? i
used to use the one from numpy/scipy, but find it a pain to install
for python 3. also, i'm trying to wrap the code from
http://code.google.com/p/kdtree/
using
Since you're looking for an implementation, I guess you won't be the one
volunteering to maintain such code in the stdlib, would you?
this is indeed a problem. i am probably not the right one for this
kind of task.
however, i do sometimes feel like the standard library carries too
much cruft
Do you know about the kdtree implementation in biopython? I don't know
if it is already available for Python 3, but for me it worked fine in
Python 2.X.
i heard they use a brute-force approach and it's slow. that's just
rumors alright. also, judging from the classes list on
this may not be an earth-shattering deficiency of python, but i still
wonder about the rationale behind the following behavior: when i
run ::
source =
print( 'helo' )
if __name__ == '__main__':
print( 'yeah!' )
#
print( compile( source, 'whatever', 'exec' ) )
i get ::
File
yes we can! http://github.com/facebook/pyre2
as pointed out by http://stackoverflow.com/users/219162/daniel-stutzbach
now gotta go and try it out.
--
http://mail.python.org/mailman/listinfo/python-list
i asked this question before on
http://stackoverflow.com/questions/2489780/how-to-do-asynchronous-http-requests-with-epoll-and-python-3-1
but without a definitive answer as yet.
can someone help me out? i want to do several simple http GET and POST
requests in the same process using Python 3.1
i am afraid that thread goes straight perpendicular to what re2 is
supposed to be, or do. my suggestion for these folks would be to
create a new, clean interface to stop the violence that comes with the
Python ``re`` interface, and open the thing up so one can plug in
``re`` implementations as
There's a recent thread about this on the python-dev list,
pointers? i searched but didn’t find anything.
--
http://mail.python.org/mailman/listinfo/python-list
dear pythoneers,
i would be very gladly accept any commentaries about what this
sentence, gleaned from
http://celabs.com/python-3.1/reference/executionmodel.html,
is meant to mean, or why gods have decided this is the way to go. i
anticipate this guy named Kay Schluehr will have a say on that,
hi folks,
i am doing my first steps in the wonderful world of python 3.
some things are good.
some things have to be relearned.
some things drive me crazy.
sadly, i'm working on a windows box. which, in germany, entails that
python thinks it to be a good idea to take cp1252 as the default
lately i realized a slow running portion of my application, and a
quick profiling nourished the suspicion that, of all things, calls to
`xrange().__contains__` (`x in b` where `b = xrange(L,H)`) is the
culprit. to avoid any other influences, i wrote this test script with
class `xxrange` being a
On Dec 11, 12:43 am, rdmur...@bitdance.com wrote:
Why can't you have the code that is doing the import [...]
call a function [...] to produce [the] side effect [...]?
Explicit is better than implicit. A python programmer is
going to expect that importing a module is idempotent
you’re
On Dec 10, 1:46 pm, Gabriel Genellina [EMAIL PROTECTED]
wrote:
En Tue, 09 Dec 2008 23:27:10 -0200, _wolf [EMAIL PROTECTED]
escribió:
how can i say, approximately, re-import the present module when it is
imported the next time, don’t use the cache in a simple way? i do not
want to reload
line `import
sys; del sys.modules[ 'importee' ]` does what it says on the tin.
how can i say, approximately, re-import the present module when it is
imported the next time, don’t use the cache in a simple way? i do not
want to reload the module, that doesn’t help.
greets
_wolf
[also posted to: [EMAIL PROTECTED]
hi all,
i've heard cairo has become the image scling library for firefox3. is
that true? wonderful, i want to do that in python. there's a python
interface for cairo, right? i've used it before to do simple vector
stuff. seems to work. however, i haven't been
i've had a hard time today to drill down on some infos
about matplotlib of http://matplotlib.sourceforge.net/.
this is an sf.net-managed project, its mailing lists are
managed by shudder/ gnu mailman in a pre-1994 version.
still there is a sf.net standard forum interface, which
however denies me
this list has been receiving increasing amounts of nasty OT spam
messages for some time. are there any plans to prevent such messages
from appearing on the list or to purge them retrospectively?
_wolf
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 16, 3:11 pm, Bruno Desthuilliers bruno.
[EMAIL PROTECTED] wrote:
Jeroen Ruigrok van der Werven a écrit :
-On [20080116 12:51], Bruno Desthuilliers ([EMAIL PROTECTED]) wrote:
Apart from checking posts headers and complaining about the relevant
ISPs, there's not much you can do AFAIK.
? you do get to see all the output in
that case, at long last upon process termination, right? i'm wondering.
_wolf
--
http://mail.python.org/mailman/listinfo/python-list
it does look like it, no? but i don't---at least i think i don't. in my
httpd conf it says
``AddHandler cgi-script .py``, and at the top of my script,
``#!/usr/local/bin/python``. standard, no ``-u`` here.
--
http://mail.python.org/mailman/listinfo/python-list
but *this* will result in a last output line that is 8 characters
long, so someone swallows 24 characters. does look like
a buffer of fixed length.
i'd like to bust that ghost.
_wolf
--
http://mail.python.org/mailman/listinfo/python-list
21 matches
Mail list logo