2 threads found!
Thread | Author | Replies | Views | Last Reply |
---|---|---|---|---|
mkrueger | 12 | 257 | ||
mkrueger | 6 | 173 |
35 comments found!
You could try pygame (www.pygame.org), it is built on top of SDL. But I have no idea how/if it works with PoserPython. martin
Thread: running two scripts (with tkinter GUI) at the same time | Forum: Poser Python Scripting
Hi tromnek, the thread duckmango mentioned above was mine, I had the problem that the threading module wasn't even there in Poser, so I installed Python 2.2 and exchanged Poser's python22.dll with the standard Python one. This takes care of the availability of threading. I still have some issues with threads, but I suspect this is caused by the Tkinter mainloop. So if you don't need a GUI, you should be fine. BTW, does anyone know how to query if a Tkinter app has the focus or not? Martin
Thread: Crippled Python in Poser 5 | Forum: Poser Python Scripting
duckmango, I haven't got something larger in mind really. I just thought a Python shell in Poser would be a nice idea to try things out interactively. So I tried to embed IPython, which wasn't very successful. So I started to program my own shell with a simple Tkinter GUI. Along the way I added a function to call the Python Windows help and struggled with the diverse spawn*, exec* functions in the os module. Since all experiments haven't worked out properly, I started to use a separate thread to start the chm file. This finally worked ok when starting outside of Poser, but then: no thread module in Poser! So this is how I discovered the missing thread module. stewer, how did you disable threads for P5? There isn't any thread module in Poser5's version of Python. Apart from that, dis/enabling threads would mean recompiling Python itself. Could you tell me more, I'm really curious. Another thing is that before I exchanged python22.dll, I had to start my script 2 times before I got the Tkinter GUI and Python was reacting queer sometimes i.e. sometimes it just ignored commands. After the exchange everything worked fine.
Thread: Crippled Python in Poser 5 | Forum: Poser Python Scripting
duckmango, I completely agree with you, Python support should be far more extensive. Python 2.3 support wouldn't hurt either. As far as Mac troubles are concerned, I wouldn't know as I'm running on WinXP. I primarily meant the basic Python runtime in Poser. So I experimented a bit. I reinstalled Python 2.2.3 and copied the python22.dll to my Poser installation directory (first renaming the Poser version of the file). And now my Poser's Python has a thread module :)
Thread: Question : Editing cr2 and other files | Forum: Poser - OFFICIAL
FYI: all compressed ..z files are just zipped text. Rename the file to *.zip and extract the contained text file! martin
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Thread: SDL and MSCOMM.OCX | Forum: Poser Python Scripting