Re: [Tutor] Producing a pop-up on graphics area?

2008-02-16 Thread Kent Johnson
Wayne Watson wrote: I want to allow a user who is looking at a graphic area that contains an image to be able to right-click on the graphic to produce a menu of choices. What's available to do that? Typically you would install a right-click handler on the graphic area. The handler pops up

[Tutor] Tread or threading

2008-02-16 Thread Michael Bernhard Arp Sørensen
Hi there. I've been reading in books and homepages about threads. Apparently, threading is better than thread, right? I've been trying to write a simple proof of concept code using treading inside a class. It was easely done with thread, but it was a lot harder with threading. I want to be able

Re: [Tutor] Tread or threading

2008-02-16 Thread Kent Johnson
Michael Bernhard Arp Sørensen wrote: Hi there. I've been reading in books and homepages about threads. Apparently, threading is better than thread, right? I've been trying to write a simple proof of concept code using treading inside a class. It was easely done with thread, but it was

[Tutor] Suggestions to improve this first effort?

2008-02-16 Thread C B Gambrell
I am just getting started with Python and wonder if folks here might look at this attempt in Python and offer me your thoughts. Several years ago I used QBasic to convert one our reports to a csv file so we could import the data into another program. That very old QBasic script has been serving

[Tutor] Noob requesting help...

2008-02-16 Thread John Luke
Hi, I've recently started to get into Python, and I've made a bit a progress so far, but I still have a long way to go. Along my search for tutorials, I've come across this: # Waits until a password has been entered. Use Control-C to break out without # the password #Note that this must not be

Re: [Tutor] Suggestions to improve this first effort?

2008-02-16 Thread Tiger12506
infile$ = ad.txt outfile$ = ad.csv infile=sys.argv[1] outfile=sys.argv[1]+.csv And these will give two different results. The QBasic version says ad.txt ad.csv whereas the python version will give ad.txt ad.txt.csv so you need to say infile = sys.argv[1] outfile = sys.argv[1][:-3]+'csv'

Re: [Tutor] Noob requesting help...

2008-02-16 Thread bob gailer
Marc Tompkins wrote: John, Luke, Marc... can we get a Matthew to join this thread? You thinking of Matthew Dixon Coles? But then wouldn't Paul want to get into the Act? -- Bob Gailer 919-636-4239 Chapel Hill, NC ___ Tutor maillist -

[Tutor] [tutor] PIL versus matlab

2008-02-16 Thread Varsha Purohit
Hello All, I wanted to know what are the advantages and disadvantages of using pIL instead of matlab software to deal to image processing. thanks, -- Varsha Purohit, Graduate Student ___ Tutor maillist - Tutor@python.org