Can't use CSV with Python API- Printable Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) + - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK) +--- Thread: Can't use CSV with Python API (/Thread-Can-t-use-CSV-with-Python-API) |
Can't use CSV with Python API-RoboDKUser12-07-26-2022 I'm currently trying to run a program for my robot within the Python API. Everything is working fine, but I can't access a CSV with for some reason whenever I run said program within the simulation environment. Running it outside of RoboDK works fine. The CSV is in the same file as the program. Any help would be appreciated? Perhaps the CSV needs to be in a different location for RoboDK? RE: Can't use CSV with Python API-Sam-07-26-2022 Python scripts in your RoboDK station are hosted within the station itself and no longer linked with the original file (thus, not at the same location). 你can hard-code the full path or use a prompt to select the file (take a look at robodk.robodialogs and robodk.robofileio). |