Forum: The MarketPlace Wishing Well


Subject: Python Script to uncompress single files in Poser

Acadia opened this issue on Jun 03, 2005 ยท 10 posts


PoseWorks posted Thu, 16 June 2005 at 2:39 PM

Attached Link: http://www.pythonware.com/library/tkinter/introduction/x1164-data-entry.htm

Tkinter's file picker isn't a part of the normal Tkinter module. You'll have to import tkFileDialog in addition to Tkinter. Usage: import tkFileDialog texturePath = tkFileDialog.askopenfilename(initialdir="Runtime/Textures/", filetypes=[("PhotoShop","*.psd"),("Targa","*.tga"),("TIFF","*.tif"),("All Files","*.*")])

Message edited on: 06/16/2005 14:41