Type 3dsmax to start 3ds Max and add the -U PythonHost command line switch, for example as follows: 3dsmax -U PythonHost demoBentCylinder.py
Note See Executing Python from MAXScript for a list of directories under which 3ds Max will look for the .py file.