[Tutor] Rebuild jpg

2011-02-21 Thread Rafael Durán Castañeda
Hi all, I'm using Python 3.1 and I have an image of an animal that has been broken it into many narrow vertical stripe images, and now i want to rebuild the original one, how can i get it? P.S.: It's not homework, but i'd prefer just some help rather than the whole sollution

Re: [Tutor] Rebuild jpg

2011-02-21 Thread Liam Clarke-Hutchinson
Hi Rafael, Do you need to use Python 3.x? If you can use Python 2.6, the Python Imaging Library is a great image manipulation module. http://www.pythonware.com/products/pil/ Regards, Liam Clarke 2011/2/21 Rafael Durán Castañeda > Hi all, > > I'm using Python 3.1 and I have an image of an anim

Re: [Tutor] creating classes while coding

2011-02-21 Thread Japhy Bartlett
I think OOP makes it easy for new programmers to set up programs, and it can make for some pretty neat English looking code, but a more functional approach generally makes for much leaner, faster performing code. I find them most useful when you have several functions that might need to share some

Re: [Tutor] creating classes while coding

2011-02-21 Thread Steven D'Aprano
Bill Allen wrote: I know that Python not only supports OOP, but is fundamentally OOP in its design. Just in using the language and standard library, that much becomes obvious. However, I do wonder a bit about the practice I have seen of some Python programmers to implement relatively short bi

Re: [Tutor] creating classes while coding

2011-02-21 Thread Steven D'Aprano
Bill Allen wrote: That raises my next question. Under what sort of programming circumstances does it make sense? "It" being object oriented programming. OO is good for encapsulation and code-reuse. One good sign you should consider a class is if you start building up many global variables.

Re: [Tutor] Rebuild jpg

2011-02-21 Thread Rafael Durán Castañeda
I could use any python, so I'll try to solve using Image from 2.6, but what about python 3.1? El 21 de febrero de 2011 10:21, Liam Clarke-Hutchinson escribió: > Hi Rafael, > > Do you need to use Python 3.x? If you can use Python 2.6, the Python > Imaging Library is a great image manipulation modu

Re: [Tutor] Rebuild jpg

2011-02-21 Thread Wayne Werner
2011/2/21 Rafael Durán Castañeda > I could use any python, so I'll try to solve using Image from 2.6, but what > about python 3.1? > This post: http://stackoverflow.com/questions/3896286/image-library-for-python-3 may be of some use to you. My guess is that you may need to use some type of clus

[Tutor] PY-Tkinter Title Bar Icon

2011-02-21 Thread Ganesh Kumar
Hai.. I am new to python Tkinter..I want Title Bar Icon.. plz..Guide me to set up icon in Title Bar. Advance Thanks Thanks -Ganesh. -- Did I learn something today? If not, I wasted it. ___ Tutor maillist - Tutor@python.org To unsubscribe or change

Re: [Tutor] PY-Tkinter Title Bar Icon

2011-02-21 Thread Alan Gauld
"Ganesh Kumar" wrote I am new to python Tkinter..I want Title Bar Icon.. plz..Guide me to set up icon in Title Bar. Last time I looked it was possible to do that under X Windows but not under MS Windows. (I dont know about MacOS/Quartz) It was a bug in the underlying Tk toolkit. But ther