Re: Komodo - Will it Lock Me In?

2006-02-19 Thread Matt
"Ravi Teja" <[EMAIL PROTECTED]> wrote: >Matt, in most cases, installing packages in Python is about as easy as >it gets. Yes, it is easy, sort-of. I have installed many, many packages so far. My point is that with a polished IDE, you don't have to go through all of this. You download an instal

Re: Komodo - Will it Lock Me In?

2006-02-19 Thread Peter Decker
On 2/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > My goal was to test out Python by writing a simple GUI app and then deploying > it to Mac OS X and Windows XP. Using a product such as RealBasic, a totally > green newbie could accomplish this in a few minutes.. So, I guess my main > quest

Re: Komodo - Will it Lock Me In?

2006-02-19 Thread Matt
Trent Mick <[EMAIL PROTECTED]> wrote: >Perhaps you are thinking of some of the C/C++ IDEs (like Visual Studio >on Windows and Xcode on the Mac) Hi Trent, Ravi, Actually, I had two things in mind: 1) HTML editors - I made a website using Yahoo Sitebuilder. It's a pretty good tool, but I didn't

Re: Komodo - Will it Lock Me In?

2006-02-19 Thread Matt
"Peter Decker" <[EMAIL PROTECTED]> wrote: >You should take a look at Dabo, Yes, I have Dabo installed on my system. I made a small test app, but was unable to deploy it. I was getting an error from py2exe, I think, about how my wxPython installation was not correct. This is the kind of thing I

Re: Mac OS X Installation Problem

2006-02-19 Thread Matt
[EMAIL PROTECTED] (Alex Martelli) wrote: >Edit a ~/.bashrc file to add /usr/local/bin to your PATH. Hi Alex, Easier said than done for a non-unix expert. Correct me if I am wrong. Bash looks at the contents of the PATH variable to decided which directories it should scan when parsing a command

Re: Format file size for printing

2006-02-19 Thread John Zenger
I know of no built-in way, but you could probably code this in a few lines using print "%.1f" and so on. (Some of us, by the way, are in the camp that believes a kilobyte is 1024 bytes, not 1000, so 103803 bytes for us is about 101.4 kilobytes). abcd wrote: > is there a built-in way of printing

Re: Mac OS X Installation Problem

2006-02-19 Thread Matt
Kevin Walzer <[EMAIL PROTECTED]> wrote: >It's not considered a good idea to trash Apple system files. It's likely >that system tools that depend on Python (CoreImage scripting comes to >mind) are now broken and the only way to fix this is to reinstall the OS. Thanks for the heads up. I thought th

Re: Open Relay Test

2006-02-19 Thread D
Thanks guys for the info..the DSBL client app is exactly what I need..unfortunately the app I'm writing will be for Windows (the only client I saw was for Linux). Do you know if there's a Windows command line port? -- http://mail.python.org/mailman/listinfo/python-list

Re: number ranges (was Re: Matlab page on scipy wiki)

2006-02-19 Thread John Zenger
Colin J. Williams wrote: > Bryan Cole wrote: > >>> >>> First, I think the range() function in python is ugly to begin with. >>> Why can't python just support range notation directly like 'for a in >>> 0:10'. Or with 0..10 or 0...10 syntax. That seems to make a lot more >>> sense to me tha

Re: number ranges (was Re: Matlab page on scipy wiki)

2006-02-19 Thread Erik Max Francis
John Zenger wrote: > I strongly agree that Python should promote range or xrange to syntax. > I favor [0..10] rather than [0:10] because 0..10 is inherently easier to > understand. Every maths text I have read uses the ".." notation to show > ranges; Math texts typically use a normal ellipsi

Re: Mac OS X Installation Problem

2006-02-19 Thread Alex Martelli
wrote: > [EMAIL PROTECTED] (Alex Martelli) wrote: > > >Edit a ~/.bashrc file to add /usr/local/bin to your PATH. > > Hi Alex, > > Easier said than done for a non-unix expert. Correct me if I am wrong. Bash > looks at the contents of the PATH variable to decided which directories it > should sc

Re: Mac OS X Installation Problem

2006-02-19 Thread Alex Martelli
wrote: ... > But this begs the question, how do we upgrade our Python installations if OS X > needs a certain version? Do we leave the pre-installed version alone and run a > second Python installation? I suppose that the various package installers > would know how to do that, right? Yes, and

Re: Python vs. Lisp -- please explain

2006-02-19 Thread Donn Cave
Quoth Alexander Schmolck <[EMAIL PROTECTED]>: | "Fredrik Lundh" <[EMAIL PROTECTED]> writes: ... |> the only even remotely formal definition I've ever seen is "language with |> designed to script an existing application, with limited support for handling |> its own state". | |> Early Tcl and JavaSc

why does close() fail miserably on popen with exit code -1 ?!

2006-02-19 Thread Atanas Banov
i ran onto this weirdness today: seems like close() on popen-ed (pseudo)file fails miserably with exception instead of returning exit code, when said exit code is -1. here is the simplest example (under Windows): >>> print popen('exit 1').close() 1 >>> print popen('exit -1').close() Traceback (mo

Re: number ranges (was Re: Matlab page on scipy wiki)

2006-02-19 Thread bonono
Tim Hochberg wrote: > Colin J. Williams wrote: > > >> > >>It would be good if the range and slice could be merged in some way, > >>although the extended slice is rather complicated - I don't understand it. > >> > >> The semantics for an extended slicing are as follows. The primary > >> must ev

Is inifinite loop not a good practice?

2006-02-19 Thread Alvin A. Delagon
Greetings, I have to write a python script that would continously monitor and process a queue database. Once the script sees an unprocessed record it will create a thread to process it otherwise it will do nothing. I've been planning to do an infinite loop within the script to do this but I've

Re: Python vs. Lisp -- please explain

2006-02-19 Thread Harald Armin Massa
>>OK, but then we should change , >>which starts with "Python is an interpreted, interactive, >>object-oriented programming language." I second this motion. Even tried to persuade the site maintainer before. We should really, really change it. The perceived spee

Re: How many web framework for python ?

2006-02-19 Thread Harald Armin Massa
Bruno, >In fact, there are actually too much *good* python web frameworks. I tended to share that opinion, just because there are more web frameworks then keywords in Python. But we should stop thinking of this as a bug; it is a feature. Because everyone and his girlfriend creates an own web fra

Re: Is inifinite loop not a good practice?

2006-02-19 Thread Steve Holden
Alvin A. Delagon wrote: > Greetings, > > I have to write a python script that would continously monitor and > process a queue database. Once the script sees an unprocessed record it > will create a thread to process it otherwise it will do nothing. I've > been planning to do an infinite loop wi

<    1   2