ANN: UliPad 3.7 released!

2007-08-19 Thread limodou
UliPad is a flexible editor, based on wxPython. It's has many features,just like:class browser, code auto-complete, html viewer, directory browser, wizard, etc. The main feature is the usage of mixin. This makes UliPad can be extended easily. So you can write your own mixin or plugin, or simple

PEP 11 update - Call for port maintainers to step forward

2007-08-19 Thread skip
I made a quick update to PEP 11, Removing support for little used platforms. I added details about ending support for AtheOS/Syllable and BeOS. I also added a yet-to-be-fleshed out section entitled Platform Maintainers. I intend that to the extent possible we document the responsible parties

Re: Understanding closures

2007-08-19 Thread happyriding
On Aug 18, 11:03 pm, Ramashish Baranwal [EMAIL PROTECTED] wrote: Hi, I want to use variables passed to a function in an inner defined function. Something like- def fun1(method=None): def fun2(): if not method: method = 'GET' print '%s: this is fun2' % method

Re: Symbolic Link

2007-08-19 Thread mosscliffe
On 18 Aug, 23:49, Diez B. Roggisch [EMAIL PROTECTED] wrote: mosscliffe schrieb: I am trying to create a link to a file, which I can then use in an HTML page. The system is Linux on a hosted web service, running python 2.3. Other than that I have no knowledge of the system. The link

Python library for RTSP protocol

2007-08-19 Thread [EMAIL PROTECTED]
Hi, Can you please tell me if there is a Python library which can talk RTSP/RTP protocol? i.e. i would like to write a script in python to download a video via a RTSP server? Thank you. -- http://mail.python.org/mailman/listinfo/python-list

Re: Understanding closures

2007-08-19 Thread James Stroud
Ramashish Baranwal wrote: Hi, I want to use variables passed to a function in an inner defined function. Something like- def fun1(method=None): def fun2(): if not method: method = 'GET' print '%s: this is fun2' % method return fun2() fun1()

imaplib Received: header(s)???

2007-08-19 Thread Petri Savolainen
Hello, Is there a way to get at the Received header(s) or is there something in imaplib or imap server implementations that hides these? If not, what IMAP FETCH command should be used? I've used for example BODY[HEADER.FIELDS (RECEIVED)] and it always returns empty (\r\n). Despite the

1)URL QueryString Parsing 2)Search Engine Spiders

2007-08-19 Thread mosscliffe
I am trying to create a back link, equivalent to the browser back action and I can not use java script. The target user does not allow java script. I am using HTTP_REFERER. I need to add the original Query String values. Is there a way to get the QueryString element other than by using

Development for dual core machine

2007-08-19 Thread Andy
Hi guys, I'm sorry, I'm not sure this is the correct group to be asking this kind of question... I'm going to develop a software package that includes a web server (and PHP code) , a database, and some Python code of course. I am being strongly suggested to make it to work on a dual- or

Re: Symbolic Link

2007-08-19 Thread Diez B. Roggisch
mosscliffe schrieb: On 18 Aug, 23:49, Diez B. Roggisch [EMAIL PROTECTED] wrote: mosscliffe schrieb: I am trying to create a link to a file, which I can then use in an HTML page. The system is Linux on a hosted web service, running python 2.3. Other than that I have no knowledge of the

Re: clarification

2007-08-19 Thread samwyse
Alex Martelli wrote: Of course, hoisting the unbound method out of the loops can afford the usual small optimization. But my point is that, in Python, these operations (like, say, the concatenation of a sequence of lists, etc) are best performed in place via loops calling mutator methods

Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Sébastien
Hi folks, I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python editor/IDE ? A tiny precision, I am on Ubuntu so I am looking

Re: Symbolic Link

2007-08-19 Thread samwyse
mosscliffe wrote: I am trying to create a link to a file, which I can then use in an HTML page. The system is Linux on a hosted web service, running python 2.3. Other than that I have no knowledge of the system. The link is created OK, but when I try to use it as filename for the IMG

Re: Parser Generator?

2007-08-19 Thread samwyse
Jack wrote: Thanks for all the replies! SPARK looks promising. Its doc doesn't say if it handles unicode (CJK in particular) encoding though. Yapps also looks powerful: http://theory.stanford.edu/~amitp/yapps/ There's also PyGgy http://lava.net/~newsham/pyggy/ I may also give Antlr a

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Bjoern Schliessmann
Sébastien wrote: I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python editor/IDE ? vim BTW, this is an FAQ. Please look

Re: Development for dual core machine

2007-08-19 Thread Bjoern Schliessmann
Andy wrote: I'm going to develop a software package that includes a web server (and PHP code) , a database, and some Python code of course. I am being strongly suggested to make it to work on a dual- or multi-core computer, No problem. CPython will work on any dual core CPU. but I'm

Re: Searching for pixel color

2007-08-19 Thread samwyse
michael maver wrote: Hello, I was just wondering if anyone knew of a way to search the screen for a certain color in Python. I know of lots of ways to do this... I know it is possible to do this in other languages, but I'm not sure how I'd go about doing this in Python. Just to let you

Re: How to make a module function visible only inside the module?

2007-08-19 Thread Bjoern Schliessmann
beginner wrote: Thanks a lot. I was using two underscores, __module_method() as my static method convention, and then I had some problems calling them from inside class methods. *Please* do yourself and other people that sometime may have to read your code a favor and write code at least

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Kevin Walzer
Sébastien wrote: Hi folks, I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python editor/IDE ? A tiny precision, I am on

Re: 1)URL QueryString Parsing 2)Search Engine Spiders

2007-08-19 Thread samwyse
mosscliffe wrote: I am trying to create a back link, equivalent to the browser back action and I can not use java script. The target user does not allow java script. I am using HTTP_REFERER. I need to add the original Query String values. Is there a way to get the QueryString element

Re: Development for dual core machine

2007-08-19 Thread samwyse
Andy wrote: Hi guys, I'm sorry, I'm not sure this is the correct group to be asking this kind of question... I'm going to develop a software package that includes a web server (and PHP code) , a database, and some Python code of course. I am being strongly suggested to make it to work

Re: Development for dual core machine

2007-08-19 Thread Bryan Olson
Andy wrote: I'm going to develop a software package that includes a web server (and PHP code) , a database, and some Python code of course. I am being strongly suggested to make it to work on a dual- or multi-core computer, but I'm confused on how to take advantage of the multiple CPUs.

How to find script's directory

2007-08-19 Thread Papalagi Pakeha
Hi, I have a project (a django project actually) that has a structure something like: /path/prj/settings.py /path/prj/scripts/blah.py /path/prj/... In order to run blah.py I need to set $PYTHONPATH to /path/prj because it does import settings. That's all good. I would however like to autodetect

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Samuel
On Sun, 19 Aug 2007 11:47:03 +0200, Sébastien wrote: Hi folks, I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Samuel
On Sun, 19 Aug 2007 13:08:35 +, Samuel wrote: $ sudo apt-get install vim I just realized, this should be $ sudo apt-get install vim-python or $ sudo apt-get install vim-full -Samuel -- http://mail.python.org/mailman/listinfo/python-list

Re: best GUI library for vector drawing program

2007-08-19 Thread sturlamolden
On Aug 17, 3:27 pm, chewie54 [EMAIL PROTECTED] wrote: What would be the best cross-platform GUI library to use for a vector based CAD program I suggest you use different toolkits for windowing (GUI widgets) and drawing the vector graphics. It does not really matter which toolkit you use for

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Buchoux Sébastien
Bjoern Schliessmann wrote: Sébastien wrote: I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python editor/IDE ? vim

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread azrael
Try the WingIDE Great Code Completition, Source Assistant, Debugger, PythonShell, projects, The codeCompletition is really great. Give it a try On Aug 19, 3:37 pm, Buchoux Sébastien [EMAIL PROTECTED] wrote: Bjoern Schliessmann wrote: Sébastien wrote: I am currently using Eclipse+PyDev

Newbie question

2007-08-19 Thread Anonymous
I have exp with C/C++ (and a few other langs). I want to use Python to start doing the ff: 1). Data Munging (text processing) 2). Automating my build process 3). (Possibly) some web data retrieval jobs Can anyone point me to resurces/possibly scripts that can get me up to speed (to do these 3

Re: Newbie question

2007-08-19 Thread Michael Tobis
http://diveintopython.org/ mt -- http://mail.python.org/mailman/listinfo/python-list

Python syntax r prefix to a string

2007-08-19 Thread goldtech
Does anyone know this syntax and could link me to an explanation? Something like: Workspace = r'C:\foobar\mystuff\xyz' What's that r doing? Sometimes I see a u too. Explanation appreciated. Thanks, Lee G. -- http://mail.python.org/mailman/listinfo/python-list

yet another indentation proposal

2007-08-19 Thread Aaron
Hello all. I realize that proposals dealing with alternatives to indentation have been brought up (and shot down) before, but I would like to take another stab at it, because it is rather important to me. I am totally blind, and somewhat new to Python. I put off learning Python for a long

Re: Python and Tkinter Programming--Expensive!

2007-08-19 Thread Kevin Walzer
Nick Craig-Wood wrote: W. Watson [EMAIL PROTECTED] wrote: Why is the book in Subject (author is Grayson) so expensive? $100 on Amazon and $195 on ABE. Aren't there alternatives? There is an excellent section (266 pages) on TKinter in Programming Python by Mark Lutz. I've got the 2nd

Re: yet another indentation proposal

2007-08-19 Thread Paddy
On Aug 18, 7:22 pm, Aaron [EMAIL PROTECTED] wrote: Hello all. I realize that proposals dealing with alternatives to indentation have been brought up (and shot down) before, but I would like to take another stab at it, because it is rather important to me. I am totally blind, and somewhat

Re: Python syntax r prefix to a string

2007-08-19 Thread Paddy
On Aug 19, 4:43 pm, goldtech [EMAIL PROTECTED] wrote: Does anyone know this syntax and could link me to an explanation? Something like: Workspace = r'C:\foobar\mystuff\xyz' What's that r doing? Sometimes I see a u too. Explanation appreciated. Thanks, Lee G. Search for raw strings and

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Paddy
On Aug 19, 10:47 am, Sébastien [EMAIL PROTECTED] wrote: Hi folks, I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python

Re: clarification

2007-08-19 Thread Alex Martelli
samwyse [EMAIL PROTECTED] wrote: ... brain:~ alex$ python -mtimeit -s'sos=[set(range(x,x+4)) for x in range(0, 100, 3)]' 'r=set()' 'for x in sos: r.update(x)' 10 loops, best of 3: 18.8 usec per loop brain:~ alex$ python -mtimeit -s'sos=[set(range(x,x+4)) for x in range(0, 100,

Re: yet another indentation proposal

2007-08-19 Thread Alex Martelli
Paddy [EMAIL PROTECTED] wrote: ... Can screen reaaderss be customized? Open-source ones surely can (e.g., NVDA is an open-source reader for Windows written in Python, http://www.nvda-project.org/ -- alas, if you search for NVDA Google appears to be totally convinced you mean NVidia instead,

Re: yet another indentation proposal

2007-08-19 Thread Aaron
Paddy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Oh wow. it never crossed my mind... Can screen reaaderss be customized? Maybe their is a way to get the screen reader to say indent and dedent at thee appropriate places? Or maybe a filter to put those wordds into the source?

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Wildemar Wildenburger
Buchoux Sébastien wrote: Yeah, I know this is a FAQ, but, as you mention, there is a whole bunch of editors, every one of them being updated constantly (+ the new ones getting out). So I am quite sure that looking through the archives is THE solution since it will only reflect what people

Re: How to make a module function visible only inside the module?

2007-08-19 Thread beginner
On Aug 19, 7:45 am, Bjoern Schliessmann usenet- [EMAIL PROTECTED] wrote: beginner wrote: Thanks a lot. I was using two underscores, __module_method() as my static method convention, and then I had some problems calling them from inside class methods. *Please* do yourself and other people

Re: Variable variable name or variable lvalue

2007-08-19 Thread inmmike
On Aug 15, 1:42 pm, mfglinux [EMAIL PROTECTED] wrote: Hello to everybody I would like to know how to declare in python a variable name that it is in turn a variable In bash shell I would wrote sthg like: for x in `seq 1 3` do M$i=Material(x) #Material is a python class done Why I

Re: How to setup pyOpenGL3.0.a6 for window xp?

2007-08-19 Thread Jason
On Aug 17, 6:42 pm, Carl Banks [EMAIL PROTECTED] wrote: Windows comes with OpenGL libraries. However, before you can use OpenGL you'll need a package that can provide an OpenGL context, which PyOpenGL doesn't do (easily). PyGame is the typical choice for most uses. If all you need is a

Re: How to find script's directory

2007-08-19 Thread Jeffrey Froman
Papalagi Pakeha wrote: I guess I could do it with a little help of os.path.realpath() for all those cases where absolute or relative path was used. But how should I approach it when it's invoked as plain 'blah.py' because its directory name is in $PATH? Use the value of __file__ rather than

Sorting a list of Unicode strings?

2007-08-19 Thread [EMAIL PROTECTED]
Hey Guys, Maybe I'm missing something fundamental here, but if I have a list of Unicode strings, and I want to sort these alphabetically, then it places those that begin with unicode characters at the bottom. Is there a way to avoid this, and make it sort them properly? I'm sure that this is the

Re: Sorting a list of Unicode strings?

2007-08-19 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: Hey Guys, ... and girls - maybe ... Maybe I'm missing something fundamental here, but if I have a list of Unicode strings, and I want to sort these alphabetically, then it places those that begin with unicode characters at the bottom. That's because Unicode is more

Re: Sorting a list of Unicode strings?

2007-08-19 Thread [EMAIL PROTECTED]
On Aug 19, 6:01 pm, Stefan Behnel [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hey Guys, ... and girls - maybe ... Maybe I'm missing something fundamental here, but if I have a list of Unicode strings, and I want to sort these alphabetically, then it places those that begin with

Re: Variable variable name or variable lvalue

2007-08-19 Thread Gary Herron
[EMAIL PROTECTED] wrote: On Aug 15, 1:42 pm, mfglinux [EMAIL PROTECTED] wrote: Hello to everybody I would like to know how to declare in python a variable name that it is in turn a variable In bash shell I would wrote sthg like: for x in `seq 1 3` do M$i=Material(x) #Material is a

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Diez B. Roggisch
Buchoux Sébastien schrieb: Bjoern Schliessmann wrote: Sébastien wrote: I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! )

Re: imaplib Received: header(s)???

2007-08-19 Thread Donn Cave
Quoth Petri Savolainen [EMAIL PROTECTED]: | Is there a way to get at the Received header(s) or is there something | in imaplib or imap server implementations that hides these? If not, what | IMAP FETCH command should be used? I've used for example | BODY[HEADER.FIELDS (RECEIVED)] and it always

Re: Development for dual core machine

2007-08-19 Thread Paul Rubin
Andy [EMAIL PROTECTED] writes: From what I read, I think that simply by making the package run in several separate processes (web server, database server, Python interpreter, etc.), and/or using multiple threads (which I will anyway) the package should be able to use multiple CPUs. Python

Latest models of Gibson guitars

2007-08-19 Thread mobilendd
Reviews of latest models of best guitars, fender, gibson, yamaha, and many more, with pictures and prices. http://pro-guitars.blogspot.com/ And if you want to win a free guitar go here http://freeguitars.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: How to find script's directory

2007-08-19 Thread Tuomas
#!/usr/bin/python # module show_my_path # ... import os print 'os.path.abspath(__file__):', os.path.abspath(__file__) # ... # end of module [EMAIL PROTECTED] class]$ python import show_my_path os.path.abspath(__file__): /misc/proc/py/test/class/show_my_path.py [EMAIL PROTECTED] class]$ python

A/C Systems!

2007-08-19 Thread Cartuners
Everything you need to know about car air conditioners... http://car-air-conditioning.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: A/C Systems!

2007-08-19 Thread carairconditionersmail
On Aug 19, 7:39 pm, [EMAIL PROTECTED] wrote: Everything you need to know about car air conditioners... http://car-air-conditioning.blogspot.com/ Great website man, I found everything I need -- http://mail.python.org/mailman/listinfo/python-list

ctypes and unsigned char*

2007-08-19 Thread [EMAIL PROTECTED]
Hi, can anybody with ctypes experience tell me, how to handle a C function that returns an unsigned char*? Obviously it is not a restype of c_char_p. Best regards, Oliver -- http://mail.python.org/mailman/listinfo/python-list

Re: yet another indentation proposal

2007-08-19 Thread O.R.Senthil Kumaran
Hi Aaron, Finally, just to be clear, I do not want to change the way 99.9% of Python code is written. I feel that the indentation model is a good one for 99.9% of users. What I do want to do is simply give the Python interpreter a tiny bit more flexibility to handle code from users or

Re: A/C Systems!

2007-08-19 Thread Torrey Hills
On Aug 19, 10:42 am, [EMAIL PROTECTED] wrote: On Aug 19, 7:39 pm, [EMAIL PROTECTED] wrote: Everything you need to know about car air conditioners... http://car-air-conditioning.blogspot.com/ Great website man, I found everything I need A lot of wonderful tips. Thanks. Ken Opportunities

Re: How to setup pyOpenGL3.0.a6 for window xp?

2007-08-19 Thread Gary Herron
Jason wrote: On Aug 17, 6:42 pm, Carl Banks [EMAIL PROTECTED] wrote: Windows comes with OpenGL libraries. However, before you can use OpenGL you'll need a package that can provide an OpenGL context, which PyOpenGL doesn't do (easily). PyGame is the typical choice for most uses. If all

Re: Sorting a list of Unicode strings?

2007-08-19 Thread Alex Martelli
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ... Maybe I'm missing something fundamental here, but if I have a list of Unicode strings, and I want to sort these alphabetically, then it places those that begin with unicode characters at the bottom. ... Anyway, I know _why_ it does

Re: Parser Generator?

2007-08-19 Thread Jack
Thanks for the suggestion. I understand that more work is needed for natural language understanding. What I want to do is actually very simple - I pre-screen the user typed text. If it's a simple syntax my code understands, like, Weather in London, I'll redirect it to a weather site. Or, if

Python on Computation, Math and Statistics

2007-08-19 Thread W. Watson
I would hope Python is doing a lot of standard computations beyond arithmetic. Trig functions and more. Comments? -- Wayne Watson (Nevada City, CA) Web Page: speckledwithStars.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread math2life
On Aug 19, 2:47 am, Sébastien [EMAIL PROTECTED] wrote: Hi folks, I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python

Re: ctypes and unsigned char*

2007-08-19 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: Hi, can anybody with ctypes experience tell me, how to handle a C function that returns an unsigned char*? Obviously it is not a restype of c_char_p. From the docs: c_ubyte Represents the C unsigned char datatype, it interprets the value as small integer.

Re: Python on Computation, Math and Statistics

2007-08-19 Thread Diez B. Roggisch
W. Watson schrieb: I would hope Python is doing a lot of standard computations beyond arithmetic. Trig functions and more. Comments? Bad google day? http://docs.python.org/lib/numeric.html Additionally, there are several scientific extensions, like SciPy, Numeric/Numpy and so forth. Diez

Re: ctypes and unsigned char*

2007-08-19 Thread Gabriel Genellina
On 19 ago, 14:44, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, can anybody with ctypes experience tell me, how to handle a C function that returns an unsigned char*? Obviously it is not a restype of c_char_p. Being signed or unsigned is not important here. But you have to disambiguate

Re: Latest models of Gibson guitars

2007-08-19 Thread vedrandekovic
On 19 kol, 19:34, [EMAIL PROTECTED] wrote: Reviews of latest models of best guitars, fender, gibson, yamaha, and many more, with pictures and prices. http://pro-guitars.blogspot.com/ And if you want to win a free guitar go here http://freeguitars.blogspot.com/ Hello, This is a newsgroup

Re: Latest models of Gibson guitars

2007-08-19 Thread Diez B. Roggisch
Hello, This is a newsgroup of programming language Python, stop with this! And by fully citing the message including the links, you increase the visibility of the spammers site. Don't do that. Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: How to make a module function visible only inside the module?

2007-08-19 Thread Gabriel Genellina
On 18 ago, 22:46, beginner [EMAIL PROTECTED] wrote: On Aug 18, 8:27 pm, [EMAIL PROTECTED] (Lawrence Oluyede) wrote: beginner [EMAIL PROTECTED] wrote: Is there any equivalent version of C's static function in Python. I know I can make a class function private by starting a function name

Re: Python on Computation, Math and Statistics

2007-08-19 Thread W. Watson
Google? What's that? Thanks. I like to get a insider's view when I know experts are out there. So now I ask a deeper question. Are there matrix computation libraries or even statistical (regression, factor analysis) libraries? Diez B. Roggisch wrote: W. Watson schrieb: I would hope Python is

Re: Overriding Thread.join in derived class.

2007-08-19 Thread Gabriel Genellina
On 18 ago, 04:31, Graham Dumpleton [EMAIL PROTECTED] wrote: If one creates a thread using threading.Thread and makes it a daemon by calling setDaemon(), then when Python is exiting it will not attempt to call join() on that thread and wait for it to complete first. [...] End result is that

Re: Python on Computation, Math and Statistics

2007-08-19 Thread Diez B. Roggisch
W. Watson schrieb: Google? What's that? Thanks. I like to get a insider's view when I know experts are out there. So now I ask a deeper question. Are there matrix computation libraries or even statistical (regression, factor analysis) libraries? That's your idea of an in depth question?

Re: Latest models of Gibson guitars

2007-08-19 Thread Arne Vajhøj
[EMAIL PROTECTED] wrote: [some spam deleted] This is a newsgroup of programming language Python, stop with this! Actually this was posted to a bunch of newsgroups of which one is about python. Arne -- http://mail.python.org/mailman/listinfo/python-list

Re: Parser Generator?

2007-08-19 Thread Alex Martelli
Jack [EMAIL PROTECTED] wrote: Thanks for the suggestion. I understand that more work is needed for natural language understanding. What I want to do is actually very simple - I pre-screen the user typed text. If it's a simple syntax my code understands, like, Weather in London, I'll

Re: Latest models of Gibson guitars

2007-08-19 Thread George
[EMAIL PROTECTED] wrote: On 19 kol, 19:34, [EMAIL PROTECTED] wrote: Reviews of latest models of best guitars, fender, gibson, yamaha, and many more, with pictures and prices. http://spam-guitars.blogspot.com/ And if you want to win a free guitar go here http://spamguitars.blogspot.com/

Re: A/C Systems!

2007-08-19 Thread Daniel Pitts
On Aug 19, 10:42 am, [EMAIL PROTECTED] wrote: On Aug 19, 7:39 pm, [EMAIL PROTECTED] wrote: Everything you need to know about car air conditioners... http://car-air-conditioning.spamspot.spam/ Great website man, I found everything I need Perhaps you did, after all, you advertise it all

Re: Symbolic Link

2007-08-19 Thread mosscliffe
On 19 Aug, 13:16, samwyse [EMAIL PROTECTED] wrote: mosscliffewrote: I am trying to create a link to a file, which I can then use in an HTML page. The system is Linux on a hosted web service, running python 2.3. Other than that I have no knowledge of the system. The link is created OK,

Re: Latest models of Gibson guitars

2007-08-19 Thread Hermit
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Reviews of latest models of best guitars, fender, gibson, yamaha, and many more, with pictures and prices. http://pro-guitars.blogspot.com/ And if you want to win a free guitar go here http://freeguitars.blogspot.com/ How does

Re: 1)URL QueryString Parsing 2)Search Engine Spiders

2007-08-19 Thread mosscliffe
On 19 Aug, 13:54, samwyse [EMAIL PROTECTED] wrote: mosscliffewrote: I am trying to create a back link, equivalent to the browser back action and I can not use java script. The target user does not allow java script. I am using HTTP_REFERER. I need to add the original Query String

Re: Python on Computation, Math and Statistics

2007-08-19 Thread Sebastian Bassi
On 8/19/07, W. Watson [EMAIL PROTECTED] wrote: Google? What's that? Thanks. I like to get a insider's view when I know experts are out there. So now I ask a deeper question. Are there matrix computation libraries or even statistical (regression, factor analysis) libraries? If you are so

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Dick Moores
At 02:47 AM 8/19/2007, Sébastien wrote: Hi folks, I am currently using Eclipse+PyDev when developping Python projects but I lack a fast, simple editor for tiny bit of scripts. So here is my question: what is, for you, the current best ( but still kind of light! ) Python editor/IDE ? A tiny

Re: Hot subject: a good python editor and/or IDE?

2007-08-19 Thread Bjoern Schliessmann
Buchoux Sébastien wrote: Yeah, I know this is a FAQ, but, as you mention, there is a whole bunch of editors, every one of them being updated constantly (+ the new ones getting out). Are you really sure that you know the meaning of the word frequently? So I am quite sure that looking through

Re: Development for dual core machine

2007-08-19 Thread Bjoern Schliessmann
samwyse wrote: The Python interpreter is not multi-cpu aware, so using Python threads won't work on multiple CPUs. Are you sure about this? Regards, Björn -- BOFH excuse #12: dry joints on cable plug -- http://mail.python.org/mailman/listinfo/python-list

Re: Development for dual core machine

2007-08-19 Thread Bjoern Schliessmann
Paul Rubin wrote: Python threading doesn't support multiple CPU's because of the GIL. :s/support/take full advantage of/ Regards, Björn -- BOFH excuse #46: waste water tank overflowed onto computer -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on Computation, Math and Statistics

2007-08-19 Thread Paul McGuire
On Aug 19, 2:32 pm, W. Watson [EMAIL PROTECTED] wrote: Google? What's that? Thanks. I like to get a insider's view when I know experts are out there. FYI the insiders and experts out there appreciate knowing that you did a little work on your own before just posting questions. I like to get a

Re: How to make a module function visible only inside the module?

2007-08-19 Thread Bjoern Schliessmann
beginner wrote: I just started learning the language. I wasn't aware of the PEP. Mh, two postings before Lawrence already mentioned it. I suggest looking through the BeginnersGuide. http://wiki.python.org/moin/BeginnersGuide Regards, Björn -- BOFH excuse #203: Write-only-memory

Syntax Question - list multiplication

2007-08-19 Thread Pablo Torres
Hi guys! I am working on Conway's Game of Life right now and I've run into a little problem. I represent dead cells with 0s and live ones with 1s. Check this out: grid = [[0] * 3] * 3 grid [[0, 0, 0], [0, 0, 0], [0, 0, 0]] grid[0][0] = 1 [[1, 0, 0], [1,

Re: Syntax Question - list multiplication

2007-08-19 Thread MC
Classic -- @-salutations Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

desperately in need of a tool

2007-08-19 Thread yagyala
Hi. I recently started working for a company that has just implemented its first set of software standards. So far, so good. Here's the problem: one of those standards is that the comments for each routine must indicate every other routine that it calls. As I try to keep my routines small, and

Re: A problem with Time

2007-08-19 Thread Dick Moores
At 08:30 AM 8/16/2007, special_dragonfly wrote: Hello, I need to return the date yesterday in the form DDMM. I looked through the modules: time, datetime and calendar but can't find anything that leaps out at me. The problem I'm having is that although I can use time.localtime and get a

Re: How to setup pyOpenGL3.0.a6 for window xp?

2007-08-19 Thread Richard Jones
Gary Herron wrote: Jason wrote: On Aug 17, 6:42 pm, Carl Banks [EMAIL PROTECTED] wrote: Windows comes with OpenGL libraries. However, before you can use OpenGL you'll need a package that can provide an OpenGL context, which PyOpenGL doesn't do (easily). PyGame is the typical choice for

Re: Python on Computation, Math and Statistics

2007-08-19 Thread Jaap Spies
W. Watson wrote: I would hope Python is doing a lot of standard computations beyond arithmetic. Trig functions and more. Comments? Try SAGE: http://www.sagemath.org/ Jaap Permanents are here forever. -- http://mail.python.org/mailman/listinfo/python-list

Re: Syntax Question - list multiplication

2007-08-19 Thread Thomas Jollans
On Sunday 19 August 2007, Pablo Torres wrote: Hi guys! I am working on Conway's Game of Life right now and I've run into a little problem. I represent dead cells with 0s and live ones with 1s. Check this out: grid = [[0] * 3] * 3 grid [[0, 0, 0], [0, 0, 0], [0, 0, 0]]

Re: Syntax Question - list multiplication

2007-08-19 Thread Roel Schroeven
Pablo Torres schreef: Hi guys! I am working on Conway's Game of Life right now and I've run into a little problem. I represent dead cells with 0s and live ones with 1s. Check this out: grid = [[0] * 3] * 3 grid [[0, 0, 0], [0, 0, 0], [0, 0, 0]] grid[0][0] = 1

Re: Python on Computation, Math and Statistics

2007-08-19 Thread W. Watson
Thanks. I appreciate the info. Diez B. Roggisch wrote: W. Watson schrieb: Google? What's that? Thanks. I like to get a insider's view when I know experts are out there. So now I ask a deeper question. Are there matrix computation libraries or even statistical (regression, factor analysis)

Re: Python on Computation, Math and Statistics

2007-08-19 Thread W. Watson
Thanks. Paul McGuire wrote: On Aug 19, 2:32 pm, W. Watson [EMAIL PROTECTED] wrote: Google? What's that? Thanks. I like to get a insider's view when I know experts are out there. FYI the insiders and experts out there appreciate knowing that you did a little work on your own before just

Re: Python on Computation, Math and Statistics

2007-08-19 Thread W. Watson
Thanks. That looks interesting. Jaap Spies wrote: W. Watson wrote: I would hope Python is doing a lot of standard computations beyond arithmetic. Trig functions and more. Comments? Try SAGE: http://www.sagemath.org/ Jaap Permanents are here forever. --

Re: Latest models of Gibson guitars

2007-08-19 Thread thebjorn
On Aug 19, 8:41 pm, [EMAIL PROTECTED] wrote: On 19 kol, 19:34, [EMAIL PROTECTED] wrote: [spam] Hello, This is a newsgroup of programming language Python, stop with this! Regards, Vedran As someone else pointed out, this is more widely disseminated than just c.l.py. If you feel the need

Re: desperately in need of a tool

2007-08-19 Thread Chris Mellon
On 8/19/07, yagyala [EMAIL PROTECTED] wrote: Hi. I recently started working for a company that has just implemented its first set of software standards. So far, so good. Here's the problem: one of those standards is that the comments for each routine must indicate every other routine that it

Can I add methods to built in types with classes?

2007-08-19 Thread CC
Hi: I've gotten through most of the 9. Classes section of the tutorial. I can deal with the syntax. I understand the gist of what it does enough that I can play with it. But am still a long way from seeing how I can use this OOP stuff. But I have one idea. Not that the functional approach

  1   2   >