xthomas:~/Nek5000/tools/tools-master/mshconvert$ ipython
Python 2.7.12 (default, Nov 20 2017, 18:23:56)
Type "copyright", "credits" or "license" for more information.
IPython 2.4.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]:
File "", line 1
^
SyntaxError: invalid syntax
In [2]: convert('sirkel4.msh', curves={7:{'type':'C', 'radius':1, 'depth': 4, 'circle_center': (0, 0)}})
NameError Traceback (most recent call last)
in ()
----> 1 convert('sirkel4.msh', curves={7:{'type':'C', 'radius':1, 'depth': 4, 'circle_center': (0, 0)}})
NameError: name 'convert' is not defined
In [3]:
Any suggestions to fix the problem? many thx.
Running the functions like process below:
xthomas:~/Nek5000/tools/tools-master/mshconvert$ ipython Python 2.7.12 (default, Nov 20 2017, 18:23:56) Type "copyright", "credits" or "license" for more information.
IPython 2.4.1 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.
In [1]: File "", line 1
^
SyntaxError: invalid syntax
In [2]: convert('sirkel4.msh', curves={7:{'type':'C', 'radius':1, 'depth': 4, 'circle_center': (0, 0)}})
NameError Traceback (most recent call last)