yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #28831
Re: [Question #704551]: How to make VTK file of relative particle rotation angle from state1 to state2
Question #704551 on Yade changed:
https://answers.launchpad.net/yade/+question/704551
Status: Open => Answered
Jan Stránský proposed the following answer:
For python 2, change the "builtin" approach from
### python 3
import builtins
builtins.data = data
###
to
### both python 3 and python 2
__builtins__.data = data # note: no import
###
Cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.