Re: WxPython versus Tkinter.

2011-01-23 Thread Corey Richardson
On 01/23/2011 08:28 PM, rantingrick wrote: On Jan 23, 6:30 pm, Corey Richardson wrote: On 01/23/2011 07:07 PM, rantingrick wrote: On Jan 22, 6:07 pm, rantingrickwrote: I await any challengers... WxPython Challenge 1 code updated... * Fixed tab traveral * Removed hand

Re: WxPython versus Tkinter.

2011-01-23 Thread Corey Richardson
On 01/23/2011 09:29 PM, rantingrick wrote: On Jan 23, 8:07 pm, Corey Richardson wrote: because imageIdx is just a dictionary, No, imageIdx is an integer. You're right. imageIdx = self.imageMap[iconname] I confused imageIdx with self.imageMap. But that still doesn't fix my p

Re: WxPython versus Tkinter.

2011-01-23 Thread Corey Richardson
idea why, I've never used wxPython before today. Unfortunately, it doesn't actually show the items in the directory. Since I'm definitely not a wxPython user, would you mind making the above work, rantingrick? Not trying to worm out of anything, but this is way over my head.

Re: WxPython versus Tkinter.

2011-01-25 Thread Corey Richardson
On 01/25/2011 03:55 PM, Octavian Rasnita wrote: > >> this thread was a "psy-ops" (psychological >> operations) trick to turn off wxPython adopters by associating it with >> juvenile nonsense > > Do you think the need for accessibility is a nonsense? > Or do you think it is something juvenile? >

Re: WxPython versus Tkinter.

2011-01-26 Thread Corey Richardson
On 01/26/2011 01:18 AM, Octavian Rasnita wrote: > From: "rantingrick" > On Jan 25, 3:41 pm, Corey Richardson wrote: > >> Do you honestly think he was talking about the accessibility problem? >> IMO that should move to another thread, because this one is simply &g

Re: WxPython versus Tkinter.

2011-01-27 Thread Corey Richardson
On 01/27/2011 04:10 PM, rantingrick wrote: > On Jan 27, 2:00 pm, Terry Reedy wrote: >> On 1/27/2011 12:54 PM, Octavian Rasnita wrote: >> >>> Everything that's not accessible is not recommended. >> >> By you. We get that. >> >> >Tkinter should be at most accepted because there is no better solutio

Re: WxPython versus Tkinter.

2011-01-27 Thread Corey Richardson
On 01/27/2011 05:08 PM, rantingrick wrote: >> wxPython is the best and most mature cross-platform GUI toolkit, given a >> number of constraints. The only reason wxPython isn't the standard >> Python GUI toolkit is that Tkinter was there first. >> -- Guido van Rossum > > You forgot to put a date on

Re: WxPython versus Tkinter.

2011-01-27 Thread Corey Richardson
On 01/27/2011 09:53 PM, alex23 wrote: > rantingrick wrote: >> You'll need to read that snippet in context to understand what i was >> talking about. Again, see my "tip of the day" in my last post to you. > > Pass. I'd have to see value in what you say inside of the endless > masturbatory self-agg

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-02-01 Thread Corey Richardson
On 02/01/2011 03:05 PM, rantingrick wrote: > On Feb 1, 1:35 pm, John Nagle wrote: >> On 1/31/2011 2:17 PM, Kevin Walzer wrote: >> >>> It certainly would be interesting to see a fresh approach to IDLE... >> >> The future of "playing with Python" is probably Python in a browser >> window, of which t

Re: how to get and search a html file from a website

2011-02-01 Thread Corey Richardson
On 02/01/2011 04:20 PM, Tracubik wrote: > Hi all! > i'm writing a notification program and i'm quite new to python. > The program have to check every 5 minutes a particular website and alert > me when a particular sentence ("user online") is in the html. > i've thinked to use a text browser (lynx)

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-02-01 Thread Corey Richardson
On 02/01/2011 07:42 PM, Robert wrote: > On 2011-02-01 10:54:26 -0500, Terry Reedy said: > >> On 2/1/2011 12:13 AM, rantingrick wrote: >>> On Jan 31, 4:17 pm, Kevin Walzer wrote: Rick, >> >>> Yes. IDLE is first and foremost a tool to get work done. However we >>> should not ignore the fact th

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-02-02 Thread Corey Richardson
On 2/2/2011 2:44 PM, rantingrick wrote: [snip] py> flamer_group.append(troll_group.pop("Corey Richardson")) Your moving up Corey. Keep up the good work! I don't recall ever doing anything but injecting my honest opinion. If my opinion may be flawed (or appears to be

Re: parse GET/POST data on simple http server

2011-02-03 Thread Corey Richardson
On 02/03/2011 03:15 AM, Markus wrote: > Hi, > > As a beginner in python, I am looking for example code that would help > me understand how to > code following idea: > 1. Start minimal http server > 2. Send GET or POST data (url encoded, or from form) - example > Name="Foo" > 3. Analyze the GET/POS

Re: parse GET/POST data on simple http server

2011-02-03 Thread Corey Richardson
On 02/03/2011 03:15 AM, Markus wrote: > Hi, > > As a beginner in python, I am looking for example code that would help > me understand how to > code following idea: > 1. Start minimal http server > 2. Send GET or POST data (url encoded, or from form) - example > Name="Foo" > 3. Analyze the GET/POS

Re: psd estimation no matplotlib

2011-02-05 Thread Corey Richardson
tplotlib's source and put it in your own code, or even just write it yourself. ~Corey -- http://mail.python.org/mailman/listinfo/python-list

P2PU Python Challenges

2011-02-05 Thread Corey Richardson
In my journeys across the face of the Internet, I found this: http://p2pu.org/general/python-challenges Not sure what it's really going to be, but any new programmers/people looking for something to do might be interested. I'm not quite sure how a class can be organised around a web riddle, but it

Re: PIL Open Problem

2011-02-07 Thread Corey Richardson
On 02/07/2011 05:27 PM, Richard Holmes wrote: > I'm trying to create an image for use in Tkinter. If I understand the > PIL documentation correctly, I first need to import Image, then > create an instance of the Image class and call 'open' Don't do that. This is wrong: import Image im = Image.Ima

Re: OO Python

2011-02-09 Thread Corey Richardson
On 02/09/2011 04:50 PM, Paul Symonds wrote: > Are there any good resources to learn OO Python from? > To my knowledge, all Python is OO. What specifically about OOP do you want to know? http://www.alan-g.me.uk/tutor/tutclass.htm I've always liked Alan's site. Come over to the Tutor list if you

Re: Writing binary files in windows

2011-02-11 Thread Corey Richardson
On 02/11/2011 10:20 PM, Abhishek Gulyani wrote: > When I write binary files in windows: > > file = open(r'D:\Data.bin','wb') > file.write('Random text') > file.close() > > and then open the file it just shows up as normal text. There is nothing > binary about it. Why is that? > > Sorry if this

Re: recommendation for webapp testing?

2009-09-16 Thread corey goldberg
> I need to do some basic website testing http://seleniumhq.org/ "Selenium is a suite of tools to automate web app testing across many platforms." Have a look at Selenium. Specifically, look at Selenium RC. You can write code in Python to drive a web browser and run web tests. -C

<    1   2