How can I use a png/jpeg/gif image file to set the logo in
gtk.AboutDiaog box of pyGTK ?
--
http://mail.python.org/mailman/listinfo/python-list
> For new data: an alternative is to open the file in binary mode for both
> reading and writing on all platforms. This will also allow you to switch to
> the more efficient binary pickle protocols.
Writing and reading the pickled file in binary mode seems to be
working. Thank you.
--
http://ma
I am encountering 'Value Error: insecure string pickle' when trying to
execute the script on Ubuntu. The same script and the pickled file
works without any problem in Windows. For working in Ubuntu I just
copied both the script file and pickled file from Windows.
How can I get out of this error?
On Feb 22, 5:59 am, Steven D'Aprano wrote:
> On Mon, 21 Feb 2011 16:43:49 -0800, Rafe Kettler wrote:
> > On Feb 21, 1:59 pm, pradeepbpin wrote:
> >> I have a main program module that invokes an input dialog box via a
> >> menu item. Now, the code for drawing an
I have a main program module that invokes an input dialog box via a
menu item. Now, the code for drawing and processing the input of
dialog box is in another module, say 'dialogs.py'. I connect the menu
item to this dialog box by a statement like,
manu_item.connect('activate', lambda a: dialogs.o
On Jun 10, 1:15 pm, News123 wrote:
> Leon wrote:
> > Hi, there,
> > I'm trying to read the source code of python.dd
> > I read around, and am kind of lost, so where to start?
>
> > Any comments are welcomed, thanks in advance.
>
> I use my favourite text editor with syntax highlighting.
>
> Next t
I use gVim as an editor to create python scripts on a windows machine.
To run the same script on my ubuntu machine, I added a hashbang line
to the script. Now when I run this script from command line of ubuntu,
I get a bad interpreter error, like below
/usr/bin/python^M: bad interpreter: No such f