How to set working directory using python script in ABAQUS?

Viewed 451

I can't find any python command related to set working directory in python reference guide in ABAQUS.

Is there any way to set working directory using python script in ABAQUS?

1 Answers

It is similar to how you usually do in Python.
Because, Abaqus Scripting API support os module, simply you can use:

import os
setPath = r'C:\'
os.chdir(setPath)
Related