Re: merits of Lisp vs Python

2006-12-11 Thread Robert Brown
Paul Rubin writes: > Espen Vestre <[EMAIL PROTECTED]> writes: >> > Can you redefine CLOS methods without calling CLOS functions that tell >> > the object system what to expect (so it can do things like update the >> > MRO cache)? I.e. can you redefine them by poking som

Re: merits of Lisp vs Python

2006-12-11 Thread Robert Brown
"Stephen Eilert" <[EMAIL PROTECTED]> writes: > So, let's suppose I now want to learn LISP (I did try, on several > occasions). What I would like to do would be to replace Python and code > GUI applications. Yes, those boring business-like applications that have > to access databases and consume th

Re: merits of Lisp vs Python

2006-12-11 Thread Robert Brown
greg <[EMAIL PROTECTED]> writes: > From another angle, think about what a hypothetical Python-to-Lisp > translator would have to do. It couldn't just translate "a + b" into > "(+ a b)". It would have to be something like "(*python-add* a b)" where > *python-add* is some support function doing all t

Re: Sorting Multidimesional array(newbie)

2006-12-12 Thread Robert Kern
15]: from numpy import * In [16]: a = array([[5, 2], [1, 3], [1, 2]]) In [17]: a[lexsort(keys=a.transpose()[::-1])] Out[17]: array([[1, 2], [1, 3], [5, 2]]) -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by o

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
big, but it's simple enough to write a map-new-object or loop-new-object or whatever). Library-wise, Python is pretty much a superset of Lisp, and in fact many of the things Lisp was criticised for providing as a standard part of the language are also standard parts of Python. -- Robert Uhl

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
e's an editor for it that indents automatically? Because it's the language for which indentation is automatically determinable. That is, one can copy/paste a chunk of code, hit a key and suddenly everything is nicely indented. -- Robert Uhl <http://public.xdi.org/=ruhl> Flagrant system

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
osomething x)) Which doesn't seem particularly more or less prefixy or infixy than the Python version. Infix is really only used in arithmetic--and there are Lisp macros which give one infix notation if wanted, so one could write: (infix 1 + x / 4) -- Robert Uhl <http://public.

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
ommunity is small and exceedingly bright; it doesn't suffer fools gladly. Python's is larger and friendlier, realising that we were all fools once and that with education many of us get better. o Top-notch Web frameworks Pylons and Django are nice to use and take care of a lot of the bo

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
hon generators as Lisp macros in any > reasonable way. I'm pretty certain it could be done with conditions. -- Robert Uhl <http://public.xdi.org/=ruhl> We're going to Moe's. If we're not back, avenge our deaths. --Homer Simpson -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
functions; it's a second order of structure. -- Robert Uhl <http://public.xdi.org/=ruhl> Face it--Bill Gates is a white Persian cat and a monocle away from being a Bond villain. --Dennis Miller -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
, and French units may be better when dealing with users thereof). -- Robert Uhl <http://public.xdi.org/=ruhl> Traditionally, there are only three classes of people who use 'we' in describing themselves: Royalty (which you aren't), editors (no evidence that this applies) and p

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
r you is a cut-down version of Lisp with worse performance. Pretty much;-) Fewer features, worse performance. Why use 'em? In my case, because the standard library is larger, and because I can get my teammates to use 'em. -- Robert Uhl <http://public.xdi.org/=ruhl> When you di

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
to get back to it but haven't yet. I pretty much skipped that chapter. The bit where it gets mind-boggling is where he creates ID3-tag reading classes from binary-reading primitives and ends up with a complete ID3 library in very few lines of code. -- Robert Uhl <http://public.xdi.org/=ruh

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
tain their code. Emacs has been used for almost thirty years now, by tens (hundreds?) of thousands of programmers, and extended by almost every one of them. > The benefits of extending a language in a domain specific manner are > exaggerated. Certainly they seem useful to the au

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
gency they wouldn't run (as they require X). Now, force me to write Lisp _or_ Python in ed and things will get very ugly... -- Robert Uhl <http://public.xdi.org/=ruhl> Whoa, there. Those are some strong words for somebody who doesn't even own a machine gun. --Milkman Dan -- http://mail.python.org/mailman/listinfo/python-list

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
uldn't infect package B unless B allowed it to. In other words, you have to put the bullet in the chamber, take off the safety and point the gun at your foot. -- Robert Uhl <http://public.xdi.org/=ruhl> What some idiot in Glasgow or NYC, what a million idiots do, has nothing at all to

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
#x27;t prove anything whatsoever (as I imagine that your stuff was a _lot_ more complex), except maybe how great the FSF is for giving away this sort of thing for free. -- Robert Uhl <http://public.xdi.org/=ruhl> `We're ten parsecs from Regina, we've got a full tank of LH-two, a h

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Uhl
I've not written code to 'consume web-services,' but I daresay that NET.HTML.CLIENT (believe that's the name) would do the trick. -- Robert Uhl <http://public.xdi.org/=ruhl> If anybody can show me in the Bible the command, 'Thou shalt not smoke,' I am ready to

Re: merits of Lisp vs Python

2006-12-12 Thread Robert Brown
Paul Rubin <http://[EMAIL PROTECTED]> writes: > Robert Brown <[EMAIL PROTECTED]> writes: >> Luckily, Willem Broekema has written a Python to Lisp compiler called >> clpython that can be consulted to answer questions like these. >> >> http://trac.common

Re: merits of Lisp vs Python

2006-12-13 Thread Robert Uhl
ademic in both languages with modern editors... Or even nearly 30 year old editors; emacs provides support for error-free selection of s-expressions, although to be frank I still don't use them as often as I should. -- Robert Uhl <http://public.xdi.org/=ruhl> Thanks to the joint e

Re: merits of Lisp vs Python

2006-12-13 Thread Robert Uhl
Christophe <[EMAIL PROTECTED]> writes: > Robert Uhl a écrit : > >> The argument from popularity is invalid. French units have overtaken >> standard units, > > Never heard of that French unit thing. Unless you talk about that > archaic unit system that was in

Re: merits of Lisp vs Python

2006-12-13 Thread Robert Uhl
ould argue that optimisation for unit conversion is the wrong choice when designing a system of measures. But this is not the venue for such a discussion, so I'll stop now:-) -- Robert Uhl <http://public.xdi.org/=ruhl> ...It [the Mexican dictatorship] has demanded us to deliver up our arms, w

Re: About alternatives to Matlab

2006-12-14 Thread Robert Kern
uot;, line 1, in ? > NameError: name 'ones' is not defined Use the code that Filip wrote: from numpy import ones, arange, reshape, int32 -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list

Re: speed of python vs matlab.

2006-12-14 Thread Robert Kern
ormance than other > scripting languages. but I'm just surprised that matlab does a great > job compared to python/perl, since matlab is also a interpreted > language, I'm expecting it has silimar performance with python. Matlab uses a JIT compiler along the lines of psyco for sim

Re: merits of Lisp vs Python

2006-12-14 Thread Robert Uhl
ture checking. It's not optimal, but I think it'd get the job done. -- Robert Uhl <http://public.xdi.org/=ruhl> So how *do* you determine the gender of bread? Ah, no doubt L'Academie has vast teams of staff who wander through France assigning gender to inanimate objects, in

Re: first and last index as in matlab

2006-12-17 Thread Robert Kern
matlab? > > If you want functionality similar to Matlab in Python, you should use > Numpy, which has the "take" function to do what you want. Actually, in numpy, we also have "fancy indexing" similar to Matlab's: In [1]: from numpy import * In [2]: ind = arra

Re: python-hosting.com projects: dead?

2006-12-19 Thread Robert Kern
most of the other free Tracs that I could scrounge up through Google. Jason's not just being paranoid. While it may be temporary and he will get hosting back in a few months(!), it's still down, and apparently without warning (I'm not a party to any of this, so I'm simply

Re: Problem in using Pulp

2006-12-21 Thread Robert Kern
le quote and keeps interpreting the rest of the line as a string. Since the line ends before another, unescaped " comes along, it raises the exception that you see. http://docs.python.org/ref/strings.html -- Robert Kern "I have come to believe that the whole world is an enigma, a harmles

Re: Problem in using Pulp

2006-12-21 Thread Robert Kern
s escape all of the backslashes (or use raw strings to avoid the escaping altogether). E.g. "C:\\Documents and Settings\\Amit\\Desktop\\glpk-4.9\\glpk-4.9\\examples\\" or r"C:\Documents and Settings\Amit\Desktop\glpk-4.9\gplk-4.9\examples\" -- Robert Kern &

Re: Problem in using Pulp

2006-12-22 Thread Robert Kern
MRAB wrote: > Robert Kern wrote: >> The last character in that string is a double quote. You don't want that. >> What >> you want to do is escape all of the backslashes (or use raw strings to avoid >> the >> escaping altogether). E.g. >> >>

Google Custom Search Engine

2006-12-26 Thread robert . hundt
send me an email and you can contribute to this search engine and add sites you believe should be given preference to. Over time, it should become better and better... I "donated" a no-nonsense URL: www.codeopt.com Check it out - and let me know what you think (no rants, please)! Cheer

Re: A stupid question

2006-12-28 Thread Robert Kern
m However, none of us know who built your system or any specifics as to what they installed Python for. You should ask them, instead. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpre

Re: Wow, Python much faster than MatLab

2006-12-30 Thread Robert Kern
e doesn't really change anything. However, if type inferencing tools like psyco are taught about numpy arrays like they are already taught about ints, then one could do make it avoid temporaries. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma tha

Re: Unsubscribing from the list

2007-01-02 Thread Robert Kern
bscribe". Follow the instructions in the email that is sent to you. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list

Re: Unsubscribing from the list

2007-01-03 Thread Robert Kern
Dotan Cohen wrote: > On 03/01/07, Fredrik Lundh <[EMAIL PROTECTED]> wrote: >> Robert provided *detailed* instructions, which you ignored. I quoted >> the same instructions in my reply, which you also ignored. the sentence >> after the one where you stopped readin

Re: Set type?

2007-01-04 Thread Robert Kern
_ wrote: > How do you check to see if a variable is a set? I would like to use > > if type(var) is types.SetType: >blah > > but that is not available in types module. I am using 2.4 In [1627]: type(set()) is set Out[1627]: True -- Robert Kern "I have come to

Re: What is proper way to require a method to be overridden?

2007-01-04 Thread Robert Kern
jeremito wrote: > I am writing a class that is intended to be subclassed. What is the > proper way to indicate that a sub class must override a method? raise NotImplementedError -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is ma

Re: What is proper way to require a method to be overridden?

2007-01-04 Thread Robert Kern
.python.org/lib/module-exceptions.html -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list

Re: where to find wx package

2007-01-05 Thread Robert Kern
ly name. > > Where can I get the wx package (for win32 XP)? It's the same project (from the people at www.wxpython.org), they just renamed the package. You already have it installed. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma t

Re: PyType_IsSubtype ()

2007-01-05 Thread Robert Kern
ase try to come up with the smallest self-contained snippet of code that demonstrates the bug so that the rest of us can try to replicate it. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it

Re: howto overload with a NOP (empty statement)

2007-01-06 Thread Robert Kern
lasses, but not in all. > Now apparently it's not allowed to overload a method with an empty > statement. > I could write a nonsense dummy statement, like "A= 3", but isn't there > another way ? pass -- Robert Kern "I have come to believe that the whole worl

Re: c# application calling Scipy

2007-01-06 Thread Robert Kern
ython.org distribution of Python with a bunch of packages; it knows nothing about C#. I know little about Python for .NET beyond its README, but it does seem to be able to embed CPython into a C# application and with some elbow grease, that might work for you. -- Robert Kern "I have come to

Re: Module to read svg

2007-01-08 Thread Robert Kern
e fits what the OP is asking for. SVG defines some non-XML structure for some of its contents. For example: The OP is asking for a module that would parse the "points" attribute into a list: [(100.0, 200.0), (100.0, 100.0)] -- Robert Kern "I have come to believe that the

Re: Module to read svg

2007-01-09 Thread Robert Kern
Tim Roberts wrote: > Robert Kern <[EMAIL PROTECTED]> wrote: > >> Martin v. Löwis wrote: >>> [EMAIL PROTECTED] schrieb: >>>> Does anyone know if there's an actual free implementation of this? >>> For the dom module in it, xml.dom.minidom shou

Re: Maths error

2007-01-09 Thread Robert Kern
Bjoern Schliessmann wrote: > Nick Maclaren wrote: > >> No, don't. That is about another matter entirely, > > It isn't. Actually it really is. That thread is about the difference between str(some_float) and repr(some_float) and why str(some_tuple) uses the repr()

Re: distutils and ctypes

2007-01-09 Thread Robert Kern
ist.gov/oof/oof2/source/oof2-2.0.1.tar.gz The code is in the shlib/ subdirectory. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." --

Re: distutils and ctypes

2007-01-09 Thread Robert Kern
Robert Kern wrote: > [EMAIL PROTECTED] wrote: > >> So finally, my question is, is there a way to get distutils to simply >> build a shared library on windows so that I can use ctypes with them??? > > Not out-of-box, no. The OOF2 project has added a bdist_shlib command w

Re: Newbie - converting csv files to arrays in NumPy

2007-01-09 Thread Robert Kern
om_csv(filename, skip_header=True): f = open(filename) try: reader = csv.reader(f) floats = [] if skip_header: reader.next() for row in reader: floats.append(map(float, row)) finally: f.close() return numpy.array(floats) --

Re: distutils and ctypes

2007-01-09 Thread Robert Kern
Martin v. Löwis wrote: > Not sure it's stupid, but I wonder why you want to use ctypes. What's > wrong with extension modules? What's wrong with ctypes? They're both valid, useful approaches to connect to C libraries. -- Robert Kern "I have come to believe that

Re: distutils and ctypes

2007-01-09 Thread Robert Kern
Martin v. Löwis wrote: > Robert Kern schrieb: >>> Not sure it's stupid, but I wonder why you want to use ctypes. What's >>> wrong with extension modules? >> What's wrong with ctypes? They're both valid, useful approaches to connect >> to C &

Re: Numarray, numeric, NumPy, scpy_core ??!!

2006-01-22 Thread Robert Kern
th you on this bug over on the numpy-discussion 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: Numarray, numeric, NumPy, scpy_core ??!!

2006-01-23 Thread Robert Kern
Sébastien Boisgérault wrote: > Robert Kern wrote: > >>Sébastien Boisgérault wrote: >> >>>By the way, I tried numpy 0.9.4 10 minutes ago and guess >>>what ? 'eigenvalue' is broken too ... (hangs forever) >> >>On what platform? > >

Re: trying to get hash from os.urandom

2006-01-23 Thread Robert Kern
se) > > If you want to use the phrase as a cryptography key, use 6 or so words > instead of 2 words. Indeed. I like to generate {64,128}-bit-strong passphrases using the RFC1751 module provided with pycrypto. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass

Re: Using non-ascii symbols

2006-01-23 Thread Robert Kern
James Stroud wrote: > I can't find "≤, ≥, or ≠" on my keyboard. Get a better keyboard? or OS? On OS X, ≤ is Alt-, ≥ is Alt-. ≠ is Alt-= Fewer keystrokes than <= or >= or !=. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are

Re: Using non-ascii symbols

2006-01-24 Thread Robert Kern
Rocco Moretti wrote: [James Stroud wrote:] >>>>I can't find "?, ?, or ?" on my keyboard. > > Posting code to newsgroups might get harder too. :-) His post made it through fine. Your newsreader messed it up. -- Robert Kern [EMAIL PROTECTED] "In the fie

Re: Using non-ascii symbols

2006-01-24 Thread Robert Kern
t permitted by applicable law. Last login: Mon Jan 9 12:40:28 2006 from 192.168.1.141 [~]$ cat > utf-8.txt x + y ≥ z [~]$ cat utf-8.txt x + y ≥ z Luck isn't involved. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of

Re: Using non-ascii symbols

2006-01-24 Thread Robert Kern
James Stroud wrote: > Robert Kern wrote: > >>James Stroud wrote: >> >>>I can't find "≤, ≥, or ≠" on my keyboard. >> >>Get a better keyboard? or OS? > > Please talk to my boss. Tell him I want a Quad G5 with about 2 Giga ram. > I&

Re: How do I dynamically create functions without lambda?

2006-01-27 Thread Robert Kern
, Pythonic way. ;-) It doesn't exist, yet. Python 3000 isn't even in planning stages, yet. There are just some loose ideas floating around about what will (and won't!) be in it. You can't write Python 3000 compliant code right now because there is nothing to comply with. --

Re: writing large files quickly

2006-01-27 Thread Robert Kern
rbt wrote: > Hmmm... when I copy the file to a different drive, it takes up > 409,600,000 bytes. Also, an md5 checksum on the generated file and on > copies placed on other drives are the same. It looks like a regular, big > file... I don't get it. google("sparse fi

Re: Data Crunching and Charting....

2006-01-28 Thread Robert Kern
lly cool but has some neg. points: > - documentation is not really detailed and there are really few > examples > - not supported anymore (at least i've never found any place supporting > it.. if anyone know bout any support tell me!!) http://code.enthought.com/chaco/ You're pr

Re: Decoupling the version of the file from the name of the module.

2006-01-29 Thread Robert Kern
name, so that newer > libraries weren't blown away by older ones. > > What is the Python solution? Enquiring minds want to know. http://peak.telecommunity.com/DevCenter/PythonEggs http://peak.telecommunity.com/DevCenter/PkgResources -- Robert Kern [EMAIL PROTECTED] "In the

Re: Python module for LX200 telescope command set

2006-01-29 Thread Robert Kern
RayS wrote: > Whatever happened to the astropy list? http://www.scipy.net/mailman/listinfo/astropy -- 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/mai

Re: determinant

2006-01-30 Thread Robert Kern
l need to know things like your platform, your compiler, and the actual text of the errors that you are seeing. http://lists.sourceforge.net/lists/listinfo/numpy-discussion But once you have it installed: In [29]: A Out[29]: array([[0, 1], [2, 3]]) In [30]: numpy.linalg.det(A) Out[30]: -2

popen and stderr

2006-02-01 Thread Robert Deskoski
Hey all, Currently i'm trying to use popen3 to access stderr - i wanted to use it to output some text to the parent process, so it can display it (non-console, graphically is what I mean). Is it possible to write to stderr fromt he child process or, barring this, to attach another stream to the ch

Re: cannot install scipy

2006-02-03 Thread Robert Kern
een that particular error, though. I'd be happy to help you through this on [EMAIL PROTECTED] . We will probably need to see the output of the numpy build. -- 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: cannot install scipy

2006-02-03 Thread Robert Kern
etty ancient version of scipy using the old Numeric, and not the new numpy. -- 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's library support

2006-02-03 Thread Robert Kern
module in perl to implement graph > theory. Is there a graph theory module in python? http://networkx.sourceforge.net And several others if you google a bit. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die."

Re: NumPy error

2006-02-05 Thread Robert Kern
df > on page 12. It is different. We're not really sure why. The simplex method is not an algorithm known for its robustness. Sorry about the confusion with dtypechar. Our releases of numpy and scipy got out of sync. -- 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 and matlab

2006-02-05 Thread Robert Kern
3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4. , 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 5. ]) > % meshgrid...usually to go through all possibly values of a parameter > > [x,y]=meshgrid(1:10,-5:.1:5) In [28]: x,y = mgrid[1:11, -5:5.1:0.1] -- Robert Kern [EMAI

Re: ActiveGrid and Python Frameworks.

2006-02-06 Thread Robert Boyd
On 5 Feb 2006 01:19:43 -0800, Ravi Teja <[EMAIL PROTECTED]> wrote: > Why is no one talking about ActiveGrid, which at least on the surface > seems to be the most polished way to build web applications in Python > so far. They have a sound financial backing, $10 million when I last > heard, made n

Re: Scientific Computing with NumPy

2006-02-06 Thread Robert Kern
mclaugb wrote: > Is Scipy the same thing as ScientificPython? > I am confused if SciPy is just the new version. they appear to be separate > things. They are separate projects. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the gr

Re: Scientific Computing with NumPy

2006-02-06 Thread Robert Kern
ipy 0.4+ is ported to numpy (I recommend using an SVN checkout rather than the tarball). -- 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: Curios issues with Editors

2006-02-09 Thread Robert Boyd
On 9 Feb 2006 04:46:21 -0800, rodmc <[EMAIL PROTECTED]> wrote: > As I said I am most likely to have made an error, being a newbie and > all that. Here is the offending function. I said i would not post > source code but there you go... > > As I said I plan to change this function, so it will no dou

Re: importing maple into python

2006-02-09 Thread Robert Kern
walter kehowski wrote: > Hello, > > Is there for a python program to call maple? http://sage.sourceforge.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

Re: newbie needs serious help

2006-02-09 Thread Robert Boyd
On 2/9/06, Hunsberger, Joy <[EMAIL PROTECTED]> wrote: > OK. Never used python. I need it to install the Google Sitemap program on > our WindowsServer2003(SE) server. > > I downloaded the Python 2.4.2 msi file, and installed it. > > All went well. Now, I have no idea what to do. > And I tried to

Re: Legality of using Fonts

2006-02-10 Thread Robert Kern
ction would > be illegal. Fonts aren't subject copyright, just the hints in most > outline fonts, which are considered computer programs. In the interest of adding some specifics: http://www.faqs.org/faqs/fonts-faq/part2/ -- Robert Kern [EMAIL PROTECTED] "In the fields of he

Re: Scientific Computing with NumPy

2006-02-11 Thread Robert Kern
setup.py install --install-scripts=/usr/local/bin Note: the sudo in that last command is only necessary if your user account does not have write access to /usr/local/bin -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams a

Re: Yet another GUI toolkit question...

2006-02-11 Thread Robert Hicks
Wow you are so wrong about Tk on OSX. Soon this is just not going to be the case at all for any of the system Tcl/Tk runs on. The Tcl folks have come out with a package called "Tile" that is going to be rolled in. It gives you native L&F on OSX, Windows, Linux. Robert -- http://m

Re: Is python very slow compared to C

2006-02-11 Thread Robert Hicks
Most languages are slow compared to "C". Python is fast enough for just about anything you want to do with it. Robert -- http://mail.python.org/mailman/listinfo/python-list

About undisclosed recipient

2006-02-13 Thread Liyana Robert
Sir, Pls help me to know About undisclosed recipient. How we can sent mails to other like this.   Regards, Liya Robert. What are the most popular cars? Find out at Yahoo! Autos -- http://mail.python.org/mailman/listinfo/python-list

Re: Scientific Computing with NumPy

2006-02-15 Thread Robert Kern
PROTECTED] if you will give us some more information like what arguments you gave to the setup script and the exact error messages that you are seeing. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die.&quo

Re: calculating on matrix indices

2006-02-16 Thread Robert Kern
. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, ... -- 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: calculating on matrix indices

2006-02-17 Thread Robert Kern
linspace(start, stop, num=50, endpoint=True, retstep=False) Docstring: Return evenly spaced numbers. Return 'num' evenly spaced samples from 'start' to 'stop'. If 'endpoint' is True, the last sample is 'stop'. If 'retstep'

Re: calculating on matrix indices

2006-02-17 Thread Robert Kern
re also accepted for convenience and correspond to the C types that underlie the respective Python 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: ANN: Release of NumPy 0.9.5

2006-02-17 Thread Robert Kern
rt(arr, mask, vals) Docstring: Similar to putmask arr[mask] = vals but the 1D array vals has the same number of elements as the non-zero values of mask. Inverse of extract. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the g

Re: Numpy for PythonCE

2006-02-18 Thread Robert Kern
"G���" wrote: > Hi, > is there a version of Numpy (or Numarray) available > that is compatible to PythonCE 2.3? I haven't heard of anyone trying. Perhaps you could try compiling the latest SVN of numpy and tell us how it goes on [EMAIL

Re: aborting without killing the python interpreter

2006-02-18 Thread Robert Kern
xceptions do *exactly* what you want in a very clean and simple way. They are a fundamental feature of Python. Do not fear them. They are your friends. -- 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: Multiple assignment and the expression on the right side

2006-02-20 Thread Robert Kern
e wordings are mine. I am not sure if this is what he > intended]. No, it isn't. He says, "Each time the statement executes, the right-hand side expression is evaluated once." "[T]he statement" refers to the multiple assignment as a whole. -- Robert Kern [EMAIL PROTECTE

Re: Using CHACO and UNICODE

2006-02-21 Thread Robert Kern
help here. This is the appropriate list: https://mail.enthought.com/mailman/listinfo/enthought-dev -- 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: deriving from float or int

2006-02-21 Thread Robert Kern
is a reason. http://www.python.org/2.2.3/descrintro.html#__new__ -- 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: deriving from float or int

2006-02-21 Thread Robert Kern
not subclass from floats since it tries to be agnostic about the kind of value you can assign a unit to. -- 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: May i customize basic operator (such as 1==3)?

2006-02-21 Thread Robert Kern
Casey Hawthorne wrote: > I believe you are asking for a side effect from the "==" operator. > > Add print statements to the __eq__ method. The things is, he wants to make those modifications to builtin types, which he can't do. -- Robert Kern [EMAIL PROTECTED] "In

Re: May i customize basic operator (such as 1==3)?

2006-02-21 Thread Robert Kern
ver grow the ability to modify methods on the builtin types. We've discussed several times before, and you can search the archives of this list if you want more information why this is so. -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the gra

Re: new wooden door step - fixing and finishing

2006-02-22 Thread Robert Boyd
On 2/22/06, Magnus Lycka <[EMAIL PROTECTED]> wrote: > jkn wrote: > > Hi all > > Hi! > > > I'm considering having a go at replacing the wooden door step to > > our back door. The original is loose and rotting. > > Aha, like old perl scripts. > > > I'm sure some of this will be clearer when I rem

Re: May i customize basic operator (such as 1==3)?

2006-02-22 Thread Robert Kern
rly good advice for Python. > Then one is prepared to change objects at will and not rely on any > special properties of the builtin types! If you really want to do that, go ahead. I won't stop you. I won't use your code, either. -- Robert Kern [EMAIL PROTECTED] "In the fields

Re: May i customize basic operator (such as 1==3)?

2006-02-22 Thread Robert Kern
kanchy kang wrote: > Is there any improvement version for standard unittest module? > for example, output log information as files. Several! Some build on the framework of unittest.py: nose, OOBTest, testosterone. Some don't: py.test, Sancho. -- Robert Kern [EMAIL PROTECTED] "

Re: why don't many test frameworks support file-output?

2006-02-22 Thread Robert Kern
n you can use pipes. -- 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: computer algebra packages

2006-02-23 Thread Robert Kern
iggybacking.] http://sage.sourceforge.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: editor for Python on Linux

2006-02-24 Thread Robert Boyd
On 2/19/06, Mladen Adamovic <[EMAIL PROTECTED]> wrote: > Hi! > > I wonder which editor or IDE you can recommend me for writing Python > programs. I tried with jEdit but it isn't perfect. > I know you said in the thread that you had problems with jEdit for Python, and didn't care for Emacs or Vi(m)

Re: Numerical solver

2006-02-28 Thread Robert Kern
) iprint -- controls the frequency of output: 0 (no output),1,2,3 maxfun -- maximum number of function evaluations. Returns: x -- the minimum -- Robert Kern [EMAIL PROTECTED] "In the fields of hell where the grass grows high Are the graves of dreams allowed to die.&quo

<    16   17   18   19   20   21   22   23   24   25   >