I’m very new to pyRevit and Python in general, so please excuse a silly question. I am making a very simple script that opens a windows explorer folder. From what I’m seeing, if there is a number in the folder structure, the script does not work. What am I doing wrong? Am I using the wrong command?
The backslash character in python is a special character that can cause undesired things to happen if you don’t account for it. If you have a backslash in a string, you can either put an “r” before it, like this:
If I may hijack my own thread, I’m thinking about taking this one step further and having it open a revit file. I can’t find documentation for opening files, is this possible?