On Aug 28, 4:03 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2007-08-28, Tom Gur <[EMAIL PROTECTED]> wrote:
>
> > Hey,
>
> > Do you know an easy way to embed the python interpreter in a python
> > program (so a non-technical user, which has no idea ho
Hey,
Do you know an easy way to embed the python interpreter in a python
program (so a non-technical user, which has no idea how to install the
python interpreter would be able to run the script as an executable) ?
--
http://mail.python.org/mailman/listinfo/python-list
> Look for @staticmethod inhttp://docs.python.org/lib/built-in-funcs.html
>
> Example:
> class C:
> @staticmethod
> def f(arg1, arg2, ...): ...
Oops, sorry for the confusion - I've actually meant a static method,
and Gerald's answer works fine.
Thanks alot
--
http://mail.python.org/mai
Hi,
I'm new to python, and I can't seem to find in the docs how to create
the python equivalent of what's called in most OOP languages "static
classes", can you give me a hint ?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
which IDE would you recommend for a python ?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm trying to build a small spaceship battle game as an exercise,
using pygame.
How can I rotate the gif file of my ship by X degrees ?
--
http://mail.python.org/mailman/listinfo/python-list
Thanks guys, especially Duncan !
That's what I'm using now:
import sys
from win32gui import GetWindowText, EnumWindows, ShowWindow
from win32con import SW_MINIMIZE
def listWindowsHandles():
res = []
def callback(hwnd, arg):
res.append(hwnd)
EnumWindows(callback, 0)
retur
Thanks guys, especially Duncan !
That's what I'm using now:
import sys
from win32gui import GetWindowText, EnumWindows, ShowWindow
from win32con import SW_MINIMIZE
def listWindowsHandles():
res = []
def callback(hwnd, arg):
res.append(hwnd)
EnumWindows(callback, 0)
return
Hi,
I was wondering how do I get control over a window (Win32).
to be more specific, I need to find a handle to a window of a certain
program and minimize the window.
--
http://mail.python.org/mailman/listinfo/python-list