execfile() and arguments
execfile() and arguments
(OP)
is it possible to somehow pass arguments (like in linux: ./do.py option option) to execfile or similar function?
i prefer to run my scripts in abaqus as i can have access to the entire variable set and it helps with debugging...
i prefer to run my scripts in abaqus as i can have access to the entire variable set and it helps with debugging...





RE: execfile() and arguments
As far as I know, you can't use arguments in execfile(') but there are another ways to do the same:
1) you can use getinput() in your script
2) you can define a function with an input argument in your script
Regards,
Mohammad Mahdi Shahbazi
www.OmranAfzar.com