yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #25363
Re: [Question #696327]: FEMxDEM saveGauss.py has python2 file() function
Question #696327 on Yade changed:
https://answers.launchpad.net/yade/+question/696327
Status: Open => Answered
Robert Caulk proposed the following answer:
>Because the file() builtin function is removed in Python 3. Does it
means I can install only python2.7 into the container image if I want to
use FEMxDEM?
Maybe, but it's probably best to convert the script to Python3, which
shouldn't be hard [1].
[1]http://yade-dem.org/doc/tutorial-advanced.html#convert-python-2-scripts-to-python-3
--
You received this question notification because your team yade-users is
an answer contact for Yade.