[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 http://mail.python.org

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@python.o

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

2008-02-16 Thread bob gailer
C B Gambrell wrote: > 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 > Q

Re: [Tutor] Noob requesting help...

2008-02-16 Thread Marc Tompkins
John, Luke, Marc... can we get a Matthew to join this thread? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

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.arg

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

2008-02-16 Thread Tiger12506
> And here is my I got work for me in Python. > > === > === > import sys > infile=sys.argv[1] > outfile=sys.argv[1]+".csv" > > f1=open(infile) > f2=open(outfile, 'w') > > s2="" > > for line in f1: > s=line.strip() > if s=="": > continue > elif s==".block": > continue > elif s==".report": > continue

[Tutor] Fwd: Noob requesting help...

2008-02-16 Thread Marc Tompkins
Sorry, I ALWAYS forget to hit 'Reply All'... On Feb 16, 2008 3:18 PM, John Luke <[EMAIL PROTECTED]> wrote: > I understand *what's* going on, but I don't understand *why* it's > happening. To be more specific, I don't understand why the actual password, > "unicorn", is what it is, even though I se

[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 t

[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 m

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"

[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

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