iterate over a copy of the list:
for i, x in enumerate(a[:]):
Always worked for me ;)
--
http://mail.python.org/mailman/listinfo/python-list
> If it's a GUI app, you ask the GUI toolkit which you're using.
Heh, I suppose you're right :)
--
http://mail.python.org/mailman/listinfo/python-list
> Your question is based upon the notion that "the screen" is a meaningful
> concept. Once you move away from Windows (and systems which intentionally
> try to be like Windows), that's no longer true.
Good points. Always something I haven't thought of. Ok so... let's
*presume* the user has a mea
On Aug 28, 11:27 am, "Rami Chowdhury"
wrote:
> > But I was hoping for something built-in, and something non-OS
> > specific.
>
> I don't know about built-ins, but I do believe that pygame (which *is*
> cross-platform) will let you get at that information:
> http://www.pygame.org/docs/ref/
I've passed this around some other groups, and I'm being told
"probably not possible". But I thought I'd try here as well :) I
*did* search first, and found several similar threads, but they
quickly tangented into other specifics of the language that were a bit
over my head :) At any rate, here
I'm not sure where you got "pythonwin sucks" from my text (none of
those words are there). Saying one aspect of a piece of software is
clunky to "me" (if that's what you're refering too?) or saying the
whole software "sucks" are pretty different IMO. All I stated is that
it's very different from
I've been scripting in Maya, via mel for years now. Recently learning
to Python, love it. Thing that's driving me nuts it the IDE. I'm
using PythonWin right now and trying to find something better, mainly
with this functionality:
In Maya's mel script editor window, it's split into two sections.
I'm a python nubie, so be gental. I've been setting up functionality
by managing my Perforce clientspec with python (since it seems all of
P4's commands are avaliable at the prompt), and I'd love to get access
to DevTrack in the same way, but it's looking like it's off limits, UI
only. Does anyon