Re: [Tutor] selecting and ordering file names on a remote machine

2006-05-11 Thread Kent Johnson
Carroll, Barry wrote: > Greetings: > > Essentially, page must do the following: > >1. present the files in the directory to the user as some sort > of list from which multiple names can be selected, >2. present the selected file names in the order in which they > were selec

[Tutor] selecting and ordering file names on a remote machine

2006-05-11 Thread Carroll, Barry
Greetings: I'm adding a new page to our test system's browser based UI. This page implements the process of sending one more barcode 'images' to the system for decoding by the unit under test. Each 'image' is in a file in a known directory on the test system. The file(s) to be presented, and

[Tutor] Beep Beep sound sometimes while running PythonWin (Python 2.1)

2006-05-11 Thread Janesh Ramakrishnan
Hi Folks: Has anyone of you experienced this beep - beep sound from the deskstation CPU when Python crashes? It apparently has happened a few times when I was running some .py scripts in PythonWin. The scripts do not play any audio files. I then have to reboot the CPU to get the system up and

Re: [Tutor] Call for volunteer to help revise images for One Day of IDLE Toying

2006-05-11 Thread Danny Yoo
> I have sent the screen shot of the IDLE being selected from Windows XP start > menu to Danny, incase someone is making another screen shot. Lets wait till > he requests another one. Thank you Alan and Evans! I've updated with those screenshots, and added a small cosmetic change to refer to P

Re: [Tutor] Call for volunteer to help revise images for One Day of IDLE Toying

2006-05-11 Thread Evans Anyokwu
Hello guys, I have sent the screen shot of the IDLE being selected from Windows XP start menu to Danny, incase someone is making another screen shot. Lets wait till he requests another one. Evans - Original Message - From: "Danny Yoo" <[EMAIL PROTECTED]> To: "Tutor" Sent: Wednesday,

Re: [Tutor] ossaudiodev, pygtk, and flushing buffers

2006-05-11 Thread Matthew White
Michael, Calling .reset() did the trick. The code now waits for the user to press play before opening the audio device and closes it when paused or EOF is reached. Thanks for your help! -mtw On Thu, May 11, 2006 at 07:15:52PM +0200, Michael Lange ([EMAIL PROTECTED]) wrote: > On Wed, 10 May 20

Re: [Tutor] laying out a menu widget inside a frame

2006-05-11 Thread Zubin Wadia
Hello All, from Tkinter import * class App: #create a frame def __init__(self, master): frame = Frame(master, bg="LIGHTBLUE", relief=RIDGE, bd=3) frame.pack(side=TOP, ipadx=15, ipady=15, fill=X) ##create dropdown menu menubar = Menu(frame) fileme

Re: [Tutor] Fwd: eclipseplugin for python

2006-05-11 Thread Don Taylor
shivayogi kumbar wrote: > > > I downloaded python plugin for eclipse by directly downloading zip file > and extracting under eclipse folder; because it could not update via > PROXY. It was suggested to update plugins from eclipse IDE only. I am > unable to use that plugin(Python) in eclipse.

Re: [Tutor] Refactoring

2006-05-11 Thread Don Taylor
Philip Smith wrote: > This is a subject which seems to pop up periodically so apoliogies but I > wonder whether anyone can help: > > a)Is there yet an alternative Python refactoring tool to bicycle > repair man (bike)? > Find and Replace ;-) > b)If not is there any documentation on

Re: [Tutor] help with erros using subprocess module

2006-05-11 Thread Jerome Jabson
Hi Bo, Thank you very much for all your help!! But I'm having some problems with the line of code you recommended: if isinstance(cmd, types.StringTypes): cmd = cmd.split(' ') I'm getting the following error: NameError: global name 'types' is not defined As you instructed, I put in the

Re: [Tutor] ossaudiodev, pygtk, and flushing buffers

2006-05-11 Thread Michael Lange
On Wed, 10 May 2006 09:59:14 -0700 Matthew White <[EMAIL PROTECTED]> wrote: > Hello All, > > I'm writing a little audio player that plays voicemail files. (I realize > I'm reinventing the wheel, but it's still fun.) > > The problem I'm experiencing is that I'm hearing the last fraction of > the

[Tutor] ossaudiodev, pygtk, and flushing buffers

2006-05-11 Thread Matthew White
Hello All, I'm writing a little audio player that plays voicemail files. (I realize I'm reinventing the wheel, but it's still fun.) The problem I'm experiencing is that I'm hearing the last fraction of the sound clip twice, either when the clip is done playing or when the program exits. I've tr

[Tutor] Fwd: eclipseplugin for python

2006-05-11 Thread shivayogi kumbar
I downloaded  python plugin for eclipse by directly downloading zip file and extracting under eclipse folder; because it could not update via PROXY. It was suggested to update plugins from eclipse IDE only. I am unable to use that plugin(Python) in eclipse. Is it a problem of proxy or any other?

[Tutor] Big mistake in my tutor

2006-05-11 Thread Alan Gauld
A reader has just pointed out that there are some very bad mistakes in my database topic. Having reviewed the code in question I obviously never tested it as it is completely wrong and even invalid syntax in one case! Dunno what happened there, too many late nights and whiskys maybe... Anyhow, I'