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
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
- 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
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
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
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.
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():