Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Hendrik van Rooyen
"Russ P." wrote: > I am surprised to see that Newton is not taken. I urge > Guido to take it while it is still available. Sir Isaac > certainly deserves the honor. Does he? Are you aware of how he treated Hooke? He was a great technician, but as a person, you would not have had him marry your

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Hendrik van Rooyen
"John Machin" <[EMAIL PROTECTED]> wrote: > On Dec 1, 5:14 pm, "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote: > > "John Machin" wrote: > > > > > Pythons are good snakes; they hypnotise the meaninglessly chattering > > > bandarlog and eat them. Beware! > > > > What is a bandarlog - I know the ba

Re: using pdb and catching exception

2007-12-01 Thread Frank Millman
Amit Gupta wrote: > Py'ites > > I am using pdb to check my code, and I would like to put a statement > like equivalent of "C++gdb>catch throw". > > Basically, I would like debugger to start as soon as an exception is > thrown. How may I do it? > > > Thanks See this post from less than a week ago

Re: [OT] minimalist web server

2007-12-01 Thread Paul Rubin
> from SimpleHTTPServer import SimpleRequestHandler > handler = HTTPServer (('', 8000), SimpleRequestHandler) I think you mean SimpleHTTPRequestHandler. Note that actually reads the url path and looks in the file system to get the file of that name, which isn't what the OP wanted. The OP might

Re: [OT] minimalist web server

2007-12-01 Thread Mel
Daniel Fetchinson wrote: > Maybe I found what I'm looking for: cheetah, a web server that is 600 > lines of C code and that's it :) > > http://freshmeat.net/projects/cheetahd/ For the sake of on-topicness, there is this: #!/usr/bin/env python # -*- coding: ASCII -*- '''$Id$ ''' from BaseHTTPSe

Re: Gnu/Linux dialogue boxes in python

2007-12-01 Thread Donn Ingle
Paul Boddie wrote: > but I'll > either upload a new release, or I'll make the code available > separately. Thanks, give me a shout when you do -- if you remember! \d -- http://mail.python.org/mailman/listinfo/python-list

Re: "Show this file in explorer"

2007-12-01 Thread farsheed
You are my hero man, Thanks a lot. -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] minimalist web server

2007-12-01 Thread Dave Benjamin
Daniel Fetchinson wrote: > The reason I need this is that my current best strategy to avoid ads > in web pages is putting all ad server names into /etc/hosts and stick > my local ip number next to them (127.0.0.1) so every ad request goes > to my machine. I run apache which has an empty page for 40

ANN: Pyrex 0.9.6.4

2007-12-01 Thread Greg Ewing
Pyrex 0.9.6.4 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Mostly just bug fixes in this release; see CHANGES.txt on the web site for details. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you freely mix operat

Computer Security Information and What You Can Do To Keep Your System Safe!

2007-12-01 Thread Anand . Bhaskar . group . com
.:: Unix and Linux Hacking and Security ::. 1. Unix - Vulnerabilities and Advisories -- Tutorials and Papers -- Specific Exploits and Vulnerabilities 2. Unix - Security Tools -- Unix Security and Audit Tools (Including IDS and Access Control Tools) -- Unix Log Analysis Tools -- Unix Proxies, Firew

my first screen scraper

2007-12-01 Thread [EMAIL PROTECTED]
## I was looking in my database of movie grosses I regulary copy ## from the Internet Movie Database and noticed I was _only_ 120 ## weeks behind in my updates. ## ## Ouch. ## ## Copying a web page, pasting into a text file, running a perl ## script to convert it into a csv file and manually

Re: [OT] minimalist web server

2007-12-01 Thread David Tweet
Running this in Python should create a server running on localhost port 80 that only serves blank pages: import SimpleHTTPServer import SocketServer class MyHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): def do_GET(self): print >> self.wfile, "" server = SocketServer.TCPServer(("", 80

Re: [OT] minimalist web server

2007-12-01 Thread Daniel Fetchinson
Maybe I found what I'm looking for: cheetah, a web server that is 600 lines of C code and that's it :) http://freshmeat.net/projects/cheetahd/ On 12/1/07, Daniel Fetchinson <[EMAIL PROTECTED]> wrote: > > > I'm looking for the most minimalist web server ever that does nothing > > > else than retu

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread George Sakkis
On Dec 1, 9:06 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > Pythons are big, non-poisonous snakes good for keeping the rats out > of a system I'm looking forward to Spider(TM), the first bug-free language ;-) -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] minimalist web server

2007-12-01 Thread Daniel Fetchinson
> > I'm looking for the most minimalist web server ever that does nothing > > else than return a fixed static page for every request. Regardless of > > what the request is, it just needs to be an HTTP request to port 80, > > the web server should return always the same html document. What would > >

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Russ P.
> Heck, lots of names are > take:http://en.wikipedia.org/wiki/Alphabetical_list_of_programming_languages I am surprised to see that Newton is not taken. I urge Guido to take it while it is still available. Sir Isaac certainly deserves the honor. -- http://mail.python.org/mailman/listinf

Re: CoCoPy Beta released

2007-12-01 Thread Terry Reedy
"Ron Provost" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | VARS = [ 0 for x in xrange( 0, 1000 ) ] # Create an array to hold the This is the same as [0]*1000 which is faster to write, read, (and run). -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] minimalist web server

2007-12-01 Thread Paul Rubin
"Daniel Fetchinson" <[EMAIL PROTECTED]> writes: > I'm looking for the most minimalist web server ever that does nothing > else than return a fixed static page for every request. Regardless of > what the request is, it just needs to be an HTTP request to port 80, > the web server should return alway

Tkinter container frames

2007-12-01 Thread Ron Provost
I've been trying to figure out how to use the container option in a frame widget in conjunction with the use option with a Toplevel widget. Which according to the documentation I've read sounds like it will give me a Windows MDI like application with free-floating child windows within the conta

[OT] minimalist web server

2007-12-01 Thread Daniel Fetchinson
Hi list, This is way off topic but maybe somebody knowledgeable can help. I'm looking for the most minimalist web server ever that does nothing else than return a fixed static page for every request. Regardless of what the request is, it just needs to be an HTTP request to port 80, the web se

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Russ P.
On Dec 1, 4:57 pm, Bjoern Schliessmann wrote: > Tóth Csaba wrote: > > Lets evaluate from the Python3000: Newton3 (N3). > > > +1 vote from me :) > > Nah. Python is an "acceptable" name, but Newton1 (or Newton3) would be a great name. Shouldn't a great language have a great name? I think so. And I

Re: python newbie - question about lexical scoping

2007-12-01 Thread Matt Barnicle
>> On Dec 1, 4:47 pm, Matt Barnicle <[EMAIL PROTECTED]> wrote: > aye yaye aye... thanks for the pointers in the right direction.. i > fiddled around with the code for a while and now i've reduced it to the > *real* issue... i have a class dict variable that apparently holds its > value across in

Re: python newbie - question about lexical scoping

2007-12-01 Thread Matt Barnicle
>> On Dec 1, 4:47 pm, Matt Barnicle <[EMAIL PROTECTED]> wrote: > aye yaye aye... thanks for the pointers in the right direction.. i > fiddled around with the code for a while and now i've reduced it to the > *real* issue... i have a class dict variable that apparently holds its > value across in

Multiple Windows in Pygame, using true concurrency in python via Kamaelia

2007-12-01 Thread Michael Sparks
Hi, Just thought some people may be interested to hear that I've recently been looking at adding true concurrency into Kamaelia, by using Paul Boddie's pprocess as the core mechanism to allow us to run multiple Kamaelia systems in the same app. (Since we have thread based, and co-operative genera

Re: python newbie - question about lexical scoping

2007-12-01 Thread Tim Roberts
Matt Barnicle <[EMAIL PROTECTED]> wrote: >hi everyone.. i've been chugging along learning python for a few months >now and getting answers to all needed questions on my own, but this one >i can't figure out nor can i find information on the internet about it, >possibly because i don't understa

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Bjoern Schliessmann
Tóth Csaba wrote: > Lets evaluate from the Python3000: Newton3 (N3). > > +1 vote from me :) Nah. BTW, why exactly do you keep using an X-Face header completely identical to mine? Regards, Björn -- BOFH excuse #364: Sand fleas eating the Internet cables -- http://mail.python.org/mailman/

Re: pythonw.exe and python.exe

2007-12-01 Thread Tim Roberts
whatazor <[EMAIL PROTECTED]> wrote: > >I made a little application with multithreading in winxp with >python2.5. An event generated from a third part software is the >trigger for the creation of progress bar in a wxPython app. This >python app is launched via wxExecute. >I've noticed a different be

Re: How to read strings cantaining escape character from a file and use it as escape sequences?

2007-12-01 Thread Bjoern Schliessmann
John Machin wrote: > Amazing what you can find in obscure corners of the obscure docs! > BTW, how many folks know what "bijective" means ? Everyone that can read and is smart enough to enter "bijective" into Wikipedia search. Regards, Björn -- BOFH excuse #25: Decreasing electron flux --

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread greg
Dotan Cohen wrote: > C++ is obviously C+1, ie, what comes after C. Although it was a bit rude to choose the destructive form C++ instead of C+1. Many programmers are quite happy with C as it is and don't want their language overwritten! Also there's the rather confusing fact that the value of the

Re: python newbie - question about lexical scoping

2007-12-01 Thread Matt Barnicle
> On Dec 1, 4:47 pm, Matt Barnicle <[EMAIL PROTECTED]> wrote: >> hi everyone.. i've been chugging along learning python for a few months >> now and getting answers to all needed questions on my own, but this one >> i can't figure out nor can i find information on the internet about it, >> possibly

Re: python newbie - question about lexical scoping

2007-12-01 Thread Matt Barnicle
> On Dec 1, 4:47 pm, Matt Barnicle <[EMAIL PROTECTED]> wrote: >> hi everyone.. i've been chugging along learning python for a few months >> now and getting answers to all needed questions on my own, but this one >> i can't figure out nor can i find information on the internet about it, >> possibly

Re: Interfaces to high-volume discussion forums

2007-12-01 Thread Paul Rubin
Michael Spencer <[EMAIL PROTECTED]> writes: > I agree: I use Thunderbird, and it works well. But I read NNTP > newsgroups on several devices, and I would really like to have the > read-status synchronized across them. > Can anyone recommend a solution that also synchronizes post read > status? I

Re: Interfaces to high-volume discussion forums

2007-12-01 Thread Michael Spencer
Dennis Lee Bieber wrote: > On Fri, 30 Nov 2007 11:36:44 -0800, Michael Spencer >> >> Can anyone recommend a solution that also synchronizes post read status? If >> Google Reader or something like it handled NNTP, I imagine I'd use it to >> achieve >> this benefit. >> > Unlike email client

Re: Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread John Machin
On Dec 2, 9:49 am, Paul Rubin wrote: > John Machin <[EMAIL PROTECTED]> writes: > > self.words is obviously an iterable (can you see "for word in > > self.words" in his code?), probably just a list. > > It could be a file, in which case its iterator method would read lines

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Tóth Csaba
Russ P. írta: >>> Newton was a great scientist, and his name is easy to spell and >>> pronounce. >> Should be, but a large proportion of the population pronounce it so >> that it rhymes with "hootin" as in "hootin n hollerin" :-) > > You can count me in that large proportion. 8^) > > The 1 also s

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Russ P.
> > Newton was a great scientist, and his name is easy to spell and > > pronounce. > > Should be, but a large proportion of the population pronounce it so > that it rhymes with "hootin" as in "hootin n hollerin" :-) You can count me in that large proportion. 8^) By the way, after thinking about

Re: Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread John Machin
On Dec 2, 8:59 am, lysdexia <[EMAIL PROTECTED]> wrote: > I'm having great fun playing with Markov chains. I am making a > dictionary of all the words in a given string, getting a count of how > many appearances word1 makes in the string, getting a list of all the > word2s that follow each appearan

using pdb and catching exception

2007-12-01 Thread Amit Gupta
Py'ites I am using pdb to check my code, and I would like to put a statement like equivalent of "C++gdb>catch throw". Basically, I would like debugger to start as soon as an exception is thrown. How may I do it? Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread Paul Rubin
John Machin <[EMAIL PROTECTED]> writes: > self.words is obviously an iterable (can you see "for word in > self.words" in his code?), probably just a list. It could be a file, in which case its iterator method would read lines from the file and cause that error message. But I think the answer is t

Re: "Show this file in explorer"

2007-12-01 Thread MonkeeSage
On Dec 1, 2:58 pm, farsheed <[EMAIL PROTECTED]> wrote: > But now I have a more technical question. when I run this command, I > saw that the windows explorer did not refresh,example: I have two > files in a folder and i use that command to select them from command > line, the first one will be sel

Re: Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread John Machin
On Dec 2, 9:13 am, Paul Rubin wrote: > lysdexia <[EMAIL PROTECTED]> writes: > > self.wordDB[word] = [self.words.count(word), wordsWeights] > > what is self.words.count? Could it be an iterator? I don't think you > can pickle those. Wht?? self.words is obvio

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread John Machin
On Dec 2, 8:40 am, "Russ P." <[EMAIL PROTECTED]> wrote: > > None. None of them are good names by my criteria. But then, a name is > only a name. One of the few names I like is Pascal, because he was a > great mathematician and scientist. > > After thinking about it a bit, here are examples of what

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Paul Rudin
"J. Clifford Dyer" <[EMAIL PROTECTED]> writes: > ...Perl is named for a knitting technique, Lisp is named for a > speech impediment... I can't figure out whether you're being serious or not but, for the record, those are not where the names of those two languages come from. http://en.wikipedia.

Re: Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread David Tweet
Are you opening the file in binary mode ("rb") before doing pickle.load on it? On 01 Dec 2007 14:13:33 -0800, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > lysdexia <[EMAIL PROTECTED]> writes: > > self.wordDB[word] = [self.words.count(word), wordsWeights] > > what is self.words.coun

Re: How to read strings cantaining escape character from a file and use it as escape sequences?

2007-12-01 Thread John Machin
On Dec 2, 2:33 am, Duncan Booth <[EMAIL PROTECTED]> wrote: > slomo <[EMAIL PROTECTED]> wrote: > print line > > \u0050\u0079\u0074\u0068\u006f\u006e > > > But I want to get a string: > > > "\u0050\u0079\u0074\u0068\u006f\u006e" > > > How do you make it? > > line.decode('unicode-escape') Amazin

Re: Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread Paul Rubin
lysdexia <[EMAIL PROTECTED]> writes: > self.wordDB[word] = [self.words.count(word), wordsWeights] what is self.words.count? Could it be an iterator? I don't think you can pickle those. -- http://mail.python.org/mailman/listinfo/python-list

Pickling dictionaries containing dictionaries: failing, recursion-style!

2007-12-01 Thread lysdexia
I'm having great fun playing with Markov chains. I am making a dictionary of all the words in a given string, getting a count of how many appearances word1 makes in the string, getting a list of all the word2s that follow each appearance of word1 and a count of how many times word2 appears in the

Re: os.access() under windows

2007-12-01 Thread David Tweet
To answer indirectly, usually the EAFP (easier to ask forgiveness than permission) approach works better for this kind of thing. try: f = open('e:\\test\\test', 'a') f.write('abc') f.close() except IOError: print "couldn't write test file, continuing..." On Dec 1, 2007 1:48 AM, Yann Lebou

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Russ P.
On Dec 1, 12:47 pm, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote: > On Sat, 2007-12-01 at 12:10 -0800, Russ P. wrote: > > On Dec 1, 2:10 am, Bjoern Schliessmann > [EMAIL PROTECTED]> wrote: > > > Russ P. wrote: > > > > I agree that Python is not a good name for a programming language, > > > > Why n

build boost.python tutorial "hello world" without bjam

2007-12-01 Thread devito
hi there, for some days i try to build the boost.python tutorial "hello world" without bjam on winxp by using mingw. so i wrote a *.bat-file like the following: // --- snip -- @echo off SETLOCAL SET DIR_MINGW=c:\d

Re: Sorting array

2007-12-01 Thread Robert Kern
Tartifola wrote: > > Hi, > > On Fri, 30 Nov 2007 14:55:08 -0600 > Robert Kern <[EMAIL PROTECTED]> wrote: >> numpy questions are best asked on the numpy-discussion mailing list since >> everyone there automatically knows that you are talking about numpy arrays >> and >> not just misnaming lists.

Re: "Show this file in explorer"

2007-12-01 Thread farsheed
But now I have a more technical question. when I run this command, I saw that the windows explorer did not refresh,example: I have two files in a folder and i use that command to select them from command line, the first one will be selected, but after running the command for second file, the secon

LIVE TEEN CAM in my ROOM!

2007-12-01 Thread Mberyl1
-- http://mail.python.org/mailman/listinfo/python-list

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread J. Clifford Dyer
On Sat, 2007-12-01 at 12:10 -0800, Russ P. wrote: > On Dec 1, 2:10 am, Bjoern Schliessmann [EMAIL PROTECTED]> wrote: > > Russ P. wrote: > > > I agree that Python is not a good name for a programming language, > > > > Why not? > > Think about proposing its use to someone who has never heard of it

Re: (More) Re: Is __import__ known to be slow in windows?

2007-12-01 Thread Joshua Kugler
John Machin wrote: > On Dec 1, 2:12 pm, Joshua Kugler <[EMAIL PROTECTED]> wrote: >> x = __import__(m) > > Have you ever tried print m, x.__file__ here to check that the modules > are being found where you expect them to be found? No, I haven't, but I do know for a fact that the only

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Neil Cerutti
On 2007-12-01, Bjoern Schliessmann <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: >> C was named after the B programming language, as it was inspired >> and meant to replace it. C++ is obviously C+1 > > Strictly speaking, C++ evalutes to C, but C is incremented > afterwards. Bjarne was only inter

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Russ P.
On Dec 1, 2:10 am, Bjoern Schliessmann wrote: > Russ P. wrote: > > I agree that Python is not a good name for a programming language, > > Why not? Think about proposing its use to someone who has never heard of it (which I did not too long ago). As the OP pointed out, a Python is a snake. Why sho

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
On 01/12/2007, Bjoern Schliessmann <[EMAIL PROTECTED]> wrote: > Strictly speaking, C++ evalutes to C, but C is incremented > afterwards. > :) I will remember that! Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it mess

Re: C/C++ on UNIX Developer required in Woodmead, Johannesburg

2007-12-01 Thread J. Clifford Dyer
Please don't. This job is not even vaguely python related. On Sat, 2007-12-01 at 18:42 +0100, James Matthews wrote: > Please post in the Python Wiki under the jobs > > On Dec 1, 2007 9:38 AM, arnold <[EMAIL PROTECTED]> wrote: > We seek the following sort of experience / skill for develo

Re: Check if a symlink is broken or circular

2007-12-01 Thread [EMAIL PROTECTED]
Giampaolo Rodola' wrote: > On 1 Dic, 00:10, "Martin v. L�wis" <[EMAIL PROTECTED]> wrote: > > > I would like to know if such function would be correct for verifying > > > if a link is broken and/or circular. > > > > > def isvalidlink(path): > > > assert os.path.islink(path) > > > try: > > >

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dan Upton
On Dec 1, 2007 12:34 PM, Bjoern Schliessmann <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > C was named after the B programming language, as it was inspired > > and meant to replace it. C++ is obviously C+1 > > Strictly speaking, C++ evalutes to C, but C is incremented > afterwards. > I guess

Re: Error: UnboundLocalError: local variable 'PfFlag' referenced before assignment

2007-12-01 Thread [EMAIL PROTECTED]
Calvin wrote: > On Nov 30, 3:07 pm, "Wang, Harry" <[EMAIL PROTECTED]> wrote: > > $$ TestCase ID : 001 > > Step : deleteDvc,206268 > > Result Eval type : XmlChk > > Step : deleteDvc,206269 > > Result Eval type : XmlChk > > Traceback (most recent call last): > > File "C:\UDR2\UDRxmlGateway.py", lin

Trusted GPT Sites& business idea

2007-12-01 Thread midomssh
how to earn money different tips & tricks to read more http://bigfatcash.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

CoCoPy Beta released

2007-12-01 Thread Ron Provost
I would like to introduce CoCo/r to the Python world. CoCo/r is an scanner generator and LL(k) parser generator which has already been ported to many languages. CocoPy 1.0.3b1 can be found in the Python Package Index. Features: - The generated scanner and parser are completely independant. Ei

Re: pythonw.exe and python.exe

2007-12-01 Thread James Matthews
Because they use two different API's to execute your code! On Nov 30, 2007 9:09 PM, whatazor <[EMAIL PROTECTED]> wrote: > Hi all, > I made a little application with multithreading in winxp with > python2.5. An event generated from a third part software is the > trigger for the creation of progres

Re: C/C++ on UNIX Developer required in Woodmead, Johannesburg

2007-12-01 Thread James Matthews
Please post in the Python Wiki under the jobs On Dec 1, 2007 9:38 AM, arnold <[EMAIL PROTECTED]> wrote: > We seek the following sort of experience / skill for developer > resources (if u do not qualify - we offer a handsome referral fee if > you refer someone that is succesfully placed:-) . > > C

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread James Matthews
Well in the future we will ask the internet god "Google" to guide us in making the name! On Dec 1, 2007 6:02 PM, Dotan Cohen <[EMAIL PROTECTED]> wrote: > On 01/12/2007, Tóth Csaba <[EMAIL PROTECTED]> wrote: > > man.. :)) the biggest point in this thread :DD > > btw in my country not much, because

Re: python not a good name.

2007-12-01 Thread James Matthews
Well in the future we will ask the internet god "Google" to guide us in making the name! On Dec 1, 2007 7:36 AM, Joseph king <[EMAIL PROTECTED]> wrote: > sorry for not responding to the thread the regular way...[cough] > > just to prove everyone i counted what was found while searching python

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Bjoern Schliessmann
Dotan Cohen wrote: > C was named after the B programming language, as it was inspired > and meant to replace it. C++ is obviously C+1 Strictly speaking, C++ evalutes to C, but C is incremented afterwards. Regards, Björn -- BOFH excuse #307: emissions from GSM-phones -- http://mail.python.o

Re: How to read strings cantaining escape character from a file and use it as escape sequences?

2007-12-01 Thread James Matthews
Also alot of times in the interactive interpeter it will show you charater codes! On Dec 1, 2007 6:04 PM, slomo <[EMAIL PROTECTED]> wrote: > WOW! Great! Thanks, Duncan. > > > On 12월2일, 오전12시33분, Duncan Booth <[EMAIL PROTECTED]> wrote: > > slomo <[EMAIL PROTECTED]> wrote: > > print line > > >

Re: How to read strings cantaining escape character from a file and use it as escape sequences?

2007-12-01 Thread slomo
WOW! Great! Thanks, Duncan. On 12월2일, 오전12시33분, Duncan Booth <[EMAIL PROTECTED]> wrote: > slomo <[EMAIL PROTECTED]> wrote: > print line > > \u0050\u0079\u0074\u0068\u006f\u006e > > > But I want to get a string: > > > "\u0050\u0079\u0074\u0068\u006f\u006e" > > > How do you make it? > > line.d

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
On 01/12/2007, Tóth Csaba <[EMAIL PROTECTED]> wrote: > man.. :)) the biggest point in this thread :DD > btw in my country not much, because we write it "szex" :DD > > tsabi > We got you beat: "סקס". Try that on a Latin keyboard! Actually, "szex" might be a great name, as it implies the meaning wi

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
On 01/12/2007, Russ P. <[EMAIL PROTECTED]> wrote: > Speaking of stupid names, what does "C++" mean? I think it's the grade > you get when you just barely missed a "B--". But I can't deny that it > *is* good for searching. C was named after the B programming language, as it was inspired and meant t

Re: How to read strings cantaining escape character from a file and use it as escape sequences?

2007-12-01 Thread Duncan Booth
slomo <[EMAIL PROTECTED]> wrote: print line > \u0050\u0079\u0074\u0068\u006f\u006e > > But I want to get a string: > > "\u0050\u0079\u0074\u0068\u006f\u006e" > > How do you make it? > line.decode('unicode-escape') -- http://mail.python.org/mailman/listinfo/python-list

How to read strings cantaining escape character from a file and use it as escape sequences?

2007-12-01 Thread slomo
How to read strings cantaining escape character from a file and use it as escape sequences? for example, a file 'unicodes.txt' has contents: \u0050\u0079\u0074\u0068\u006f\u006e Now, >>> file = open('unicodes.txt') >>> line = file.readline() >>> line '\\u0050\\u0079\\u0074\\u0068\\u006f\\u006e\

Re: Gnu/Linux dialogue boxes in python

2007-12-01 Thread Paul Boddie
On 1 Des, 07:02, Donn Ingle <[EMAIL PROTECTED]> wrote: > > [1]http://www.python.org/pypi/desktop > > Oh, just saw this link and fetched the code -- will have a look around. The dialogue box support isn't in the released version, but I'll either upload a new release, or I'll make the code available

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Tóth Csaba
Dotan Cohen írta: > On 01/12/2007, Aaron Watters <[EMAIL PROTECTED]> wrote: >> On Nov 30, 9:58 am, [EMAIL PROTECTED] wrote: >>> Now, python3000 is coming. It's the best time to rename! >> Yes, but "Thong" would be a better name, >> due to the minimalist syntax and the >> attraction/repulsion/catat

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
On 01/12/2007, Aaron Watters <[EMAIL PROTECTED]> wrote: > On Nov 30, 9:58 am, [EMAIL PROTECTED] wrote: > > Now, python3000 is coming. It's the best time to rename! > > Yes, but "Thong" would be a better name, > due to the minimalist syntax and the > attraction/repulsion/catatonic revulsion effect i

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Dotan Cohen
On 30/11/2007, Gerardo Herzig <[EMAIL PROTECTED]> wrote: > You will be eaten by the Snake-Ra god tonight! Wasn't Ra the Sun god? Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת A: Because it messes up the order in which people nor

Re: Sorting array

2007-12-01 Thread Tartifola
Hi, On Fri, 30 Nov 2007 14:55:08 -0600 Robert Kern <[EMAIL PROTECTED]> wrote: > Tartifola wrote: > > > > Hi, > > I'm working with numerical array and I'm a little lost on a particular > > sorting of one of them. In particular I have an array like > > > > a = array([[8,4,1],[2,0,9]]) > > > >

Re: Check if a symlink is broken or circular

2007-12-01 Thread Giampaolo Rodola'
On 1 Dic, 00:10, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > I would like to know if such function would be correct for verifying > > if a link is broken and/or circular. > > > def isvalidlink(path): > > assert os.path.islink(path) > > try: > > os.stat(path) > > except os.e

Re: importing a user file in Python

2007-12-01 Thread Rick Dooling
On Dec 1, 1:42 am, waltbrad <[EMAIL PROTECTED]> wrote: > Hello. I'm brand new to Python. > > Where on my system do I have to place these files before the > interpreter will import them? > In this case, odbchelper.py is a module you are trying to import. http://docs.python.org/tut/node8.html One

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Tim Chase
> I agree that Python is not a good name for a programming language, but > I'm afraid we're stuck with it. Well, the language was going to be called "One of the cross beams has gone out askew on the treadle" but that was a little unwieldy and hard to understand when mumbled in a hury. Searching f

Re: "Show this file in explorer"

2007-12-01 Thread Tim Golden
farsheed wrote: > That was great. Thanks so so much. > can you tell me where can I find that kind of trips? (assuming "kind of tips") I stuck "explorer command line options" into Google and... Bingo! (All right, I'm cheating a bit: I knew that explorer *had* comman

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread David H Wild
In article <[EMAIL PROTECTED]>, greg <[EMAIL PROTECTED]> wrote: > Not necessarily. A python is a sleek and powerful > creature, which are good associations for a programming > language. The word also hints at a bit of danger and > excitement. On the whole, I think it's a good name. I remember r

Re: "Show this file in explorer"

2007-12-01 Thread farsheed
That was great. Thanks so so much. can you tell me where can I find that kind of trips? Thanks Again. -- http://mail.python.org/mailman/listinfo/python-list

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread MonkeeSage
On Dec 1, 4:11 am, Bjoern Schliessmann wrote: > [EMAIL PROTECTED] wrote: > > New name "Pytn" may be better, do you think so ? > > No. How would you pronounce it? Pai-tn? > > Why don't you create a fork where the only difference is the name? > > Regards, > > Björn > > -- > BOFH excuse #194: > > We

Re: "Show this file in explorer"

2007-12-01 Thread Tim Golden
farsheed wrote: > I have a big problem. I have a list of files that my script find and > list them in a little gui. > I need this function: > > when i d-click on each item, I want explorer opens and selects that > item inside windows explorer. > like that beautiful buttom in iTunes. Experiment wi

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > New name "Pytn" may be better, do you think so ? No. How would you pronounce it? Pai-tn? Why don't you create a fork where the only difference is the name? Regards, Björn -- BOFH excuse #194: We only support a 1200 bps connection. -- http://mail.python.org/mailm

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Bjoern Schliessmann
Russ P. wrote: > I agree that Python is not a good name for a programming language, Why not? BTW, is "Windows" a great name for an operating system? > If I had invented Python, I would have called it Newton or Euler, > arguably the greatest scientist and mathematician ever, > respectively. The

Re: "Show this file in explorer"

2007-12-01 Thread Sergio Correia
Although I'm a python fan; for that kind of stuff, I use autohotkey ( http://www.autohotkey.com/download/ ) Best, Sergio On Dec 1, 2007 3:30 AM, farsheed <[EMAIL PROTECTED]> wrote: > I have a big problem. I have a list of files that my script find and > list them in a little gui. > I need this fu

os.access() under windows

2007-12-01 Thread Yann Leboulanger
Hi, Under Windows XP os.access has a strange behaviour: I create a folder test under e: then os.access('e:\\test', os.W_OK) returns True. Everything's ok. Now I move My Documents to this e:\test folder Then os.access('e:\\test', os.W_OK) returns False !! but this works: f = open('e:\\test\\te

Pyro and sqlite3 problem

2007-12-01 Thread Sébastien Ramage
Hi ! I'm trying to build an client/server app based on Pyro and sqlite3. But I have a problem using sqlite3 on the server I got this error : sqlite3.ProgrammingError: ('SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 240 and this is th

Re: 25 MOST FREQUENTLY ASKED QUESTIONS ABOUT ISLAM

2007-12-01 Thread farsheed
No , I tell you in brief what exactlly Islam is. (I know this is now a good location but excuse me this time) I was muslem for 25 years and happily not now. I read quran (muslem's book) every day and it is full of inhuman words. rozbeh(salman) and mohhamad made this book to **ck their people. if y

C/C++ on UNIX Developer required in Woodmead, Johannesburg

2007-12-01 Thread arnold
We seek the following sort of experience / skill for developer resources (if u do not qualify - we offer a handsome referral fee if you refer someone that is succesfully placed:-) . C Programming 5 years C++ Programming 2 years SQL Programming 2 years Software Design 2 years Software Engineeri

"Show this file in explorer"

2007-12-01 Thread farsheed
I have a big problem. I have a list of files that my script find and list them in a little gui. I need this function: when i d-click on each item, I want explorer opens and selects that item inside windows explorer. like that beautiful buttom in iTunes. Thanks in advane. Farshid Ashouri. -- htt

Re: "Python" is not a good name, should rename to "Athon"

2007-12-01 Thread Rod Stephenson
At one stage, "Monty Python's Flying Circus" was going to be called "Owl Stretching Time". If that had eventuated, then presumably we would all be disussing the Owl programming language on comp.lang.owl -- Real email address? Rule 1. -- http://mail.python.org/mailman/listinfo/python-list