Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
Normally when you download a script from a forum, all you have to do is change the .TXT extension for .PY. It sounds as if the file has become corrupted somehow. Where did the file come from? If one of us can download it, we can probably see where the problem is. You could try this - open the .TXT file in Notepad or similar, then save it again. That should get rid of any dodgy characters, and you can rename the extension to .PY.
Here's what I did: I followed the link, and the script came up in my browser as text. I did File > Save As and selected "all files" as the type - don't accept the default, which is usually text or HTML. The script ran for me, as far as asking for a file input anyway. I didn't have anything to give it, but I guess that proves my download was working.
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.
Greetings,
I'm new to using Python Script. I was doing a tutorial in changing lighting in Poser to take light reflections in IBL lighting and it called for a python script posted at the web site ... I copied it to a .txt file ... but now when I try to access it in Python it gives me a "null character" error. How do I convert this to Python? Thank you.
Boni
Boni
"Be Hero to Yourself" -- Peter Tork