Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38452
| Date | 2013-02-08 09:36 -0500 |
|---|---|
| From | Dave Angel <davea@davea.name> |
| Subject | Re: Moving mouse, Python3 and PyObjc |
| References | <da8d9786-1e39-44c0-80af-14dab2327074@googlegroups.com> <mailman.1468.1360289355.2939.python-list@python.org> <c4204f6f-af7f-4651-825b-cc50e48bf12b@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1502.1360334202.2939.python-list@python.org> (permalink) |
On 02/08/2013 05:32 AM, Oneill wrote:
>
>>
Your emails are very hard to read, since your mailer doublespaces nearly
everything you quote.
>>> <snip>
>>
>>
>> What's the objc module got to do with the mouse?
>>
>>
>>
>> http://packages.python.org/pyobjc/api/module-objc.html
>>
>>
>>
>> Perhaps you meant some other module. Could you be specific? What
>>
>> modules did you import, what other code did you write, what version of
>>
>> Python are you running, and on which computer OS did you get the results
>>
>> you describe?
>>
>>
>>
>> --
>>
>> DaveA
>
>
>
> Well without PyObjc i couldnt control the mouse... I saw some examples importing Quartz but that also failed...
Well, now I can guess some of the answers to my questions. You
mentioned Windows, but apparently that was a red herring. You are
apparently writing an objective C application (Cocoa) for the iPhone,
and using the pyobjc module to translate Python to Objective C.
so the answer to your original problem (mouse going to 0,0) could need
some combination of Mac development tools, Cocoa runtime environment,
etc. to solve. You're not writing cross-platform, so you've rejected
the standard guis for doing this sort of thing.
Perhaps the page at
http://docs.python-guide.org/en/latest/scenarios/gui/
could be of help in choosing a different gui toolkit.
But I can't figure I'd be of any help, since I don't have a Mac, nor a
license for their development environment, nor any docs for either.
--
DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Moving mouse, Python3 and PyObjc joaofguiomar@gmail.com - 2013-02-07 15:22 -0800
Re: Moving mouse, Python3 and PyObjc Terry Reedy <tjreedy@udel.edu> - 2013-02-07 19:51 -0500
Re: Moving mouse, Python3 and PyObjc Dave Angel <davea@davea.name> - 2013-02-07 21:08 -0500
Re: Moving mouse, Python3 and PyObjc Oneill <joaofguiomar@gmail.com> - 2013-02-08 02:32 -0800
Re: Moving mouse, Python3 and PyObjc Dave Angel <davea@davea.name> - 2013-02-08 09:36 -0500
Re: Moving mouse, Python3 and PyObjc Oneill <joaofguiomar@gmail.com> - 2013-02-08 02:32 -0800
Re: Moving mouse, Python3 and PyObjc Oneill <joaofguiomar@gmail.com> - 2013-02-08 02:24 -0800
csiph-web