Re: [Tutor] Raw image display in a GUI window

2005-11-08 Thread Marcin Komorowski
Thanks Alex, Do you know if I can find somewhere sample code that would, lets say, create a 100x100 image and display it? Thanks, Marcin - Original Message - From: "Alex Hunsley" <[EMAIL PROTECTED]> To: "Marcin Komorowski" <[EMAIL PROTECTED]> Cc: "p

[Tutor] Raw image display in a GUI window

2005-11-08 Thread Marcin Komorowski
Hello, I want to use Python to do some experimentation with graphic processing/manipulation, and I am looking for a way to be able to manipulate individual pixels of the image, as well as display it in a GUI. Ideal image representation would be something of the form of a two-dimensional array

Re: [Tutor] Console output

2005-10-05 Thread Marcin Komorowski
- Original Message - From: "Roel Schroeven" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 05, 2005 2:53 PM Subject: Re: [Tutor] Console output > Oliver Maunder wrote: >> Does anyone know how I can update a line of console output without >> creating a new line? I'm not explaning this

Re: [Tutor] 'print' without newline or space appended

2005-09-25 Thread Marcin Komorowski
Thanks, This is the other 'work around'. I take there is no way to tell 'print' to do it, correct? Marcin - Original Message - From: "R. Alan Monroe" <[EMAIL PROTECTED]> To: "python-tutor" Sent: Sunday, September 25, 2005 10:29 AM Subject: Re: [Tutor] 'print' without newline or space

[Tutor] 'print' without newline or space appended

2005-09-25 Thread Marcin Komorowski
Hello, This statement: for c in 'hello': print c will generate following output: h e l l o and by adding comma at the end of the print statement: for c in 'hello': print c, we get this output: h e l l o How do I output something using 'print' such that there is no new line or spac

Re: [Tutor] Remaking Vim in Python (was Python Editors)

2005-09-23 Thread Marcin Komorowski
Ed, Before you dive into a full-fledged editor development project you might want to consider an existing extendible platform like Eclipse. It is much more than just an editor, i.e. it is an advanced IDE platform. The sweet thing is that it allows for developing plugins to add functionality.

[Tutor] Iterating over sorted dictionary keys in one line

2005-09-18 Thread Marcin Komorowski
I know that one of the ways to iterate over sorted dictionary keys is:     keylist = dictionary.keys()     keylist.sort()     for key in keylist:         ...   Is there a way to do this in a single line.  Something like this would be ideal:     for key in dictionary.keys().soft():