Forum: Poser Python Scripting
Subject: Python for PC and MAC
andygraph opened this issue on Jun 04, 2003 ยท 4 posts
PoseWorks posted Thu, 05 June 2003 at 9:04 PM
- There are a few modules and options that aren't shared between Mac and PC Python, but, by and large, anything non-Tkinter script will work as well on either platform or on Unix as well. 2) Tkinter (Python's GUI [Graphical User Interface] module) does not function very well on Macs, and, by default, does not work at all for Mac PoserPython. PC PoserPython users can expect a little bit of funny behavior from Tkinter, but it largely works as expected. Another thing that might not work in exchange between the two programs are file paths. Windows uses / or to separate folders, but Macs use :. To remedy this situation, Python includes the os.path module which will format paths in your script according to the operating system it's being run on.