I learning to use the Revit Python Shell addin and have come across a problem that I am hoping someone knows the answer to.
Initially, I would create a Python script using Notepad and then load that file into the interactive dialog for Revit Python Shell. That script would work fine.
I then discovered that Windows had a right-click option to edit the file with the IDLE editor. After that, RPS would return errors about "Unexpected Tokens" when I tried to run the script file. These tokens varied from " ", to "", to "".
Suspecting hidden formatting codes, I was able to "clean" the file using MS Word's option to "Open & Repair". After "cleaning" the Python script worked correctly.
Since editing a script with IDLE is much friendlier than Notepad, is there a way to stop IDLE from embedding hidden codes in the file?
Or is there a way to get RPS to successfully run a script edited with IDLE?
Sincerely; Michelle