CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   [Other] PyFoam, error (https://www.cfd-online.com/Forums/openfoam-installation/240268-pyfoam-error.html)

mohammad December 22, 2021 11:19

PyFoam, error
 
Hi everybody,

I have installed PyFoam. However, when I check it using the following commands:

import PyFoam
import PyFoam.FoamInformation
print PyFoam.FoamInformation.foamTutorials()


after the last command, i get the following error

File "<stdin>", line 1
print PyFoam.FoamInformation.foamTutorials()
^
SyntaxError: invalid syntax


any idea please?


All times are GMT -4. The time now is 13:34.