git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13247 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -114,6 +114,11 @@ check which version of Python you have installed, by simply typing
|
||||
|
||||
<A NAME = "py_2"></A><H4>11.2 Overview of using Python from a LAMMPS script
|
||||
</H4>
|
||||
<P>IMPORTANT NOTE: It is not currently possible to use the
|
||||
<A HREF = "python.html">python</A> command described in this section with Python 3,
|
||||
only with Python 2. The C API changed from Python 2 to 3 and the
|
||||
LAMMPS code is not compatible with both.
|
||||
</P>
|
||||
<P>LAMMPS has a <A HREF = "python.html">python</A> command which can be used in an
|
||||
input script to define and execute a Python function that you write
|
||||
the code for. The Python function can also be assigned to a LAMMPS
|
||||
|
||||
Reference in New Issue
Block a user