symlinks with python3 http.server.CGIHTTPRequestHandler

2022-01-10 Thread Nat Taylor
Is it possible to get http.server.CGIHTTPRequestHandler to run a symlink-ed script? In the example below, GET /cgi-bin/test.py results in a 404 because it is a symlink. % mkdir -p test/cgi-bin % cd test % vi test.py % chmod +x test.py % ln -s test.py cgi-bin % cp test.py cgi-bin/test2.py % chmod

how can I disable tkinter install?

2011-06-28 Thread Nat Echols
altogether? I am using wxPython anyway and do not want or need another set of GUI libraries, especially not if they're breaking other software. thanks, Nat -- http://mail.python.org/mailman/listinfo/python-list

Re: HTTP server + SQLite?

2010-05-03 Thread Nat
interesting natalie5...@hotmail.co.jp natalie53...@yahoo.co.jp natalie5...@gmail.com wlipgf...@jupiter.ocn.ne.jp natalie5...@mbr.nifty.com natalie5...@xqg.biglobe.ne.jp natalie5...@zpost.plala.or.jp -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I install libxml2 and libxslt?

2009-11-02 Thread Nat Williams
ml installation instructions you linked, the windows lxml binary is statically linked and you do not need to install the libraries separately. If 'from lxml import etree' works, then you're done. libxml2 and libxslt are C libraries, not things that you can or would import. The

Re: Inheriting dictionary

2009-08-18 Thread Nat Williams
On Tue, Aug 18, 2009 at 2:44 PM, Pavel Panchekha wrote: > I want a dictionary that will transparently "inherit" from a parent > dictionary. So, for example: > > """ > a = InheritDict({1: "one", 2: "two", 4: "four"}) > b = InheritDict({3: "three", 4: "foobar"}, inherit_from=a) > > a[1] # "one" > a[

Re: Newbie Question regarding __init__()

2009-07-31 Thread Nat Williams
te line, except just making it harder to read. Nat On Fri, Jul 31, 2009 at 8:53 PM, Simon wrote: > Hi > > So should the dcObject class include the "self" as well since I have > not defined an __init__ method in dcCursor? > > Simon > > -- > http://mail.python.o

Regarding an exciting opportunity in PYTHON at Hyderabad

2008-03-06 Thread Nat
We have been looking for Senior Professional based at Hyderabad for one of our clients which an upcoming Product development company based out of hyderabad . I would appreciate if you can repond back with your profile at [EMAIL PROTECTED] would get back to you with complete details and accordingly

Error 1 during install of python 2.5 on CentOS

2007-03-07 Thread nat
7;t what to do from here. /usr/bin has no phython2.5 in it, so I take it the install didn't complete. Any ideas what to do from here? Thanks Nat -- http://mail.python.org/mailman/listinfo/python-list