Re: Python's website does a great disservice to the language

2005-11-01 Thread Robert Kern
[EMAIL PROTECTED] wrote: > So the first thing you do when you go to a web page is to google if > they are going to redesign it? No one is suggesting that it should be. However, Googling before coming to a newsgroup to complain about anything is usually a good idea. -- Robert Kern

Re: Object-Relational Mapping API for Python

2005-11-01 Thread Robert Boyd
On 1 Nov 2005 11:22:23 -0800, Aquarius <[EMAIL PROTECTED]> wrote: I explored Java's Hibernate a bit and I was intrigued by how you canmap entity objects to database tables, preserving all the relations andconstraits. I am interested if there is something like this for Python - I noticed some APIs i

Re: where to download md5.py?

2005-11-02 Thread robert . dowell
So when you type this into an interactive session: >>> import sha >>> help(sha) You get an error? -- http://mail.python.org/mailman/listinfo/python-list

Re: Filepath string manipulation help

2005-11-02 Thread robert . dowell
import os print os.path.basename(filepath) -- http://mail.python.org/mailman/listinfo/python-list

Re: lists <-> tuple

2005-11-02 Thread Robert Kern
? You'll probably want to use scipy_core. It's a package designed specifically to deal with multidimensional arrays of homogeneous, (usually) numeric data. http://numeric.scipy.org -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves

Re: [OT] Gmane/Tunderbird users: is g.c.p.general too big?

2005-11-02 Thread Robert Kern
one else noticed this, or is it specific to my setup? Does anyone > have a solution? You can specify a policy for keeping old messages for each server account. Go to your "Account Settings" for GMane and look in "Offline & Disk Space". You can choose to keep all messages

Re: reading internet data to generate random numbers.

2005-11-02 Thread Robert Kern
ine as a source of randomness. It does not work as a stream of uniform random bytes, which is a different thing altogether (and to be fair, Mike made that distinction fairly clearly). It's perfectly good as one of many sources to draw on to rekey a cryptographically strong PRNG, though. C.f. h

Re: installing PygreSQL and psychopg2 modules (a newbie question)

2005-11-03 Thread Robert Boyd
On 11/2/05, Zlatko Matić <[EMAIL PROTECTED]> wrote: I was trying to install PygreSQL and psychopg2 in order to use python as front-end for PostgreSQL, on WIndows XP. When I tried to install by calling setup.py from command prompt ("setup.py install"), in both cases I had the same error

RE: Python Framework that works with IIS/SQL Server?

2005-11-03 Thread Robert Brewer
SQL Server in SQLObject, which both frameworks also use: http://sqlobject.org/SQLObject.html#ms-sql-server I use bare CherryPy with my own ORM, which handles SQL Server quite well: http://projects.amor.org/dejavu Robert Brewer System Architect Amor Ministries [EMAIL PROTECTED] -- http://mail

Re: Filepath string manipulation help

2005-11-04 Thread robert . dowell
I just assumed he had heard of me and knew better than to take my advice. :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: Multiples of a number

2005-11-05 Thread Robert Kern
ing something substantive on every 1-increment; he just needs to do something extra (like print some diagnostic information) on every 100-increment. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harte

Re: Map of email origins to Python list

2005-11-07 Thread Robert Kern
e server that's registered under the domain > name? Most of AOL's offices are in Dulles, VA. Google's headquarters are in Mountain View, CA. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." --

Re: PYTHON LOOSING FOR JAVA???????

2005-11-07 Thread Robert Boyd
On 7 Nov 2005 14:04:53 -0800, Fcamattti <[EMAIL PROTECTED]> wrote: So I have a doubt. I'd like to know what do you think about the jointof efforts of Sun Microsystems and the Google to create a office webbased. I sincerely enjoy the idea althoug I'd like to know what will bethe future of this wonde

Re: overloading *something

2005-11-07 Thread Robert Kern
... myargs = myclass() mykwds = myclass() doit(*myargs.totuple(), **mykwds.todict()) -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Robert Kern
Matt Feinstein wrote: > On Tue, 08 Nov 2005 12:30:35 GMT, "Raymond L. Buvel" > <[EMAIL PROTECTED]> wrote: >>http://calcrpnpy.sourceforge.net/clnumManual.html > > Unless you're using Windows. Why? Have you tried compiling it and failed? -- Robert Kern [E

Re: any python module to calculate sin, cos, arctan?

2005-11-08 Thread Robert Kern
Matt Feinstein wrote: > On Tue, 08 Nov 2005 06:43:51 -0800, Robert Kern > <[EMAIL PROTECTED]> wrote: > >>Matt Feinstein wrote: >> >>>On Tue, 08 Nov 2005 12:30:35 GMT, "Raymond L. Buvel" >>><[EMAIL PROTECTED]> wrote: >> >>

Re: debugger

2005-11-08 Thread robert . dowell
Benji York wrote: > mclaugb wrote: > > Is there a decent debugger to use with IDL? I have briefly about "PDB" but > > this looks pretty limited in features and difficult to use. > > You might like Winpdb: > http://www.digitalpeers.com/pythondebugger/ > -- > Benji York Not Found The requested UR

Re: debugger

2005-11-08 Thread robert . dowell
Benji York wrote: > [EMAIL PROTECTED] wrote: > > Benji York wrote: > >>You might like Winpdb: > >>http://www.digitalpeers.com/pythondebugger/ > > > > Not Found > > > > The requested URL /pythondebugger/-- was not found on this server. > > Apache/2.0.52 (Red Hat) Server at www.digitalpeers.com Port

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-08 Thread Robert Hicks
Ah, another one leaves the fold... : \ Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: overloading *something

2005-11-08 Thread Robert Kern
o me. UserDict only exists for backwards compatibility with old code that used it before one could subclass from dict directly. Don't use it if you can avoid it. UserDict only ever exposed the Python-side interface of dicts. It couldn't expose the C-side interface, and it's the C-sid

Re: triangulation

2005-11-09 Thread Robert Kern
Shi Mu wrote: > is there any sample code to triangulation? many thanks! Triangulation of what? Scattered points in a plane? 2D manifolds embedded in a 3D space? Delaunay triangulations? Constrained triangulations? -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the gra

Re: Any available SAML 2.0 tools in Python ?

2005-11-09 Thread Robert Boyd
On 11/9/05, Roland Hedberg <[EMAIL PROTECTED]> wrote: Hi!The subject says it all.If there isn't anything already available, does anyone know aboutanyone working on something ? Have you talked to any developers of Lasso? (http://lasso.entrouvert.org) It has Python bindings, and the project also prod

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-09 Thread Robert Hicks
he spring. Tk is getting a native L&F uplift as well. However, I think it is more perception than function now. Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL-> Tkinter

2005-11-09 Thread robert . dowell
I have an app that I wrote to move images from a camera/portable media to an archive directory. It is using TKInter and PIL to display each jpg as it is transfered. I can email you the code if you would like. -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL-> Tkinter

2005-11-09 Thread robert . dowell
I'm having issues with gmail at work but I will try to email it from home tonight. -- http://mail.python.org/mailman/listinfo/python-list

Re: overloading *something

2005-11-09 Thread Robert Kern
hat needs a bona fide dictionary is PyObject_Call in Objects/abstract.c . If you can work up a patch, Guido will probably consider it although I would suggest searching python-dev for previous discussions first. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high

Re: triangulation

2005-11-09 Thread Robert Kern
implementations of Delaunay triangulation in pure Python, though, if that's what you want. You can easily find more sample code in other languages by googling. http://svn.scipy.org/svn/scipy/branches/newscipy/Lib/sandbox/delaunay/ -- Robert Kern [EMAIL PROTECTED] "In the fields of hell whe

Re: struct, IEEE-754 and internal representation

2005-11-09 Thread Robert Kern
usly not understanding something... > help? Yes, Python uses C double precision floats for float objects. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-10 Thread Robert Hicks
bout Tk and I am actually talking with someone about adding a wxTcl to the mix as well. I think wx is a much better toolkit. > It is all a question what you want to solve and how you want to solve > it. That is so true. Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: Stopping Execution

2005-11-10 Thread robert . dowell
import sys sys.exit -- http://mail.python.org/mailman/listinfo/python-list

Re: [Tutor] triangulation

2005-11-10 Thread Robert Kern
ython and abandoned it for being unusably slow. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Hash map with multiple keys per value ?

2005-11-11 Thread Robert Kern
hat everybody else does. You may want to use sets instead of lists, but otherwise I think your approach is pretty standard. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: about array,arange

2005-11-12 Thread Robert Kern
away once we're done converting to the needed array. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: about array,arange

2005-11-12 Thread Robert Kern
Shi Mu wrote: > On 11/12/05, Robert Kern <[EMAIL PROTECTED]> wrote: > >>Shi Mu wrote: >> >>>i got confused by the use of array and arange. >>>arange get array and range get list, why we need the two different types? >> >>When you're aski

Re: Can't uninstall wxPython

2005-11-12 Thread Robert Hicks
on installs...so you will need to reinstall the version you wanted. HTH, Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: circle and point

2005-11-12 Thread Robert Kern
x1, y1, x2, y2) return ((x-centerx)**2 + (y-centery)**2 <= (x0-centerx)**2 + (y0-centery)**2) -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.o

Re: something wrong in wx

2005-11-13 Thread Robert Tomasik
Dnia Sun, 13 Nov 2005 08:29:49 +, Tim Roberts napisał(a): >>I wrote program training na Artificial Neural Network. It work well in >>console mode, but when I try to add GUI there is an error: >>FANN Error 10: Error reading info from train data file "zapis.txt", line: 2 > > How are you launchi

Re: open source and pure python

2005-11-13 Thread Robert Kern
Ben Bush wrote: > Is there any package written in pure python code? Quite a lot. Browse through the Package Index. http://cheeseshop.python.org/pypi -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die."

Re: Copyright

2005-11-13 Thread Robert Kern
sewhere. > > It's got as much right to be here as the copyright crap. And I'm > trying to keep it to the minimum required to refute the political crap > I'm answering. Off-topic responses are just as off-topic as the off-topic posts they are responding to. Take 'em off-

Re: circle and point

2005-11-14 Thread Robert Kern
ach other, stop extending. > how can i use python to implement this in Tkinter? Work out the formula on paper. Or google('line intersection'). -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Rich

Re: 3-dimensional plot in Python?

2005-11-15 Thread Robert Kern
Those interfaces are long since deprecated. Please use matplotlib instead. http://matplotlib.sf.net -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: is parameter an iterable?

2005-11-15 Thread Robert Kern
I can't catch it during testing since this is > going to be used by other people. Then *they'll* catch it during testing. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: 3-dimensional plot in Python?

2005-11-15 Thread Robert Kern
Frithiof Andreas Jensen wrote: > "Robert Kern" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>Those interfaces are long since deprecated. Please use matplotlib instead. >> >>http://matplotlib.sf.net > > "Long since"

RE: Reinvent no more forever

2005-11-16 Thread Robert Brewer
pendency tools" are distressingly common, and cost more than reinvention? Robert Brewer System Architect Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Web-based client code execution

2005-11-20 Thread Robert Kern
Paul Watson wrote: > I have read some about AJAX. Is there an APAX coming for Python? Not until browsers have embedded Python interpreters. There's been talk about doing this in Mozilla, but I don't think the talk has turned into usable code, yet. -- Robert Kern [EMAIL PROTEC

Re: best cumulative sum

2005-11-20 Thread Robert Kern
David Isaac wrote: > What's the good way to produce a cumulative sum? > E.g., given the list x, > cumx = x[:] > for i in range(1,len(x)): > cumx[i] = cumx[i]+cumx[i-1] > > What's the better way? Define better. More accurate? Less code? -- Robert Kern [EMAIL PRO

Re: Any royal road to Bezier curves...?

2005-11-20 Thread Robert Kern
wonderful, but I could jimmy-rig something if I could just > get 2D... There's some 2D code (which could be trivially adapted to 3D) in PIDDLE/Sping. In the latest Sping download, look in the file pid.py at the Canvas.curvePoints() method. http://piddle.sourceforge.net/ > Are bezier cu

Re: best cumulative sum

2005-11-20 Thread Robert Kern
> > Or just sum(x). That just gives you the tail end. The OP asked for a cumulative sum; that is, a list with all of the intermediate sums, too. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Numeric array in unittest problem

2005-11-21 Thread Robert Kern
. To get a boolean from a==b, use Numeric.alltrue(a==b). -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Numeric array in unittest problem

2005-11-21 Thread Robert Kern
ll generally return > a true value for ANY comparison of Numeric arrays, causing a very > frequent beginner's bug to be sure. Indeed. This is why numarray and scipy_core have made arrays raise an exception when someone tries to use them as truth values. -- Robert Kern [EMAIL PROT

Re: PIL FITs image decoder

2005-11-22 Thread Robert Kern
sci.edu/resources/software_hardware/pyfits -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL FITs image decoder

2005-11-22 Thread Robert Kern
be possible to > import the data into a numarray object and turn that into something PIL > can read, though. If you can bear having two copies in memory, Image.frombuffer() generally does the trick. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high A

Re: wxPython Licence vs GPL

2005-11-22 Thread Robert Kern
t's also a good idea to document exactly what changes you have made and what is originally someone else's. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: PIL FITs image decoder

2005-11-22 Thread Robert Kern
] = 255 In [11]: img = Image.frombuffer('L', (256,256), z) That creates a black image with a white, horizontal line in the middle. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: email module documentation

2005-11-22 Thread Robert Kern
> > Any idea what I am missing? That's not what I have on OS X with Python 2.4.1. In [1]: import email In [2]: dir(email) Out[2]: ['__all__', '__builtins__', '__doc__', '__file__', '__name__', '__path__', '__versi

Re: wxPython installation issues on Debian

2005-11-23 Thread Robert Kern
lib/python2.3/site-packages. > > Does anyone know how I can force it to install in 2.4's site-packages > directory? Install the right package: python2.4-wxgtk2.4 -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed

[OT] Enough! [was: wxPython Licence vs GPL]

2005-11-23 Thread Robert Kern
Take your off-topic argument off-list. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] Enough! [was: wxPython Licence vs GPL]

2005-11-23 Thread Robert Kern
Steven D'Aprano wrote: > Robert Kern wrote: > >>Take your off-topic argument off-list. > > You don't think questions of the legality of when and > how you can write and distribute Python programs are of > interest to Python developers? The OP's questi

Iterators everywhere in Python 3000 (was: Why is dictionary.keys() a list and not a set?)

2005-11-24 Thread Robert Brewer
affected, with no interface layer in-between to call list() for you. [I wonder how the PyPy folks feel about "iterators everywhere"...?] Given my experience with Dejavu, I'd rather not see Python 3000 move to using iterators with abandon. IMO, it fixes a poor interface (iter) for 5%

Re: Which License Should I Use?

2005-11-25 Thread Robert Kern
/~esr/faqs/Licensing-HOWTO.html It's a draft, but it contains useful information. Also, Larry Rosen's book _Open Source Licensing_ is quite helpful (and free!). http://rosenlaw.com/oslbook.htm -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are t

Re: Which License Should I Use?

2005-11-26 Thread Robert Kern
t;work made for hire" doctrine. You should probably have a chat with a lawyer soon (I am not one! TINLA!). As Steve Holden said, being open with your client and putting an agreement in your contract is probably the best way to ensure that your work will belong to you or, failing that, continue

Re: 2d array slicing problem

2005-11-26 Thread Robert Kern
.sourceforge.net/lists/listinfo/numpy-discussion [2] http://permalink.gmane.org/gmane.comp.python.numeric.general/2690 -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Syntax

2005-11-26 Thread Robert Kern
king Path: %s" % os.getcwd() > > One of these two ways you're not supposed to use for security reasons, > but I'm spacing on which one. I don't think there are any *security* reasons, but stylistically, "import os" is greatly preferred. When someone else reads you

Re: Which License Should I Use?

2005-11-27 Thread Robert Kern
Andrew Koenig wrote: > "Robert Kern" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>You're in something of a gray area, but one that has seen a lot of >>litigation. Although you are "technically" a consultant, you are >>

Re: Which License Should I Use?

2005-11-27 Thread Robert Kern
any deliverable, it's yours. Please stop saying things that are demonstrably untrue and could get people into legal trouble if they believed you. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richa

Re: General question about Python design goals

2005-11-27 Thread Robert Kern
ests, then you'll probably get responses along the lines of "Thank you!", instead. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

PYTHONDOCS on OSX

2005-11-27 Thread Robert Hicks
How do I set this variable in my .bash_profile? I have the html docs in /usr/local/PythonDocs. Thanks for any help... Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: General question about Python design goals

2005-11-27 Thread Robert Kern
Paul Rubin wrote: > Robert Kern <[EMAIL PROTECTED]> writes: > >>Yes. If it's not going to be used, then there's not much point. >>Practicality beats purity, and all that. > > Geez man, "practicality beats purity" only means that if maintai

Re: General question about Python design goals

2005-11-27 Thread Robert Kern
Christoph Zwerschke wrote: >>>Let me ask back: Do I really need to bother and justify it with a use >>>case in a case where the language can be easily made more consistent or >>>orthogonal without breaking anything? > > Robert Kern wrote: > >>Yes. If i

Re: Long integer arrays in Python; how? /Carl

2005-11-28 Thread Robert Kern
ch is not valid, since the integer is > on the right hand side is to large to be assigned to an array element. Use Numeric.UnsignedInt32 as the data type. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die.&qu

Re: PYTHONDOCS on OSX

2005-11-28 Thread Robert Hicks
Dave Opstad wrote: > In article <[EMAIL PROTECTED]>, > "Robert Hicks" <[EMAIL PROTECTED]> wrote: > > > How do I set this variable in my .bash_profile? I have the html docs in > > /usr/local/PythonDocs. > > I have a line in my .profile like thi

Re: Looking for small, impressive 3D-related Python script

2005-11-28 Thread Robert Kern
est bet might be to trawl through the various Python scripts that people have written for Blender to find something impressive. http://www.blender3d.org/cms/Python_Scripts.3.0.html Oh look, L-systems: http://jmsoler.free.fr/util/blenderfile/images/lsystem/lsystem.htm -- Robert Kern [EMAIL P

Re: Which License Should I Use?

2005-11-29 Thread Robert Kern
Andrew Koenig wrote: > "Robert Kern" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>Andrew Koenig wrote: > >>>I'm pretty sure that there was a change to the copyright laws a few years >>>ago (perhaps as part of the

Re: Which License Should I Use?

2005-11-29 Thread Robert Kern
Paul Rubin wrote: > Robert Kern <[EMAIL PROTECTED]> writes: > >>It's a draft, but it contains useful information. Also, Larry Rosen's >>book _Open Source Licensing_ is quite helpful (and free!). >> >> http://rosenlaw.com/oslbook.htm > > Th

Re: Which License Should I Use?

2005-11-29 Thread Robert Kern
Aahz wrote: > In article <[EMAIL PROTECTED]>, > Robert Kern <[EMAIL PROTECTED]> wrote: > >>Don't listen to schmucks on USENET when making legal decisions. Hire >>yourself a competent schmuck. > > Mind if I .sig this? How would you like to be a

Re: Which License Should I Use?

2005-11-29 Thread Robert Kern
ow): > > http://creativecommons.org/license/publicdomain-direct This is the current URL: http://creativecommons.org/licenses/publicdomain/ -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Which License Should I Use?

2005-11-30 Thread Robert Kern
ournal.com/article/6225 Among other places where Rosen has said it, like his book. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython installation issues on Debian

2005-11-30 Thread Robert Kern
why I erroneously recommended installing the apparently nonexistant python2.4-wxgtk2.4). However, it appears that the maintainer of the Debian wxPython is not building packages for both Python 2.3 and 2.4. The maintainer of the Ubuntu wxPython package apparently is. -- Robert Kern [EMAIL PROTECTE

Re: wxPython installation issues on Debian

2005-11-30 Thread Robert Kern
Paul McNett wrote: > Robert Kern wrote: > >>Although Ubuntu is a Debian derivative, it does have different packages. >>At the moment, Debian's default Python is 2.3 although one can also >>install Python 2.4, and most Python packages in Debian have been built >>

Re: mailing list removal

2005-12-01 Thread Robert Kern
Xray wrote: > I would like to be removed from the Python mailing list..can someone > instruct me on how to do this? Look on the bottom of this page: http://mail.python.org/mailman/listinfo/python-list -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grow

Re: Python package installing rationale

2005-12-03 Thread Robert Kern
e one place for them. Fedora Core another. Windows has none at all. And so on. distutils doesn't try to guess although sometimes authors do. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Har

Building Python 2.4 on machines that do not support dynamic loading

2005-12-04 Thread Robert McLay
I have been trying to build python on Cray X1. As far as I can tell it does not support dynamic loading. So the question is: How to build 2.4 without dynamic loading? That is: can I build 2.4 where all the extensions are archived in libpython2.4.a as a static library? Building on the Cray X

Re: How to find the type ...

2005-12-09 Thread robert . dowell
>>> thisisastring = "1" >>> thisisanint = 1 >>> type(thisisastring) >>> type(thisisanint) >>> thisisastring = int(thisisastring) >>> thisisanint = str(thisisanint) >>> type(thisisastring) >>> type(thisisanint) >>> -- http://mail.python.org/mailman/listinfo/python-list

Lambda as declarative idiom (was RE: what is lambda used for in real code?)

2004-12-31 Thread Robert Brewer
bdas for (even if I have to transform Python bytecode into another language to do it at the moment ;). Robert Brewer MIS Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

RE: Frameworks for "Non-Content Oriented Web Apps"

2005-01-02 Thread Robert Brewer
The big issue with leaving this question so generic is that the answers are legion. So I'll just keep it short and make my own shameless plug: try Cation for the Web interface and Dejavu for the data layer, both developed by yours truly. ;) http://www.aminus.org/rbre/python or... svn://c

Re: Howto Extract PNG from binary file @ 0x80?

2005-01-03 Thread Robert Kern
re running into is that the chunk you are passing in does not have 8 characters. Is your input truncated somehow? -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Howto Extract PNG from binary file @ 0x80?

2005-01-03 Thread Robert Kern
seek to position 96. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Lambda as declarative idiom

2005-01-04 Thread Robert Brewer
. Ditto for closures. A more realistic example: term = input("Enter the amount to add") e = expr(x): x + term ...MUCH code passes, maybe even a new process or thread... d = a + e(3) Robert Brewer MIS Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Python evolution: Unease

2005-01-04 Thread Robert Kern
ey are as builtin as anything else. Several other packages build on top of them. And one of the goals of numarray (which is a complete rewrite of Numeric) *is* entry into the standard library. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the grave

RE: Bug in handling of single underscore identifiers?

2005-01-04 Thread Robert Brewer
>>> from path import sys Traceback (most recent call last): File "", line 1, in ? ImportError: No module named path In your example ("from _mechanoid_Common import Common"), import can't find any module named "_mechanoid_Common" in site-packages, PYTHONPATH, or other known sources. Robert Brewer MIS Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: coding conventions, PEP vs. practice

2005-01-04 Thread Robert Kern
ython distribution." It is not intended to be a style guide for all Python code although many groups do adopt all or part of it for their own style guides. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die."

Re: screen clear question

2005-01-05 Thread Andrew Robert
ainst the resident OS the program is running against and set the clear command based on that. -- Thank you, Andrew Robert E-mail: [EMAIL PROTECTED] Ur: http://shardservant.no-ip.info -- http://mail.python.org/mailman/listinfo/python-list

Re: How to make executable file ?

2005-01-05 Thread Andrew Robert
x_freeze. Details on it can be found at http://starship.python.net/crew/atuining/cx_Freeze/ Binaries are available for Linux and Windows. Alternately, source code is available if you need to compile it for a different platform. -- Thank you, Andrew Robert E-mail: [EMAIL PROTECTED] Ur:

Re: Python evolution: Unease

2005-01-05 Thread Robert Kern
facilities like the csv module will help numarray become more suited for inclusion into the standard library. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter -- http://mail.python.org/mailman/listinfo/python-list

Re: Python evolution: Unease

2005-01-05 Thread Robert Kern
our day to day IDE. It might be useful to you right now as a platform to build a dynamic GUI application (Envisage's intended use) if you are willing to get your hands dirty and help us build Envisage. Hence, it is not being advertised widely. But Alex is right; Envisage does hold a lot of

Re: Python evolution: Unease

2005-01-06 Thread Robert Kern
Alex Martelli wrote: Robert Kern <[EMAIL PROTECTED]> wrote: ... I love eric3, but if you're an eclipse fan, look at enthought's "envisage" IDE -- it seems to me that it has superb promise. ... Is it available for download somewhere? Alex is, I think, jumping the

RE: Pre/Postconditions with decorators

2005-01-06 Thread Robert Brewer
was just talking about @require decorators: http://blog.ianbicking.org/already-under-our-noses.html @require(int, int) def gcd(a, b): ... If we made a "checker" module for such things in the stdlib, we could write most of that: from checker import * @args((list, itemsno

Re: Python evolution: Unease

2005-01-06 Thread Robert Kern
Bulba! wrote: On Wed, 05 Jan 2005 17:25:08 -0800, Robert Kern <[EMAIL PROTECTED]> wrote: I still think numarray is a good start for this. It handles more than just numbers. And RecArray (an array that has different types in each column, as you seem to require) can be subclassed to add

Re: Excluded and other middles in licensing

2005-01-06 Thread Robert Kern
ry strict about this aspect. Alex With my mathematical background, I'm consistent about calling these "non-open" rather than "closed". I don't insist others adopt my nomenclature ... I'm with Cameron on this one. -- Robert Kern [EMAIL PROTECTED] "In the

Re: Excluded and other middles in licensing

2005-01-07 Thread Robert Kern
Alex Martelli wrote: Robert Kern <[EMAIL PROTECTED]> wrote: ... While most people may not think of such programs as "closed source", they most definitely ARE: the definition of open source is very strict about this aspect. ... With my mathematical background, I'm con

<    3   4   5   6   7   8   9   10   11   12   >