Re: Question

2008-07-19 Thread Paddy
On Jul 19, 10:27 am, [EMAIL PROTECTED] wrote: > Why is Perl so much better than python? Coz its endorsed by: Chernobble valve controls. Barings Bank. The society of the Mortgage Brokers of America. The Bush Disaster relief fund for the Southern States. And, of course, is the tool of choice wh

Re: Question

2008-07-19 Thread Raymond Hettinger
On Jul 19, 2:27 am, [EMAIL PROTECTED] wrote: > Why is Perl so much better than python? Because dollar signs are a superior form of punctuation. Raymond -- http://mail.python.org/mailman/listinfo/python-list

Re: MethodChain

2008-07-19 Thread Paul McGuire
On Jul 20, 12:01 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > The methods are a problem IMHO.  You can't add an own method/function with > the name `fire()` or `toFunction()`.  `MethodChain` has to know all > functions/methods in advance.  You can add the methods of whole classes at >

Re: trying to match a string

2008-07-19 Thread John Machin
On Jul 20, 11:14 am, Andrew Freeman <[EMAIL PROTECTED]> wrote: > John Machin wrote: > (4) I highly doubt that this code was actually to be used in an > interactive session, The offending code is a nonsense wherever it is used. > the False/True output was truncated intentionally, What meaning ar

Re: checking if an object IS in a list

2008-07-19 Thread Marc 'BlackJack' Rintsch
On Sat, 19 Jul 2008 13:13:40 -0700, nicolas.pourcelot wrote: > On 18 juil, 17:52, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> On Fri, 18 Jul 2008 07:39:38 -0700, nicolas.pourcelot wrote: >> > So, I use something like this in 'sheet.objects.__setattr__(self, >> > name, value)': >> > if t

Re: Best Python packages?

2008-07-19 Thread Kay Schluehr
On 20 Jul., 05:54, "Python Nutter" <[EMAIL PROTECTED]> wrote: > I think the hidden gems in multimedia/game production are Pyglet and > Rabbyt. Whereas PyGame is the older api, its large and bloated and has > of course a heavy dependency on SDL. Pyglet and Rabbyt are > lightweight, efficient, have s

Re: Not entirely serious: recursive lambda?

2008-07-19 Thread Paul McGuire
On Jul 19, 11:49 pm, Miles <[EMAIL PROTECTED]> wrote: > On Sat, Jul 19, 2008 at 10:43 PM, Michael Tobis <[EMAIL PROTECTED]> wrote: > > Can a lambda call itself without giving itself a name? > > Kind of.  There's a couple ways I know of. > > The functional way, which involves the lambda receiving it

Re: MethodChain

2008-07-19 Thread Marc 'BlackJack' Rintsch
On Sat, 19 Jul 2008 13:57:33 -0700, bearophileHUGS wrote: > Marc 'BlackJack' Rintsch: >> What's called `MethodChain` there seems to be function composition in >> functional languages. Maybe `functools` could grow a `compose()` function. > > To me it looks like a quite more "refined" thing, it's

Re: atan2 weirdness

2008-07-19 Thread Raymond Hettinger
On Jul 19, 9:12 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > hi > > atan2 is supposed to return the angle to x-axis when given y and x, I > suppose if I take [x,y] to one full circle, I should get 0-360 degree > back but no, I get 3 full revolutions! > maybe my understanding is wrong. >

Re: Not entirely serious: recursive lambda?

2008-07-19 Thread Miles
On Sat, Jul 19, 2008 at 10:43 PM, Michael Tobis <[EMAIL PROTECTED]> wrote: > Can a lambda call itself without giving itself a name? Kind of. There's a couple ways I know of. The functional way, which involves the lambda receiving itself as an argument: (lambda f: f(10, f))(lambda n, f: n and (s

Re: atan2 weirdness

2008-07-19 Thread Carsten Haese
[EMAIL PROTECTED] wrote: hi atan2 is supposed to return the angle to x-axis when given y and x, I suppose if I take [x,y] to one full circle, I should get 0-360 degree back but no, I get 3 full revolutions! maybe my understanding is wrong. from math import * def f(ang): a=ang if a>360: a

Re: Any Game Developers here?

2008-07-19 Thread Michael Lubker
Rabbyt is developed by one of my colleagues. I'm currently using Python-Ogre and Anims (for 3D animation, broken off from Rabbyt by Matthew) for my game, SnowballZ. Thanks Michael On Sat, Jul 19, 2008 at 10:33 PM, Python Nutter <[EMAIL PROTECTED]> wrote: > I used to use PyGame but the horrible d

atan2 weirdness

2008-07-19 Thread [EMAIL PROTECTED]
hi atan2 is supposed to return the angle to x-axis when given y and x, I suppose if I take [x,y] to one full circle, I should get 0-360 degree back but no, I get 3 full revolutions! maybe my understanding is wrong. from math import * def f(ang): a=ang if a>360: a-=360 if a>360: a-=360 if

Re: Best Python packages?

2008-07-19 Thread Python Nutter
I think the hidden gems in multimedia/game production are Pyglet and Rabbyt. Whereas PyGame is the older api, its large and bloated and has of course a heavy dependency on SDL. Pyglet and Rabbyt are lightweight, efficient, have some amazing functions and hit native OpenGL in all the major OS distri

Re: Any Game Developers here?

2008-07-19 Thread Python Nutter
PS. To see some real games developed under pressure/time constraints in Python you should visit PyWeek to see what individuals and teams can create in only a weeks time! http://pyweek.org/ 2008/7/19 Michael Lubker <[EMAIL PROTECTED]>: > Any people that use Python as the predominant language for

Re: Any Game Developers here?

2008-07-19 Thread Python Nutter
I used to use PyGame but the horrible delay waiting for OS X binaries put me off. I now use Pyglet extensively, and combine Pyglet + Rabbyt to get amazing sprite handling speeds. Pyglet/Rabbyt make use of OpenGL which comes installed on all the major systems out there. PyGame requires the instal

Not entirely serious: recursive lambda?

2008-07-19 Thread Michael Tobis
I came across the "japh" concept today and decided to do one of my own, obviously, interpreting the 'p' somewhat loosely, http://en.wikipedia.org/wiki/JAPH but I'm not entirely satisfied with it: # japh, for certain values of 'p' f=lambda(r,N):N and f((" acdefijlmnopqrstuv"[N%19]+r,N/19))o

Re: trying to match a string

2008-07-19 Thread Andrew Freeman
John Machin wrote: On Jul 20, 5:00 am, Andrew Freeman <[EMAIL PROTECTED]> wrote: Andrew Freeman wrote: John Machin wrote: A couple of points: (1) Instead of search(r'^blahblah', ...) use match(r'blahblah', ...) (2) You need to choose your end-anchor correctly; your pattern is pe

Re: Change PC to Win or Windows

2008-07-19 Thread Michiel Overtoom
On Saturday 19 July 2008 22:30:29 Dennis Lee Bieber wrote: > I still wonder who came up with the Commodore PET -- Personal > Electronic Transactor... yeesh... But the "Personal" was already in play > way back then. Probably Chuck Peddle, Jack Tramiel or Leonard Tramiel. For your amusement:

Re: __del__ methods

2008-07-19 Thread Ben Finney
"Robert Rawlins" <[EMAIL PROTECTED]> writes: > What is the benefit of extending the base 'object' class? What does that > give me that en empty, non subclassed object doesn't? In Python 2.x, "classic" classes (which are not part of the unified type hierarchy) are deprecated, and exist only for ba

Help Tracing urllib2 Error, Please?

2008-07-19 Thread Larry Hale
Since it seems I have a "unique" problem, I wonder if anyone could point me in the general/right direction for tracking down the issue and resolving it myself. See my prior post @ http://groups.google.com/group/comp.lang.python/browse_thread/thread/44775994a6b55161?hl=en# for more info. (Python

Free online computer studies

2008-07-19 Thread Prabhu
Free online computer studies super visualize study get all courses,hurry up limited offer http://vijaydollars.blogspot.com/ http://friendfinder.com/go/g981367 http://amigos.com/go/g981367 -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if an object IS in a list

2008-07-19 Thread John Machin
On Jul 20, 6:13 am, [EMAIL PROTECTED] wrote: > On 18 juil, 17:52, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > > > On Fri, 18 Jul 2008 07:39:38 -0700, nicolas.pourcelot wrote: > > > So, I use something like this in 'sheet.objects.__setattr__(self, > > > name, value)': > > > if type(value)

Re: regex doubts

2008-07-19 Thread John Machin
On Jul 20, 6:35 am, MRAB <[EMAIL PROTECTED]> wrote: > On Jul 19, 9:12 pm, John Machin <[EMAIL PROTECTED]> wrote: > > > > > On Jul 20, 5:04 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > > > Mr SZ wrote: > > > > I am taking a string as an input from the user and it should only > > > > contain the

Re: trying to match a string

2008-07-19 Thread John Machin
On Jul 20, 5:00 am, Andrew Freeman <[EMAIL PROTECTED]> wrote: > Andrew Freeman wrote: > > John Machin wrote: > >> A couple of points: > >> (1) Instead of search(r'^blahblah', ...) use match(r'blahblah', ...) > >> (2) You need to choose your end-anchor correctly; your pattern is > >> permitting a ne

Re: MethodChain

2008-07-19 Thread bearophileHUGS
Marc 'BlackJack' Rintsch: > What's called `MethodChain` there seems to be function composition in > functional languages. Maybe `functools` could grow a `compose()` function. To me it looks like a quite more "refined" thing, it's an object, it has some special methods, etc. I think it's not too m

Re: create instance attributes for every method argument

2008-07-19 Thread Peter Otten
Berco Beute wrote: > I remember reading somewhere how to create an instance attribute for > every method argument, but although Google is my friend, I can't seem > to find it. This could likely be done way more elegant: > > = > class Test(object): > > def __init__(sel

Re: create instance attributes for every method argument

2008-07-19 Thread Duncan Booth
Berco Beute <[EMAIL PROTECTED]> wrote: > I remember reading somewhere how to create an instance attribute for > every method argument, but although Google is my friend, I can't seem > to find it. This could likely be done way more elegant: > >= > class Test(object): > >

Re: regex doubts

2008-07-19 Thread MRAB
On Jul 19, 9:12 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Jul 20, 5:04 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > > Mr SZ wrote: > > > I am taking a string as an input from the user and it should only > > > contain the chars:L , M or R > > > > I tried the folllowing in kodos but they ar

Re: create instance attributes for every method argument

2008-07-19 Thread Larry Bates
Berco Beute wrote: I remember reading somewhere how to create an instance attribute for every method argument, but although Google is my friend, I can't seem to find it. This could likely be done way more elegant: = class Test(object): def __init__(self, a, b, c, d,

Re: Determining when a file has finished copying

2008-07-19 Thread Wilbert Berendsen
You could also copy to a different name on the same disk, and when the copying has been finished just 'move' (mv) the file to the filename the other application expects. E.g. QMail works this way, writing incoming mails in folders. Met vriendelijke groet, Wilbert Berendsen -- http://www.wilbe

Re: checking if an object IS in a list

2008-07-19 Thread nicolas . pourcelot
On 18 juil, 17:52, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Fri, 18 Jul 2008 07:39:38 -0700, nicolas.pourcelot wrote: > > So, I use something like this in 'sheet.objects.__setattr__(self, > > name, value)': > > if type(value) == Polygon: > >     for edge in value.edges: > >        

Re: regex doubts

2008-07-19 Thread John Machin
On Jul 20, 5:04 am, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Mr SZ wrote: > > I am taking a string as an input from the user and it should only > > contain the chars:L , M or R > > > I tried the folllowing in kodos but they are still not perfect: > > > [^A-K,^N-Q,^S-Z,^0-9] > > [L][M][R] > > [LRM

Re: win32api not found?

2008-07-19 Thread Fuzzyman
On Jul 19, 8:45 pm, Michiel Overtoom <[EMAIL PROTECTED]> wrote: > On Saturday 19 July 2008 21:13:04 Lamonte Harris wrote: > > > Where can I get the win32api module? I been searching all day on google and > > nothing, i installed > >https://sourceforge.net/project/showfiles.php?group_id=78018which r

Re: XML Parsing: Expat Error

2008-07-19 Thread Fredrik Lundh
Gerth, William D wrote: Hey all, I’m simply trying to get my feet wet with XML parsing, and I tried to just do something simple with ElementTree, just throw the XML tags from a file into a list. The code is as follows (and may be wrong): ... xml.parsers.expat.ExpatError: no element found:

Re: regex doubts

2008-07-19 Thread Fredrik Lundh
Mr SZ wrote: I am taking a string as an input from the user and it should only contain the chars:L , M or R I tried the folllowing in kodos but they are still not perfect: [^A-K,^N-Q,^S-Z,^0-9] [L][M][R] [LRM]?L?[LRM]? etc but they do not exactly meet what I need. > For eg: LRLRLRLRLM is ok

create instance attributes for every method argument

2008-07-19 Thread Berco Beute
I remember reading somewhere how to create an instance attribute for every method argument, but although Google is my friend, I can't seem to find it. This could likely be done way more elegant: = class Test(object): def __init__(self, a, b, c, d, e, f): self.a

Re: Question on Joining of list

2008-07-19 Thread ptn
On Jul 18, 6:43 pm, John Machin <[EMAIL PROTECTED]> wrote: > On Jul 18, 11:42 pm, ptn <[EMAIL PROTECTED]> wrote: > [snip] > > >  Remember C, where i, j, > > k are indices, p, q, r are pointers, s, t are strings and x, y, z are > > integers. > > Only by convention (even-K&R-v1 C required explicit de

Re: Question

2008-07-19 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: > Why is Perl so much better than python? Smart questions deserve smart answers: Yes. Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: Ultimate Prime Sieve -- Sieve Of Zakiya (SoZ)

2008-07-19 Thread jzakiya
On Jun 18, 7:58 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Jun 13, 1:12 pm, jzakiya <[EMAIL PROTECTED]> wrote: > > > The paper presents benchmarks with Ruby 1.9.0-1 (YARV).  I would love > > to see my variousprimegenerators benchmarked with optimized > > implementations in other languages.  

Re: win32api not found?

2008-07-19 Thread Michiel Overtoom
On Saturday 19 July 2008 21:13:04 Lamonte Harris wrote: > Where can I get the win32api module? I been searching all day on google and > nothing, i installed > https://sourceforge.net/project/showfiles.php?group_id=78018 which requires > win32api and its not found... What are the actions you do an

win32api not found?

2008-07-19 Thread Lamonte Harris
Where can I get the win32api module? I been searching all day on google and nothing, i installed https://sourceforge.net/project/showfiles.php?group_id=78018 which requires win32api and its not found... -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you check if a program/process is running using python?

2008-07-19 Thread Venky K Shankar
On Sunday 20 July 2008 12:08:49 am Lamonte Harris wrote: > How do you check if a program or process is running when using python? > What I want to do is have an infinite loop to check if a program is running > or not and send data to my web server to check yes or no. Is this > possible? If so how

matplotlib: Plotting a graph against time

2008-07-19 Thread Durand
Hi, I'm trying to plot a simple graph against date or time using matplotlib. I've read about date_plot but I'm not really sure how to use it. At the moment, I have some data arranged into lists, where list1 contains x values (time) and list2 contains y values just like is needed for the normal

Re: trying to match a string

2008-07-19 Thread Andrew Freeman
Andrew Freeman wrote: John Machin wrote: A couple of points: (1) Instead of search(r'^blahblah', ...) use match(r'blahblah', ...) (2) You need to choose your end-anchor correctly; your pattern is permitting a newline at the end: I forgot to change search to match. This should be better: def ma

How do you check if a program/process is running using python?

2008-07-19 Thread Lamonte Harris
How do you check if a program or process is running when using python? What I want to do is have an infinite loop to check if a program is running or not and send data to my web server to check yes or no. Is this possible? If so how? -- http://mail.python.org/mailman/listinfo/python-list

Re: Change PC to Win or Windows

2008-07-19 Thread Duncan Booth
Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Sat, 19 Jul 2008 11:02:51 -0500, Grant Edwards wrote: > >> On 2008-07-19, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: >> >>> Which term applied to the TRS-80, the Apple II, Altair even... >> >> Not that I remember. I had a homebrew S-100

Re: Best Python packages?

2008-07-19 Thread Kay Schluehr
On 18 Jul., 12:23, Ben Sizer <[EMAIL PROTECTED]> wrote: > On Jul 16, 3:31 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > > Ben Sizer wrote: > > > make my development a lot easier. > > > Knowing what kind of development you do might help, of course. Some > > libraries are excellent in some contex

Re: Change PC to Win or Windows

2008-07-19 Thread Marc 'BlackJack' Rintsch
On Sat, 19 Jul 2008 11:02:51 -0500, Grant Edwards wrote: > On 2008-07-19, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > >> Which term applied to the TRS-80, the Apple II, Altair even... > > Not that I remember. I had a homebrew S-100 bus system, worked > with varioius Commodore machines, a few

Re: MethodChain

2008-07-19 Thread Marc 'BlackJack' Rintsch
On Sat, 19 Jul 2008 08:55:23 -0700, bearophileHUGS wrote: > Found from Reddit, it's for e ECMA(Java)Script, but something similar > may be useful for Python too: > > http://jsclass.jcoglan.com/methodchain.html > http://blog.jcoglan.com/2008/07/16/where-did-all-my-code-go-using-ojay-chains-to-expr

Re: Change PC to Win or Windows

2008-07-19 Thread Sebastian Beßler
Grant Edwards schrieb: Not that I remember. I had a homebrew S-100 bus system, worked with varioius Commodore machines, My C64 has a label that says "Personal Computer" on it. So a C64 is a PC. Sebastian -- http://mail.python.org/mailman/listinfo/python-list

RE: __del__ methods

2008-07-19 Thread Duncan Booth
"Robert Rawlins" <[EMAIL PROTECTED]> wrote: > I like this idea, I can definitely see the benefits to working with > this concept. One things I will take this quick opportunity to ask, > even though it's a little OT: > > What is the benefit of extending the base 'object' class? What does > that giv

Re: Change PC to Win or Windows

2008-07-19 Thread Grant Edwards
On 2008-07-19, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Fri, 18 Jul 2008 19:14:43 -0400, Derek Martin <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > >> On Fri, Jul 18, 2008 at 03:46:13PM -0700, Joel Teichroeb wrote: >> > Calling Windows PC seems to be something that A

MethodChain

2008-07-19 Thread bearophileHUGS
Found from Reddit, it's for e ECMA(Java)Script, but something similar may be useful for Python too: http://jsclass.jcoglan.com/methodchain.html http://blog.jcoglan.com/2008/07/16/where-did-all-my-code-go-using-ojay-chains-to-express-yourself-clearly/ Bye, bearophile -- http://mail.python.org/mail

scanf in python

2008-07-19 Thread André Michel Descombes
Hello, I often need to parse strings which contain a mix of characters, integers and floats, the C-language scanf function is very practical for this purpose. I've been looking for such a feature and I have been quite surprised to find that it has been discussed as far back as 2001 but never imple

Re: Question

2008-07-19 Thread Marc 'BlackJack' Rintsch
On Sat, 19 Jul 2008 10:27:28 +0100, perl_wizard wrote: > Why is Perl so much better than python? You are so much better than python? Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list

Re: Question

2008-07-19 Thread David M Lemcoe Jr.
Hello [EMAIL PROTECTED], No language is better than another because Python is not intended for the same uses and/or people. Your question has no place here. David -=___=- David M Lemcoe Jr. Roswell, Georgia http://www.davidlemcoe.com/ [EMAIL PROTECTED] QRZ: KI4YJL AIM

RE: __del__ methods

2008-07-19 Thread Robert Rawlins
Hi Duncan, > That sounds like an appropriate use for __del__: it won't matter that it > may not be called when your app exits. Ok, well that's good to know. :-) > Yes, but there is an easy work-around. If you want to track destruction of > objects of type C then don't add a __del__ method to t

Re: trying to match a string

2008-07-19 Thread Andrew Freeman
John Machin wrote: On Jul 19, 12:04 pm, Andrew Freeman <[EMAIL PROTECTED]> wrote: To show if valid: if re.search(r'^[LRM]*$', 'LM'): print 'Valid' A couple of points: (1) Instead of search(r'^blahblah', ...) use match(r'blahblah', ...) (2) You need to choose your end-anchor corre

Re: Help with displaying images in CherryPy

2008-07-19 Thread paul
David Lyon schrieb: ... All I want is a sample configuration file that will allow me to display a page with a jpeg on it. This really should only take a few minutes for somebody who has done this in CherryPy before and I would certainly appreciate the assistance because it doesn't seem c

RE: __del__ methods

2008-07-19 Thread Duncan Booth
"Robert Rawlins" <[EMAIL PROTECTED]> wrote: > I've just recently (in the past week) started using the __del__ method > to log class instance destruction so I can keep a track of when > objects are created and destroyed, in order to help me trace and fix > memory leaks. That sounds like an approp

regex doubts

2008-07-19 Thread Mr SZ
Hi, I am taking a string as an input from the user and it should only contain the chars:L , M or R I tried the folllowing in kodos but they are still not perfect: [^A-K,^N-Q,^S-Z,^0-9] [L][M][R] [LRM]?L?[LRM]? etc but they do not exactly meet what I need. For eg: LRLRLRLRLM is ok but LRLRLRNL

Re: Amazon: "Practical Django Projects" by James Bennett (June 2008)

2008-07-19 Thread Paul Boddie
On 17 Jul, 11:09, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > (and the "stable release" and "much will change" stuff is pure FUD, of > course. what competing project will I find if I google your name?) That's a bit unfair. Maybe the guy was stung by previous experiences with books and certain ot

Re: Amazon: "Practical Django Projects" by James Bennett (June 2008)

2008-07-19 Thread Torsten Bronger
Hallöchen! Bruno Desthuilliers writes: > Torsten Bronger a écrit : > >> [EMAIL PROTECTED] writes: >> >>> On 16 juil, 10:35, Stefan Scholl <[EMAIL PROTECTED]> wrote: >>> Dave U. Random <[EMAIL PROTECTED]> wrote: > http://snipr.com/PracticalDjango June 2008 is a bit too earl

Re: Amazon: "Practical Django Projects" by James Bennett (June 2008)

2008-07-19 Thread Bruno Desthuilliers
Torsten Bronger a écrit : Hallöchen! [EMAIL PROTECTED] writes: On 16 juil, 10:35, Stefan Scholl <[EMAIL PROTECTED]> wrote: Dave U. Random <[EMAIL PROTECTED]> wrote: http://snipr.com/PracticalDjango June 2008 is a bit too early. Django isn't ready. Oh, really ? Too bad. But, wait... If Dj

Help with displaying images in CherryPy

2008-07-19 Thread David Lyon
Hi all, I have a very simple question about configuration under CherryPy - it is such a simple one but I have been struggling to find an answer for a few days. All I want is a sample configuration file that will allow me to display a page with a jpeg on it. Whilst there are some examples i

Missing sqlite3.h Error when Building Debug Python -- Windows Vista

2008-07-19 Thread Bev in TX
I am a complete newbie at building Python. I am trying to build it under MS Windows Vista (64-bit AMD) with MS VS2005. I'm doing that because I need debug libraries, which I did not see in the standard distribution. I downloaded the source and found the MSVS8 solution/project files. However, whe

Re: Question

2008-07-19 Thread Bruno Desthuilliers
Peter Otten a écrit : [EMAIL PROTECTED] wrote: Why is Perl so much better than python? Because you have the video: http://mail.python.org/pipermail/python-list/2004-March/253370.html KEYBOARD !-) -- http://mail.python.org/mailman/listinfo/python-list

Re: ftdi chip + ctypes + ftd2xx... need help with reading chipid! (now with the right source code!)

2008-07-19 Thread Egor Zindy
Egor Zindy wrote: Dear List, This one is way beyond my comprehension skills, I just don't understand what I'm doing wrong. I am trying to read the chipid from an FTDI chip based USB key (DLP-D, http://www.ftdichip.com/Products/EvaluationKits/DLP-D.htm ), using: - the ftd2xx module http:/

ftdi chip + ctypes + ftd2xx... need help with reading chipid!

2008-07-19 Thread Egor Zindy
Dear List, This one is way beyond my comprehension skills, I just don't understand what I'm doing wrong. I am trying to read the chipid from an FTDI chip based USB key (DLP-D, http://www.ftdichip.com/Products/EvaluationKits/DLP-D.htm ), using: - the ftd2xx module http://pypi.python.org/pyp

Re: How to process a very large (4Gb) tarfile from python?

2008-07-19 Thread Lars Gustäbel
On Thu, Jul 17, 2008 at 11:41:50PM -0700, Uwe Schmitt wrote: > On 17 Jul., 22:21, Lars Gustäbel <[EMAIL PROTECTED]> wrote: > > > > > Maybe we should post this issue to python-dev mailing list. > > > Parsing large tar-files is not uncommon. > > > > This issue is known and was fixed for Python 3.0,

Re: Question

2008-07-19 Thread Venky K Shankar
On Saturday 19 July 2008 03:14:20 pm Peter Otten wrote: > [EMAIL PROTECTED] wrote: > > Why is Perl so much better than python? > > Because you have the video: > > http://mail.python.org/pipermail/python-list/2004-March/253370.html >> what about this ? i feel python's better :) >> h

Re: Rotating a cube

2008-07-19 Thread David Lyon
Lie wrote: On Jul 17, 3:11 pm, J-Burns <[EMAIL PROTECTED]> wrote: On Jul 17, 12:53 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: J-Burns wrote: Is there a built in Python function for this? for answering questions that have nothing to do with programming, and looks qui

Re: Change PC to Win or Windows

2008-07-19 Thread Lie
On Jul 19, 6:14 am, Derek Martin <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 03:46:13PM -0700, Joel Teichroeb wrote: > > Calling Windows PC seems to be something that Apple did so they would > > not have to directly mention Windows. > > Actually it's something IBM did when they created the

Re: Question

2008-07-19 Thread Peter Otten
[EMAIL PROTECTED] wrote: > Why is Perl so much better than python? Because you have the video: http://mail.python.org/pipermail/python-list/2004-March/253370.html -- http://mail.python.org/mailman/listinfo/python-list

RE: __del__ methods

2008-07-19 Thread Robert Rawlins
> Yes. > > "Objects that have __del__() methods and are part of a reference cycle > cause the entire reference cycle to be uncollectable, including > objects not necessarily in the cycle but reachable only from it. > Python doesn't collect such cycles automatically because, in general, > it isn't p

Re: Amazon: "Practical Django Projects" by James Bennett (June 2008)

2008-07-19 Thread Stefan Scholl
Fredrik Lundh <[EMAIL PROTECTED]> wrote: > (and the "stable release" and "much will change" stuff is pure FUD, of > course. what competing project will I find if I google your name?) Found something? Maybe this could help me to choose a web framework. -- Web (en): http://www.no-spoon.de/ -*-

Question

2008-07-19 Thread perl_wizard
Why is Perl so much better than python? -- http://mail.python.org/mailman/listinfo/python-list

Re: Rotating a cube

2008-07-19 Thread Lie
On Jul 17, 3:11 pm, J-Burns <[EMAIL PROTECTED]> wrote: > On Jul 17, 12:53 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > > > J-Burns wrote: > > > Is there a built in Python function for this? > > > for answering questions that have nothing to do with programming, and > > looks quite a bit like home

Re: Best Python packages?

2008-07-19 Thread Iain King
On Jul 19, 8:56 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Iain King wrote: > > Well, if you're looking for a list of excellent 3rd party Python > > libraries, then I can give you the ones I like and use a lot: > [...] > > BeautifulSoup : for real-world (i.e. not-at-all-recommendation- > > comp

Your win 10, 000$ in my groups Pls register your name and address in below of the website http://www.geocities.com/cathrina39 http://namithawithyou.blogspot.com/

2008-07-19 Thread hot rathi
Your win 10,000$ in my groups Pls register your name and address in below of the website http://www.geocities.com/cathrina39 http://namithawithyou.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Best Python packages?

2008-07-19 Thread Stefan Behnel
Iain King wrote: > Well, if you're looking for a list of excellent 3rd party Python > libraries, then I can give you the ones I like and use a lot: [...] > BeautifulSoup : for real-world (i.e. not-at-all-recommendation- > compliant) HTML processing You forgot lxml.html, which is much faster, more

Buy/sell/trade your used stuff and promote your small business to people in california

2008-07-19 Thread busybeejoe
Buy/sell/trade your used stuff and promote your small business to people in california I created a NEW forum where you can buy/sell/trade your used stuff and for small business owners to promote their services to others in their area... Its a simple and easy way to let everyone know about your com