Re: [Tutor] wxPython shaped window

2005-06-26 Thread Adam Cripps
On 6/25/05, Adam Bark <[EMAIL PROTECTED]> wrote: > Thanks for the info Adam I just seem to be having a problem with the panel > size it greys out nearly all the image. Ideally I would like to make the > panel transparent but I can't work out how to do that. > > > On 6/25/05, Adam Cripps <[EMAIL P

Re: [Tutor] MineSweeper

2005-06-26 Thread Alan G
> How do I know which button did I click when all buttons have the same name? Put them in a matrix. ie a list of lists. Then refer to them by their position inthe lists so that the top left button is "buttons[0][0]" etc This is also how you dynamically create your screen, just iterate over the li

[Tutor] filtering a webpage for plucking to a Palm

2005-06-26 Thread Brian van den Broek
Hi all, I have a Palm handheld, and use the excellent (and written in Python) Plucker to spider webpages and format the results for viewing on the Palm. One site I 'pluck' is the Daily Python URL . From the point of view of a daily cust

Re: [Tutor] Alternative File I/O for Tuples

2005-06-26 Thread Kent Johnson
Don Parris wrote: > When I pickle a SQL result into a file (ASCII mode), it lays out the data in > an interesting format. pickle format is not intended for pretty-printing or readability for that matter. You have to write the file yourself in the format you want. > When I send it to the printe

Re: [Tutor] filtering a webpage for plucking to a Palm

2005-06-26 Thread Kent Johnson
Brian van den Broek wrote: > Hi all, > > I have a Palm handheld, and use the excellent (and written in Python) > Plucker to spider webpages and format the > results for viewing on the Palm. > > One site I 'pluck' is the Daily Python URL >

Re: [Tutor] Alternative File I/O for Tuples

2005-06-26 Thread Alan G
> arranged more like it is on the console screen - in tabbed columns. None of > the tutorial type stuff I've seen even mentions printing files, One reason is that printing is one of those things that is different on evry operating system. So tutorials (including mine) tend to steer clear of it. I

[Tutor] Windows user variable ?

2005-06-26 Thread Dave S
Hi there, Probably no one will remember but I had a problem porting a python script to windows, I had a 'no such file error' Turned out that I called the file 'memo.txt', Windows decided it was a text file and it ended up as 'memo.txt.txt'. The windows display strips anything after the '.', found

Re: [Tutor] Alternative File I/O for Tuples (fwd)

2005-06-26 Thread Danny Yoo
-- Forwarded message -- Date: Sun, 26 Jun 2005 14:29:22 -0400 From: Don Parris <[EMAIL PROTECTED]> To: Danny Yoo <[EMAIL PROTECTED]> Subject: Re: [Tutor] Alternative File I/O for Tuples On Sat, 25 Jun 2005 22:52:08 -0700 (PDT) Danny Yoo <[EMAIL PROTECTED]> wrote: > > > > In your

Re: [Tutor] Alternative File I/O for Tuples (fwd)

2005-06-26 Thread Kent Johnson
> From: Don Parris <[EMAIL PROTECTED]> > To: Danny Yoo <[EMAIL PROTECTED]> > Subject: Re: [Tutor] Alternative File I/O for Tuples > > I guess I'm asking two closely-related questions: > (1) how to format the file so it can be readable, and If you like the recipe I posted, this could be as simple

[Tutor] Improving printouts from IDLE

2005-06-26 Thread Richard Dybowski
The printing facility provided with IDLE is rather rudimentary. Is there any way of obtaining better quality printouts from IDLE? Richard --- Dr Richard Dybowski 143 Village Way Pinner HA5 5AA, UK Tel: 07976 250092 ___ Tut

Re: [Tutor] Windows user variable ?

2005-06-26 Thread jfouhy
Quoting Dave S <[EMAIL PROTECTED]>: > Turned out that I called the file 'memo.txt', Windows decided it was a > text file and it ended up as 'memo.txt.txt'. The windows display strips > anything after the '.', found the problem via dos :) I recomment going to Windows Explorer -> Folder Options and