← Back to team overview

yade-users team mailing list archive

Re: [Question #482400]: index out of range

 

Question #482400 on Yade changed:
https://answers.launchpad.net/yade/+question/482400

Jan Stránský proposed the following answer:
Thanks for info,
empty sys.argv is not standard. A workaround should be

argv = sys.argv
sys.argv = ['whatever']
from yadeimport import *
sys.argv = argv

Anyway, why you import Yade into Yade session? :-) (based on #4)

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.