How to get command details in Python 3.7.3 Shell
Title
Question
I got the following syntax error whiling using the command:
>>> round?
SyntaxError: invalid syntax
Please guide me
Python-3.4.3 Getting-started-with-IPython 02-03 min 20-30 sec
Answers:
Please enter ipython --pylab command and enter in the ipython shell and then use the above command. Question mark works with ipython terminal and not the python shell. If you are in python shell then type help(round).
You seem to be using the simple python insterpreter or IDLE environment
Please follow the instructions in the video EXACTLY as specified.
Open an IPython console by opening a terminal followed by the command :
ipython --pylab
Then the python functions and commands shown in the video will work as expected
Login to add comment