Version 1.3 of mod_wsgi is now available. The software and
documentation are both available from:
http://www.modwsgi.org
The mod_wsgi package consists of an Apache web server module designed
and implemented specifically for hosting Python based web applications
that support the WSGI interface
This is strictly a documentation matter, in my mind. Python does not
offer any means to enforce the calling sequence of an override method.
Yes, I hear you.
You might be able to wrap YOUR calling code with a try/except block
to trap errors if the callback doesn't like the documented API
En Sat, 17 Nov 2007 01:56:22 -0300, Donn Ingle [EMAIL PROTECTED]
escribió:
for obj in list:
if 'foo' in obj.__class__.__dict__:
etc.
Although I am concerned that it's a loop ('in') and so may be slower than
some other way to detect foo().
'in' for dictionaries is fast and runs in
On Sat, 17 Nov 2007 09:08:48 +0200, Janne Härkönen
wrote:
I am sorry to have wasted your precious time in such oafish manner.
And so you should be, and as soon as I can track down your address I'll
be sending you the bill.
*wink*
--
Steven.
--
On Sat, 17 Nov 2007 06:47:18 +0200, Donn Ingle wrote:
While technically possible (using inspect.getargspec), trying to make
your code idiot-proof is a lost fight and a pure waste of time.
Worse: it's actually counter-productive! The whole idea of being able
to subclass a class means that
En Sat, 17 Nov 2007 04:02:12 -0300, saccade [EMAIL PROTECTED] escribió:
a, b = [], []
a.append(b)
b.append(a)
b in a
True
a in a
Traceback (most recent call last):
File stdin, line 1, in module
RuntimeError: maximum recursion depth exceeded in cmp
a is a[0]
False
a == a[0]
En Fri, 16 Nov 2007 22:34:13 -0300,
mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
[EMAIL PROTECTED] escribió:
Is is possible to get the timestamp of a file on a web server if it
has a URL?
For example, let's say that I want to know when the following file was
created:
On 16 Nov, 16:35, Carl Banks [EMAIL PROTECTED] wrote:
On Thu, 15 Nov 2007 21:25:16 -0800, Dennis Lee Bieber wrote:
On Thu, 15 Nov 2007 16:57:57 -0800 (PST), Carl Banks
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
A source of confusion with is a is that it doesn't
On Nov 17, 6:02 pm, saccade [EMAIL PROTECTED] wrote:
a, b = [], []
a.append(b)
b.append(a)
b in a
True
a in a
Traceback (most recent call last):
File stdin, line 1, in module
RuntimeError: maximum recursion depth exceeded in cmp
a is a[0]
False
a == a[0]
Traceback (most
Benjamin wrote:
Python is has duck typing. If it quacks like a duke, it's duck.
How do dukes quack, exactly? :)
Regards,
Björn
--
BOFH excuse #290:
The CPU has shifted, and become decentralized.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
I would argue that interfaces/(similar feature) are necessary in
any modern language
I wouldn't, but have a look at the Zope interfaces module. It seems
to work similar to Java's interfaces.
Regards,
Björn
--
BOFH excuse #104:
backup tape overwritten with copy of
Donn Ingle wrote:
I am curious as to why you want to go through such contortions. What
do you gain.
for obj in list:
if obj has a foo() method:
a = something
b = figureitout ( )
object.foo ( a, b )
I am accepting objects of any class on a stack. Depending on their nature I
*not* being called by the user but *by* my API (in a timeout loop).
You don't know that. How can you possibly guarantee that the user won't
find some other use for the draw() method
Well, as per your good examples, I would answer that as the parameters
passed to draw() grow in number, so the
On Sat, 17 Nov 2007 12:19:07 +0200, Donn Ingle wrote:
BTW, it is a convention for method names to be lower case, and classes
to be Title case. Seeing something like obj.Draw, most(?) Python
developers will expect that the Draw attribute of obj is itself a
class:
Thanks, I'm pretty damn
Chris M wrote:
There's something to be said
about users with signatures longer than their messages...
Just be happy I didn't spell out UCLA and DOE.
James
--
James Stroud
UCLA-DOE Institute of Genomics and Proteomics
Box 951570
Los Angeles, CA 90095
http://www.jamesstroud.com
--
Well, you would if you override the two set_* methods to set both
height and width to the same value G
But that breaks expectations: a user doesn't expect set_width() to
affect
the height.
I can't speak for everyone but I certainly expect setting the width of
a Square to change
Thanks, good tips all-round. I have it working okay at the moment with all
the suggestions. It may break in future, but that's another day :)
/d
--
http://mail.python.org/mailman/listinfo/python-list
This is how I solved it last night in my inefficient sort of way and
after re-reading some of my Python books on dictionaries. So far this
gets the job done. However, I'd like to test if there are any
countries in the excel input that are not represented, ie the input is
all the information I
En Sat, 17 Nov 2007 08:34:43 -0300, [EMAIL PROTECTED] escribió:
for i, country in countries_list:
if country in REGIONS_COUNTRIES['European Union']:
matrix.write(i+2, 1, country)
but I got ValueError: too many values to unpack
Remove the i, and try again...
--
Gabriel
On 11/17/07, Cope [EMAIL PROTECTED] wrote:
In our place we eat pythons for curry. Its delicious.
And how about your python?
Cope
Not much of the difference here, it is just a bit more flexible. My
python goes and brings me whatever I wish to eat.
Cheers,
--
--
Amit Khemka
--
Hi..
I want to show the pictures with mod python directly.
( it support cache and image headers)
def showimage(req):
some process...
open /var/www/a.jpg and print
How can i do it ?
I'm sorry for my bad english.
Kind Regards
--
http://mail.python.org/mailman/listinfo/python-list
Bjoern Schliessmann [EMAIL PROTECTED] wrote:
Benjamin wrote:
Python is has duck typing. If it quacks like a duke, it's duck.
How do dukes quack, exactly? :)
Regards,
They quack with a North-eastern Scottish accent of course.
The following excerpt from Scots: Practical Approaches
On Nov 17, 12:14 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Nov 16, 3:10�pm, Alan [EMAIL PROTECTED] wrote:
On Nov 16, 8:29 pm, [EMAIL PROTECTED] wrote:
I still don't get it and I've been haunting this group for months...
Mike
Go on then �...
What ?
The punchline, do the
On Nov 17, 5:00 pm, Amit Khemka [EMAIL PROTECTED] wrote:
On 11/17/07, Cope [EMAIL PROTECTED] wrote:
In our place we eat pythons for curry. Its delicious.
And how about your python?
Cope
Not much of the difference here, it is just a bit more flexible. My
python goes and brings me
In a makefile I want to locate the .so for a dynamically linked
Python on Linux. (for cx_Freeze's --shared-lib-name)
e.g. by running a small script with that Python. How to?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Hello!
I'm using beautiful soup html parser, and I need to get all 'div
class=g.../div' tags.
It can be done by:
import BeautifulSoup as BSoup
...
soup = BSoup(page)
for div in soup.findAll('div', class='g'):
do something
But how can I use `class` as kwarg name?
--
Vladimir Rusinov
Need some suggestions as to how to set environment variable in Windows XP.
Got XML which has a timestamp in Eastern Standard time, but would like to strip
it out for comparison with expected result.
Harry C. Wang
Automated Tester
AOL Mobile
--
On Saturday 17 November 2007 01:32:52 pm Cope wrote:
On Nov 17, 5:00 pm, Amit Khemka [EMAIL PROTECTED] wrote:
On 11/17/07, Cope [EMAIL PROTECTED] wrote:
In our place we eat pythons for curry. Its delicious.
And how about your python?
Cope
Not much of the difference here, it is
Hi,
I am trying to get my python app to output the name of the control under the
mouse each time it is clicked. Currently, I am trying to do this with a
combination of pyhook and pyAA, but pyAA gives me pyAA.Error: -2147417843 for
almost any control in Microsoft Office apps, for example. If
Michael Bacarella mb...opper.comwrote:
I am so sorry to have ruined the decorum.
Oh dear!
I confidently predict that this thread will now
degenerate to include such things as dignitas
and gravitas.
- Hendrik
--
http://mail.python.org/mailman/listinfo/python-list
But how can I use `class` as kwarg name?
soup.findAll('div', **{'class':'g'})
--
http://mail.python.org/mailman/listinfo/python-list
Vladimir Rusinov wrote:
I'm using beautiful soup html parser, and I need to get all 'div
class=g.../div' tags.
It can be done by:
import BeautifulSoup as BSoup
...
soup = BSoup(page)
for div in soup.findAll('div', class='g'):
do something
But how can I use `class` as kwarg
On Nov 17, 1:46 pm, Brian [EMAIL PROTECTED] wrote:
Had a unsettling conversation with a CS instructor that
teaches at local high schools and the community
college. This person is a long-term Linux/C/Python
programmer, but he claims that the install, config, and
library models for C# have
Had a unsettling conversation with a CS instructor that
teaches at local high schools and the community
college. This person is a long-term Linux/C/Python
programmer, but he claims that the install, config, and
library models for C# have proved to be less
problematic than Python. So both his
Vladimir Rusinov [EMAIL PROTECTED] wrote:
I'm using beautiful soup html parser, and I need to get all 'div
class=g.../div' tags.
It can be done by:
import BeautifulSoup as BSoup
from BeautifulSoup import BeautifulSoup as BSoup
...
soup = BSoup(page)
for div in soup.findAll('div',
programmer, but he claims that the install, config, and
library models for C# have proved to be less
problematic than Python. So both his courses (intro,
data structs, algorithms) are taught in C#.
A little anecdotal comparison from some of my experience with two
web apps deployed at my
On Nov 17, 7:46 am, Brian [EMAIL PROTECTED] wrote:
This person is a long-term Linux/C/Python
programmer, but he claims that the install, config, and
library models for C# have proved to be less
problematic than Python.
If his students have problems installing Python on Windows, show him
this.
I dunno about your dog :) but Python libs are not too demanding. From a
Gnu/Linux pov with package managers things are quite simple.
My wish is to find a way to make that even easier because the packaged
modules are not always up to date.
If the Cheese Shop could supply downloads of modules and
Wensui Liu wrote:
Might anyone recommend a good code snippet manager to me?
Thank you so much!
What does good mean in that sense? If you want an editor-independent
solution, plain-textfiles never fail (by definition, sort of).
If your text editor does not support them, but you want inline
On Fri, 2007-11-16 at 16:47 -0800, Bruza wrote:
I think I need to explain on the probability part: the prob is a
relative likelihood that the object will be included in the output
list. So, in my example input of
items = [('Mary',30), ('John', 10), ('Tom', 45), ('Jane', 15)]
So, for any
On Nov 17, 3:45 am, Vladimir Rusinov [EMAIL PROTECTED]
wrote:
Hello!
I'm using beautiful soup html parser, and I need to get all 'div
class=g.../div' tags.
It can be done by:
import BeautifulSoup as BSoup
...
soup = BSoup(page)
for div in soup.findAll('div', class='g'):
do
Hi,
Is there a way to create a .dll from a python program which includes
the python runtime?
I'm building a Windows application (C# VisualStudio2005) and I'd like
to utilize some of the functionality available in a Python module. For
my users who install my Windows application, I'd prefer that
I'm about halfway through Charles Stross' excellent new novel,
Halting State. It's set in Edinburgh in the year 2018, and one of
the main characters is a game programmer whose primary language is
something called Python 3000.
The cover features blurbs from William Gibson, Vernor Vinge, John
On Nov 17, 10:37 am, Wade Leftwich [EMAIL PROTECTED] wrote:
I'm about halfway through Charles Stross' excellent new novel,
Halting State. It's set in Edinburgh in the year 2018, and one of
the main characters is a game programmer whose primary language is
something called Python 3000.
The
On 2007-11-17, Odalrick [EMAIL PROTECTED] wrote:
But that breaks expectations: a user doesn't expect
set_width() to affect the height.
I can't speak for everyone but I certainly expect setting the
width of a Square to change it's height. In fact, that would
probably be the reason I used a
On 2007-11-17, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Nov 16, 3:10?pm, Alan [EMAIL PROTECTED] wrote:
On Nov 16, 8:29 pm, [EMAIL PROTECTED] wrote:
I still don't get it and I've been haunting this group for months...
Mike
Go on then ?...
What ?
The punchline, do the punchline
Hi...
new to python, trying to debug an app
i have :
lib]# cat foo
#!/usr/bin/python2.4 -OO
# -*- coding: ascii -*-
# vim:ts=4:sw=4:softtabstop=0:smarttab
#
import sys
import slstorageserver
slstorageserver.storaged(sys.argv)
==
i do a
On Nov 17, 9:37 am, Wade Leftwich [EMAIL PROTECTED] wrote:
I'm about halfway through Charles Stross' excellent new novel,
Halting State. It's set in Edinburgh in the year 2018, and one of
the main characters is a game programmer whose primary language is
something called Python 3000.
I should
I think that without further information from the OP about the
requirements all we can do is guessing. So both of our solutions are
just theory after all (just my personal opinion)
2007/11/14, [EMAIL PROTECTED] [EMAIL PROTECTED]:
On Nov 12, 11:27 am, Martin Marcher [EMAIL PROTECTED] wrote:
I just found this for win32 which seems to be the same as FAM provides:
http://tgolden.sc.sabren.com/python/win32_how_do_i/watch_directory_for_changes.html
So it's not about FAM as a definitive product to be used but more like
something nearer to the OS that is there anyway and will tell you
I don't know if this will help you, but if you can, install Eric. It's an
IDE that I often use and you can do point and click debugging with
breakpoints and nice displays of all vars and whatnot as you go. Much
easier than fiddling with the debugger manually.
/d
--
On Sat, 2007-11-17 at 03:34 -0800, [EMAIL PROTECTED] wrote:
#This seems to not work today and I don't know why
#for country in countries_list:
#if country not in REGIONS_COUNTRIES['European Union'] or not in
REGIONS_COUNTRIES['North America']:
#print %s is not in the expected
Donn Ingle [EMAIL PROTECTED] writes:
I don't know if this will help you, but if you can, install Eric. It's an
IDE that I often use and you can do point and click debugging with
breakpoints and nice displays of all vars and whatnot as you go. Much
easier than fiddling with the debugger
Hi folks - wondering if anyone has any pointers on troubleshooting
garbage collection. My colleagues and I are running into an
interesting problem:
Intermittently, we get into a situation where the garbage collection
code is running in an infinite loop. The data structures within the
garbage
Have given up Java. Want to switch to Python. But _which_ ?
There is ver :
2.5 out now
2.6 in beta , final expected Apr 2008
3.0 ? in alpha or beta
3.0 final expected Sep 2008 ?
Will the real python please stand up.
Thanks, Dave WB3DWE [EMAIL PROTECTED]
--
On Nov 17, 10:00�am, Neil Cerutti [EMAIL PROTECTED] wrote:
On 2007-11-17, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Nov 16, 3:10?pm, Alan [EMAIL PROTECTED] wrote:
On Nov 16, 8:29 pm, [EMAIL PROTECTED] wrote:
I still don't get it and I've been haunting this group for months...
On Nov 17, 12:20 pm, Dave WB3DWE wrote:
Have given up Java. Want to switch to Python. But _which_ ?
There is ver :
2.5 out now
2.6 in beta , final expected Apr 2008
3.0 ? in alpha or beta
3.0 final expected Sep 2008 ?
This is not for us to decide, but rather for
On Nov 17, 8:25 am, Donn Ingle [EMAIL PROTECTED] wrote:
I dunno about your dog :) but Python libs are not too demanding. From a
Gnu/Linux pov with package managers things are quite simple.
My wish is to find a way to make that even easier because the packaged
modules are not always up to
On Nov 17, 12:19 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Nov 17, 10:00�am, Neil Cerutti [EMAIL PROTECTED] wrote:
On 2007-11-17, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
On Nov 16, 3:10?pm, Alan [EMAIL PROTECTED] wrote:
On Nov 16, 8:29 pm, [EMAIL PROTECTED] wrote:
I
On 11/17/07, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
Have given up Java. Want to switch to Python. But _which_ ?
There is ver :
2.5 out now
2.6 in beta , final expected Apr 2008
3.0 ? in alpha or beta
3.0 final expected Sep 2008 ?
Will the real python please stand
On Nov 17, 2007 6:20 PM, [EMAIL PROTECTED] wrote:
Have given up Java. Want to switch to Python.
Welcome!
But _which_ ?
There is ver :
2.5 out now
2.6 in beta , final expected Apr 2008
You should go for 2.5.1 unless you have a reason to stick to an older
version. (Such reasons
plans are afoot
You know, I've always wanted ask; if plans are afoot, what are hands?
:D
Sorry, it's late.
/d
--
http://mail.python.org/mailman/listinfo/python-list
foobar = HI!
x = 'foo'
y = 'bar'
print eval(x+y)
HI!
Great! Thanks.
-T
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I need to read in a system of files and write them to an iso 9660, any
libraries suited to this task that are up to date? Python 2.4 or 2.5
should be assumed.
Cheers,
Bryan Rasmussen
--
http://mail.python.org/mailman/listinfo/python-list
Interesting idea, although it's not something I'd want included and
turned on by default. Should certainly be possible, though, with a
little __import__ magic.
Well, since we're shooting the sh*t :), I tried in my one and only released
app (Fonty Python) to wrap the imports in try clauses and
Paul McGuire wrote:
On Nov 17, 9:37 am, Wade Leftwich [EMAIL PROTECTED] wrote:
I'm about halfway through Charles Stross' excellent new novel,
Halting State. It's set in Edinburgh in the year 2018, and one of
the main characters is a game programmer whose primary language is
something called
Paul McGuire pisze:
I'm about halfway through Charles Stross' excellent new novel,
Halting State. It's set in Edinburgh in the year 2018, and one of
the main characters is a game programmer whose primary language is
something called Python 3000.
I should hope that by 2018, Python 4000
On Nov 17, 2007 4:25 PM, Paul McGuire [EMAIL PROTECTED] wrote:
On Nov 17, 9:37 am, Wade Leftwich [EMAIL PROTECTED] wrote:
I'm about halfway through Charles Stross' excellent new novel,
Halting State. It's set in Edinburgh in the year 2018, and one of
the main characters is a game programmer
On Nov 15, 10:20 pm, owl [EMAIL PROTECTED] wrote:
and here I thought I was going to finally be able to change the world
AND contribute back to python with my amazing clear screen extension -
but I can't get it to work. ;(
Copying from ZoomHeight.py and someone else's clever print suggestion:
On Nov 17, 4:20 pm, Dave WB3DWE wrote:
Have given up Java. Want to switch to Python. But _which_ ?
There is ver :
2.5 out now
2.6 in beta , final expected Apr 2008
3.0 ? in alpha or beta
3.0 final expected Sep 2008 ?
Will the real python please stand up.
Thanks,
The gui is an issue. Does one TK or rely on some fall-back system of
gnome/kde/x11/windows dialogue boxes (ending in abject failure by way of
raw_input on the command line)? Or (perhaps) have it fetch a standard
dialogue library which would fetch and install what is needed for future
Hi,
is there a module for accessing and editing wikipages in an automated
fashion?
Thx
M
--
http://mail.python.org/mailman/listinfo/python-list
Knuth says to pick N distinct records from a collection where the
probability is equal you should:
first fill up N records by chosing the first seen.
if less than N were in the collection, quit.
otherwise, t = (the number of items looked at) or N to start.
while your not at the end of the
On Fri, 16 Nov 2007 18:30:28 -0800, George Sakkis wrote:
On Nov 16, 5:03 pm, Steven D'Aprano [EMAIL PROTECTED]
cybersource.com.au wrote:
On Fri, 16 Nov 2007 18:28:59 +0100, Bruno Desthuilliers wrote:
Question 1:
Given that the user of the API can choose to override foo() or not,
how
Hi,
I am struggling to make the ipython or python works in xemacs. I have been
seraching on the internet for a solution for one day. I have put python-mode.el
and ipython.el in the load-path and in the xemacs I type: M-x load library
ipython. Then M-x py-shell. However, I could not get the
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm not sure if this is as easy a question as I'd like it to be, but
here goes
I'm working on an application that is very memory intensive, so we're
trying to reduce the memory footprint of classes wherever possible. I
have a need for a
On Sat, 17 Nov 2007 13:51:16 -0800, [EMAIL PROTECTED] wrote:
I am not guaranteeing this even works. I am seeing that there is some
collision among the numbers, but it will work for the most part.
Work for the most part -- is that another way of saying Apart from the
bugs, this is bug-free?
For years now Python has not supported variable-length lookbehinds.
I'm just curious whether there are any plans to change this in Python
3.0, or before, or after. It seems that Perl 6 will allow variable-
width lookbehinds (see http://dev.perl.org/perl6/doc/design/apo/A05.html
and
OKB (not okblacke) [EMAIL PROTECTED] writes:
For years now Python has not supported variable-length lookbehinds.
I'm not sure what that is and the perl links you gave don't work, but
it sounds evil. Basically it sounds like an even uglier form of
regexp backtracking than what we have
I've got a system where I try to install extensions using
/usr/local/bin/python setup.py install
But, it fails when it tries to use a non-existant compiler path
and specs file. I suspect it's trying to use the compieler
that was used to build /usr/bin/python.
How do I get it to use the
mhearne808[insert-at-sign-here]gmail[insert-dot-here]com
[EMAIL PROTECTED] wrote:
Is is possible to get the timestamp of a file on a web server if it
has a URL?
No, not in the general case.
For example, let's say that I want to know when the following file was
created:
Paul Rubin wrote:
OKB (not okblacke) [EMAIL PROTECTED] writes:
For years now Python has not supported variable-length
lookbehinds.
I'm not sure what that is and the perl links you gave don't work,
but it sounds evil.
The links work fine for me. . .
Hi,
I have a problem:
1. Assuming that my application is a SOAP server that uses SOAPpy,
2. I am given port 35021 for use.
What I normally do (simply) is:
functionlist = [some exposed functions]
import SOAPpy
server = SOAPpy.SOAPServer((some host, 35021))
for func in functionlist:
Dave WB3DWE wrote:
Have given up Java. Want to switch to Python. But _which_ ?
There is ver :
2.5 out now
2.6 in beta , final expected Apr 2008
3.0 ? in alpha or beta
3.0 final expected Sep 2008 ?
Will the real python please stand up.
Thanks, Dave WB3DWE
All,
Running OS X 10.4.11 PPC. No Intel.
I downloaded:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg
I started the install, accepted the license, selected easy install,
then upgrade, entered my password for the mac, but the installation
process finished with:
There were
David wrote:
Running OS X 10.4.11 PPC. No Intel.
I downloaded:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg
I started the install, accepted the license, selected easy install,
then upgrade, entered my password for the mac, but the installation
process finished with:
Wang, Harry wrote:
Need some suggestions as to how to set environment variable in Windows XP.
os.environ['SUX'] = 'windowsxp'
Got XML which has a timestamp in Eastern Standard time, but would like to
strip it out for comparison with expected result.
Example?
--
James Stroud
UCLA-DOE
robert wrote:
In a makefile I want to locate the .so for a dynamically linked Python
on Linux. (for cx_Freeze's --shared-lib-name)
e.g. by running a small script with that Python. How to?
Robert
def findaso(aso):
import os
for apath in os.sys.path:
if not
Proposal:
When an attribute lookup fails for an object, check the top-level
(and local scope?) for a corresponding function or attribute and apply
it as the called attribute if found, drop through to the exception
otherwise. This is just syntactic sugar.
Example:
a = [1,2,3]
a.len()
#
On Nov 17, 7:27 pm, James Stroud [EMAIL PROTECTED] wrote:
David wrote:
Running OS X 10.4.11 PPC. No Intel.
I downloaded:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg
I started the install, accepted the license, selected easy install,
then upgrade, entered my password
David wrote:
On Nov 17, 7:27 pm, James Stroud [EMAIL PROTECTED] wrote:
David wrote:
Running OS X 10.4.11 PPC. No Intel.
I downloaded:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg
I started the install, accepted the license, selected easy install,
then upgrade, entered my
On Nov 17, 8:36 pm, James Stroud [EMAIL PROTECTED] wrote:
David wrote:
On Nov 17, 7:27 pm, James Stroud [EMAIL PROTECTED] wrote:
David wrote:
Running OS X 10.4.11 PPC. No Intel.
I downloaded:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg
I started the install, accepted
David wrote:
On Nov 17, 8:36 pm, James Stroud [EMAIL PROTECTED] wrote:
David wrote:
On Nov 17, 7:27 pm, James Stroud [EMAIL PROTECTED] wrote:
David wrote:
Running OS X 10.4.11 PPC. No Intel.
I downloaded:
http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg
I started the install,
According to Python in a Nutshell(2nd), p. 523:
connect: s.connect((host, port))
...
Blocks until the server accepts or rejects the connection attempt.
However, my client program ends immediately after the call to
connect()--even though my server program does not call accept():
Anyone know anything about this book? I've read a few intro Python books
already, but I'm always interested in reading more to reinforce the
language. No reviews on Amazon yet so I'm not sure if it's good or not.
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Hi..
I want to show the pictures with mod python directly.
def showimage(req):
some process...
open /var/www/a.jpg and print
for example if i open:
domain.com/a.py/showimage
It must show me image directly (no redirect or html)
How can i do it ?
I'm sorry for my bad english.
Kind
Here's an interesting Podcast musing on the possible future of Python
and computing, illustrated and commentated by SonomaSunshine...
Enjoy...
http://samfeltus.com/kudzu/Nanoprogramming_podcast.html
--
http://mail.python.org/mailman/listinfo/python-list
New submission from Christian Heimes:
I've come up with a quick hack to support VS 2008. VS 2008 Standard
Edition doesn't store the include and lib dirs in the registry any more.
However I came up with a nice way to get the env settings from the
vcvarsall.bat. How do you like it?
Do we need
Martin v. Löwis added the comment:
There is always the debate whether distutils might be repackaged and
backported to older Python releases, therefore people hesitate to remove
support for older versions.
As for finding it in the registry: are you sure it has no registry
settings anymore? I
Martin v. Löwis added the comment:
As another note: you shouldn't remove support code for Itanium. Even
though no Itanium binaries will be produced at the releases, I see no
reason to rip the code out - people with Itanium machines should still
be able to build Python, with some effort.
1 - 100 of 112 matches
Mail list logo