linda.s wrote:
> I comment out
> root.mainloop()
> in my windows machine's Python 2.4 IDLE, everything is OK.
> But if I do the same thing in Mac machine's Python 2.4 IDLE,
> I can not see any map.Why?
>
When you edit a .py file on a windows machine (by right-clicking and
hitting 'edit with idl
I comment out
root.mainloop()
in my windows machine's Python 2.4 IDLE, everything is OK.
But if I do the same thing in Mac machine's Python 2.4 IDLE,
I can not see any map.Why?
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinf
On 9/27/06, Dave S <[EMAIL PROTECTED]> wrote:
Hi,I am trying to read in an ascii text file, do some alterations and write itback.file = open(self.config.get('pdf','cert') + '/cert.pdf' , 'r+')lines = file.readlines()... process lines ...
file.writelines(lines)file.close()works but ends up appending
>> I am trying to read in an ascii text file, do some alterations and write it
>> back.
>>
Sounds like a pretty useful thing to do :)
>> file = open(self.config.get('pdf','cert') + '/cert.pdf' , 'r+')
>> lines = file.readlines()
>>
Not sure what self.config.get here is doing, but that's
On Wed, 27 Sep 2006, Dave S wrote:
> I am trying to read in an ascii text file, do some alterations and write it
> back.
>
> file = open(self.config.get('pdf','cert') + '/cert.pdf' , 'r+')
> lines = file.readlines()
>
> ... process lines ...
>
> file.writelines(lines)
> file.close()
>
> works
Hi,
I am trying to read in an ascii text file, do some alterations and write it
back.
file = open(self.config.get('pdf','cert') + '/cert.pdf' , 'r+')
lines = file.readlines()
... process lines ...
file.writelines(lines)
file.close()
works but ends up appending a second modified copy to the or
Tiago Saboga wrote:
> Hi!
>
> I'm still playing with man pages parsing, and following advices here, I'm
> using doclifter. But I want to use the installed version on my debian system,
> and not make it a part of my package. The problem is it isn't installed as a
> python module, but rather as a
Hi!
I'm still playing with man pages parsing, and following advices here, I'm
using doclifter. But I want to use the installed version on my debian system,
and not make it a part of my package. The problem is it isn't installed as a
python module, but rather as an executable file lying in /usr/