Vim capable IDE?

2005-10-17 Thread Chris Lasher
Hello, Is there a Python-sensitive, Linux compatible IDE out there with standard bells and whistles (source browser, symbolic debugger, etc.) but with the action-per-keystroke editing capabilities of Vim? I have failed to turn up such an IDE in my Googling and IDE project-page browsing. :-( Than

Re: Microsoft Hatred FAQ

2005-10-17 Thread David Schwartz
"Roedy Green" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sun, 16 Oct 2005 22:36:53 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote or quoted : >>As for it being illegal, it was illegal only because if was Microsoft >>doing it. There's nothing illegal about a car de

Re: ordered keywords?

2005-10-17 Thread Ron Adam
Kent Johnson wrote: > Ron Adam wrote: > >> drawshapes( triangle=3, square=4, color=red, >> polygon(triangle, color), >> polygon(square, color) ) >> >> This comes close to the same pattern used in SVG and other formats >> where you have definitions before expressions. > >

Re: ANN: Leo 4.4a1 released

2005-10-17 Thread Mahesh Padmanabhan
In article <[EMAIL PROTECTED]>, "Edward K. Ream" <[EMAIL PROTECTED]> wrote: [Edward's announcement] Thanks for adding Emacs functionality. I really like the idea of literate programming and have tried to get into Leo but believe it or not, I haven't been able to get into it due to my muscle me

Mutual module imports

2005-10-17 Thread Tony Nelson
How does one normally make a Python extension module that has some parts in Python and some functions in C share globals between the Python and C functions? Will that approach work with Pyrex? I have written a Python module that uses some C functions. I wrote the module in two parts, one Pyth

Re: Stripping ASCII codes when parsing

2005-10-17 Thread Tony Nelson
In article <[EMAIL PROTECTED]>, David Pratt <[EMAIL PROTECTED]> wrote: > This is very nice :-) Thank you Tony. I think this will be the way to > go. My concern ATM is where it will be best to unicode. The data after > this will go into dict and a few processes and into database. Because

Re: tuple versus list

2005-10-17 Thread Bryan
>> >>i always use the structure analogy. if you view (width, height) as a >>structure, >>use a tuple. if you view it a sequence, use a list. in this example, i view >>it >>as a stucture, so i would use (width, height) as a tuple. > > > Right, but there's an unfortunate ambiguity in the te

Re: Mutual module imports

2005-10-17 Thread Tuvas
The trick is via something called Extending. Pyrex just makes extending a bit easier, but, depending on the complexity of the function, it might be easier just to extend it yourself. Basically you make a function that translates python into C. There are some instructions on the Python website, http

Re: A Logging System for Python

2005-10-17 Thread Philippe C. Martin
Even better ! Thanks, Philippe Robert Kern wrote: > Philippe C. Martin wrote: >> Dear all, >> >> I have been looking for a logging system and have come across >> http://www.red-dove.com/python_logging.html. >> >> As the site refers to PEP 282, I assume this package is a potential >> contende

Re: Vim capable IDE?

2005-10-17 Thread Dan Farina
Chris Lasher wrote: > Hello, > Is there a Python-sensitive, Linux compatible IDE out there with > standard bells and whistles (source browser, symbolic debugger, etc.) > but with the action-per-keystroke editing capabilities of Vim? I have > failed to turn up such an IDE in my Googling and IDE pr

Re: Microsoft Hatred FAQ

2005-10-17 Thread Mike Meyer
"David Schwartz" <[EMAIL PROTECTED]> writes: > It is not Microsoft's obligation to be "fair". It is Microsoft's > obligation to push their vision of the future of computing, one with > Microsoft's products at the center, using anything short of force or fraud. Wrong. The only obligation Micr

Re: Microsoft Hatred FAQ

2005-10-17 Thread Richard Steiner
Here in comp.os.linux.misc, John Wingate <[EMAIL PROTECTED]> spake unto us, saying: >Peter T. Breuer <[EMAIL PROTECTED]> wrote: >> It seems to me that I was using 3.x. Maybe it was 3.1? I seem to >> remember an earlier major ... was there a 2.8 or 2.9? > >Dunno. The first version I used was 3.4,

Re: Mutual module imports

2005-10-17 Thread George Sakkis
"Tony Nelson" <[EMAIL PROTECTED]> wrote: > [snipped] > > I have written a Python module that uses some C functions. I wrote the > module in two parts, one Python, one Pyrex (C). They need to share some > globals. > > [snipped] > > Now the Python module imports the Pyrex module and just shoves >

Re: Microsoft Hatred FAQ

2005-10-17 Thread Roedy Green
On Mon, 17 Oct 2005 19:43:16 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote or quoted : >I understand why the argument is invalid. I'm presenting it as an >example of a similar invalid argument. Not every post is meant to contradict or inform the OP. -- Canadian Mind Products, Roedy Gree

Re: Microsoft Hatred FAQ

2005-10-17 Thread Roedy Green
On Mon, 17 Oct 2005 19:44:55 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote or quoted : > >It is not Microsoft's obligation to be "fair". It is Microsoft's >obligation to push their vision of the future of computing, one with >Microsoft's products at the center, using anything short of fo

PEP: Adding decorators for everything

2005-10-17 Thread tharaka
Hi Guys, This is an idea for a PEP. How would you guys feel about adding decorator support for "everything"? Currently, only functions and method are supported. For example: @GuardedClass class Foo: @Transient a = 'a transient field, ignored when serializing' @Const PI = 22.0 /

Re: Microsoft Hatred FAQ

2005-10-17 Thread David Schwartz
"Roedy Green" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 17 Oct 2005 19:44:55 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote or quoted : >>It is not Microsoft's obligation to be "fair". It is Microsoft's >>obligation to push their vision of the future of comp

Hygenic Macros

2005-10-17 Thread David Pokorny
Hi, Just wondering if anyone has considered macros for Python. I have one good use case. In "R", the statistical programming language, you can multiply matrices with A %*% B (A*B corresponds to pointwise multiplication). In Python, I have to type import Numeric matrixmultiply(A,B) which makes

Re: Question on class member in python

2005-10-17 Thread Johnny Lee
Peter Otten 写道: > Johnny Lee wrote: > > > Class A: > >def __init__(self): > > self.member = 1 > > > >def getMember(self): > > return self.member > > > > a = A() > > > > So, is there any difference between a.member and a.getMember? thanks > > for your help. :) > > Yes. accessor

Re: Comparing lists

2005-10-17 Thread Christian Stapfer
"Alex Martelli" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Christian Stapfer <[EMAIL PROTECTED]> wrote: > >> "Alex Martelli" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > Christian Stapfer <[EMAIL PROTECTED]> wrote: >> > >> >> This is why we would like to

Re: Microsoft Hatred FAQ

2005-10-17 Thread Mike Schilling
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Mike Schilling" <[EMAIL PROTECTED]> wrote: > >> >> "John Bokma" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> "Mike Schilling" <[EMAIL PROTECTED]> wrote: >>> "John Bokma" <[EMAIL PROTECTED]> wrot

Re: Hygenic Macros

2005-10-17 Thread Robert Kern
David Pokorny wrote: > Hi, > > Just wondering if anyone has considered macros for Python. I have one > good use case. In "R", the statistical programming language, you can > multiply matrices with A %*% B (A*B corresponds to pointwise > multiplication). In Python, I have to type > > import Num

Re: Microsoft Hatred FAQ

2005-10-17 Thread Mike Schilling
"Mike Meyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Mike Schilling" <[EMAIL PROTECTED]> writes: >> What matters in generating HTML is which browsers you want to support and >> what they understand. Standards and recommendations are both irrelevant. > > Unless, of course,

Re: Microsoft Hatred FAQ

2005-10-17 Thread Mike Schilling
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Mike Schilling" <[EMAIL PROTECTED]> wrote: > >> >> "John Bokma" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> Roedy Green <[EMAIL PROTECTED]> wrote: >>> On 16 Oct 2005 05:22:47 GMT, John Bokma <[

www.liveboard.8my.com

2005-10-17 Thread thegreat_lover2003
Hello Friend You are invited to join www.liveboard.8my.com There you can discuss / post on various topics like Poems, Love, Romance, Flirting, Quotes, Shayris, Movies, Music, Personal Problem Discussions, Computers & Internet (Hacking at security end), Animations, Business, Employment and lots mo

Re: Microsoft Hatred FAQ

2005-10-17 Thread John Bokma
"Mike Schilling" <[EMAIL PROTECTED]> wrote: > "John Bokma" <[EMAIL PROTECTED]> wrote in message [ w3c "standard" v.s. ISO ] > You haven't said why you thinbk "standards" are more valuable than > "recommendations". We apparently both agree they're no more likely to be > observed, so what is th

Don't want to serialize a variable of object

2005-10-17 Thread Iyer, Prasad C
Hi, I got a class which I need to serialize, except for couple of variable. i.e. import cPickle as p class Color: def __init__(self): print "hello world" self.x=10 self.somechar="this are the characters" color=Color() f=file('poem.txt', 'w') p.dump(color, f) f.close()

Re: Microsoft Hatred FAQ

2005-10-17 Thread Mike Meyer
"Mike Schilling" <[EMAIL PROTECTED]> writes: > "Mike Meyer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> "Mike Schilling" <[EMAIL PROTECTED]> writes: >>> What matters in generating HTML is which browsers you want to support and >>> what they understand. Standards and recommend

bug in os.system?

2005-10-17 Thread nicksjacobson
The following code fails (pythonbugtest.exe takes one parameter, a string): import os result = os.system('"pythonbugtest.exe" "test"') assert(result == 0) The error message is: 'pythonbugtest.exe" "test' is not recognized as an internal or external command, operable program or batch file. Traceb

Re: Microsoft Hatred FAQ

2005-10-17 Thread Roedy Green
On 18 Oct 2005 06:20:56 GMT, John Bokma <[EMAIL PROTECTED]> wrote or quoted : > >That an HTML standard (ISO/IEC 15445:2000) and an HTML recommendation by >w3c (4.01 for example) are two different things, and mixing them up by >calling both standards is a bad thing. Because ... what are the cons

Re: Microsoft Hatred FAQ

2005-10-17 Thread Roedy Green
On Mon, 17 Oct 2005 22:21:55 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote or quoted : >I don't think any of it bordered on force or fraud. However, their >obligation to their shareholders requires them to do anythign that borders >on force/fraud so long as it isn't force/fraud. I avoid

<    1   2   3