Melih Onvural wrote:
> Group,
>
> I'm trying to get a very basic cast from a string to an integer
> working. Here is what I'm doing:
>
> for i in url:
> result[counter] = int(i)
> counter += 1;
>
> return result;
>
> anything that I'm doing drastically wrong? Mac OS 10.4, MacPython
>
Daniel Mark wrote:
> Hello all:
>
> I am using PIL to draw a rectangle filled with color blue.
>
> Is there anyway I could set the fill pattern so that the drawn
> rectangle could be filled with
> gradient blue?
>
>
> Thank you
> -Daniel
I don't think there is a built-in gradient function, bu
Tuomas wrote:
> From a PyGTK component I would like to react moving and resizing the
> toplevel window. I try to connect the toplevel 'frame-event' to my
> callback, but the toplevel do not fire on moving or resizing. Any
> suggestions?
>
> Tuomas
> (Linux, Python 2.3, GTK 2.6.7)
You are pro
mistral wrote:
> I have installed ActivePython
> http://www.activestate.com/Products/ActivePython/
> How I can run Python file, test.py?
$ python test.py
or
$ ./test.py (if test.py is executable)
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 30 Aug 2006 17:00:56 +, [EMAIL PROTECTED] wrote:
> How do I make audio play when the graphics window is opened and then
> loop so it repeats until the graphics window is closed? I'm not even
> sure how to make ANY audio file play in using Python.
>
Please give us more information, we
On Sun, 20 Aug 2006 13:49:22 -0700, OriginalBrownster wrote:
> I am currently uploading a file from a users computer to the file
> system on my server using python, just reading the file and writing the
> binaries.
>
> total_data=' '
> while True:
> data = upload_file.
On Mon, 14 Aug 2006 07:44:39 -0700, KraftDiner wrote:
> The os.walk function walks the operating systems directory tree.
>
> This seems to work, but I don't quite understand the tupple that is
> returned...
> Can someone explain please?
>
> for root, dirs, files in os.walk('/directory/'):
>
On Thu, 10 Aug 2006 05:35:26 -0700, OriginalBrownster wrote:
> Hi there:
>
> I was wondering if its at all possible to search through a string for a
> specific character.
>
> I want to search through a string backwords and find the last
> period/comma, then take everything after that period/comm
On Wed, 09 Aug 2006 16:27:50 -0700, [EMAIL PROTECTED] wrote:
> Can someone tell me what's the absolute easiest way of putting an image
> on to the screen in Python without just opening it up in an
> application? What's the simplest way to just put something up on the
> screen?
If you are using P