Re: problem at installing phyton on windows

2007-03-25 Thread Stephen Eilert
On Mar 25, 6:23 pm, "gslm" <[EMAIL PROTECTED]> wrote: > Please, can you read again? > Yes, I understand that in phyton interpreter, i can't call phyton > command.Thanks... > > But how can i run '.py' files from this command line?I wanted to use > the phyton command for this. > > When i click a py e

Re: merits of Lisp vs Python

2007-03-08 Thread Stephen Eilert
On Mar 8, 5:23 am, John Nagle <[EMAIL PROTECTED]> wrote: > Brian Adkins wrote: > > Ken Tilton wrote: > > >> John Nagle wrote: > > Turns out John is having quite a tough time with Python web hosting (the > > thread has split off to a c.l.p only fork), so I'm going to cut him some > > slack. Maybe wi

Re: Decimating Excel files

2007-02-06 Thread Stephen Eilert
On Feb 5, 11:42 pm, "John Machin" <[EMAIL PROTECTED]> wrote: > On Feb 6, 1:19 pm, gonzlobo <[EMAIL PROTECTED]> wrote: > > > I tried to open the file with Kate, trust me, it's an Excel file. > > Who or what is Kate? In what sense is trying to open it any evidence > that it's an Excel file? Did you *

Re: program deployment

2007-01-05 Thread Stephen Eilert
king kikapu wrote: > Ok, i got the point...Things are a little bit different on the other > way of the fence (Microsoft way...) and so many of Python's elements > are a little (at least) strange at first... > > But hey, thank you all! Not really! Of course you do not distribute .cs (or .vb) file

Re: merits of Lisp vs Python

2006-12-12 Thread Stephen Eilert
Greg Johnston escreveu: > Stephen Eilert wrote: > > 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 &g

Re: merits of Lisp vs Python

2006-12-11 Thread Stephen Eilert
[EMAIL PROTECTED] escreveu: > > Yes, but these are community symbols or tribe marks. They don't have > > much meaning per se, just like the language name or a corporate > > identity. > > Unfortunately, I don't believe that this is entirely correctI do > lurk c.l.p and see quite often people a

Re: merits of Lisp vs Python

2006-12-08 Thread Stephen Eilert
Alex Mizrahi escreveu: > > we should feed this text to the query-builder. > then we should bind ?dept to our variable departament (i'm not sure how this > is done in SPARQL, but there should be a way). > then we should iterate over results and output HTML. a python-like > pseudocode: > > query =

Re: Common Python Idioms

2006-12-08 Thread Stephen Eilert
Ben Finney escreveu: > "Stephen Eilert" <[EMAIL PROTECTED]> writes: > > > Is there a list somewhere listing those not-so-obvious-idioms? > > They're only not-so-obvious to those who learn one version of Python > and then ignore release notes on fut

Re: Common Python Idioms

2006-12-07 Thread Stephen Eilert
Duncan Booth escreveu: > > > > > Is there a list somewhere listing those not-so-obvious-idioms? I've > > seen some in this thread (like the replacement for .startswith). > > > The release notes for each new version. Unfortunately the rest of the > documentation sometimes lags behind the release n

Common Python Idioms

2006-12-07 Thread Stephen Eilert
Hendrik van Rooyen escreveu: > <[EMAIL PROTECTED]> wrote: > > > Peter> Bjoern Schliessmann wrote: > > >> Wouldn't be "if k in d.keys()" be the exact replacement? > > > > Peter> No, 'k in d' is equivalent to 'd.has_key(k)', only with less > > Peter> (constant) overhead for the func

Re: Looking for a decent HTML parser for Python...

2006-12-06 Thread Stephen Eilert
Fredrik Lundh escreveu: > > Except it appears to be buggy or, at least, not very robust. There are > > websites for which it falsely terminates early in the parsing. > > which probably means that the sites are broken. the amount of broken > HTML on the net is staggering, as is the amount of

Re: python vs java & eclipse

2006-12-01 Thread Stephen Eilert
Amir Michail escreveu: > krishnakant Mane wrote: > > just used the py dev plugin for eclipse. > > it is great. > > But isn't support for java better because the eclipse ide can take > advantage of explicit type declarations (e.g., for intellisense, > refactoring, etc.)? > > Amir The support fo

Re: why would anyone use python when java is there?

2006-11-30 Thread Stephen Eilert
gavino escreveu: > I want to learn to program and I can't seem to pick a direction. A > java guy I know makes a lot of $, but a lot of reading I have done > shows lisp smalltalk and haskell to be really nice, as well as of > course python. It seems python is 4/5 way to lisp yet has a lot of > p

Re: Good script editor for Python on Mac OS 10.3

2006-11-29 Thread Stephen Eilert
Lou Pecora escreveu: > In article <[EMAIL PROTECTED]>, > "Scott_Davies" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I have an old Mac with OS X Panther installed. I also have the Python > > language download file, but I haven't got a text/script editor to use > > for it. Does anyone have a re

Re: why would anyone use python when java is there?

2006-11-29 Thread Stephen Eilert
Score: -1 (Flamebait) gavino escreveu: > wtf -- http://mail.python.org/mailman/listinfo/python-list

Re: Will GPL Java eat into Python marketshare?

2006-11-16 Thread Stephen Eilert
Maurice LING escreveu: > > > > I once wrote a partial JVM in Modula-3 (strictly a researchware > > effort), so I can imagine it being done technically. But why? > > > > The big problem with Java-and-Python is not the VMs underneath. It is > > the fact that Java has layers upon layers upon layer

Re: Py3K idea: why not drop the colon?

2006-11-14 Thread Stephen Eilert
Carl Banks escreveu: > Steve Holden wrote: > > In fact most Python doesn't use such constructs, though I'll admit the > > occasional __init__ is more or less inevitable once you start using the > > object-oriented features more than casually. > > Occasional? I don't know about you, but I use __i

Re: Is python for me?

2006-11-13 Thread Stephen Eilert
Not to be picky, but any slowness in software is rarely because of code size. Rather, it is the data size and algorithms that play the major role. Only after you got the first two right is that you should worry about implementation speed. That said, you are correct. Only if you intend to do *heav

Re: 3d programming without opengl

2006-10-31 Thread Stephen Eilert
nelson - wrote: > hi! >i want to build up a simple 3d interactive geometry application in > python. Since i want to run it without 3D acceleration (a scene will > be quite simple) I was wondering if there was a library in python that > allow me to build 3D graphic without the need to use OpenG

Re: What's the best IDE?

2006-10-26 Thread Stephen Eilert
BartlebyScrivener wrote: > >> Vim > >> you'll be frustrated for about a week, > > You'll be frustrated for at least two weeks. But you'll use it forever > for everything from writing to programming, so who cares? > > Auto completion is called omni completion in VIM > > type ':h new-omni-completion

Re: python GUIs comparison (want)

2006-10-25 Thread Stephen Eilert
BartlebyScrivener wrote: > Well, I am woefully unqualified to speak to the general state of Python > gui frameworks, but I am in a similar situation as the OP, i.e., a > beginner looking to TRY some easy gui programming in Python. Not being > a computer science person, just an amateur scripter, I

Rapid desktop application development

2006-10-19 Thread Stephen Eilert
Hi all, There has been much hype lately about web "megaframeworks", like TurboGears, Django and Rails(Ruby side). Those are all fantastic frameworks, nicely integrated so that the user can focus on solving his problem, instead of doing all the scaffolding and framework integration by hand. Now, I

Re: A suggestion/request for IDEs

2006-10-19 Thread Stephen Eilert
Tim Chase wrote: > John Salerno wrote: > > I apologize for the slightly off-topic nature, but I thought I'd just > > throw this out there for anyone working on text editors or IDEs with > > auto-completion. > > Well, Vim7's autocompletion already allows this. Earlier > versions of vim also allowed