Problems in Python Tutorial
while going through tutorial of Python ... Students are facing problems as follows:
- Mismatch in commands outputs of tutorial of level1 itself.
- difference in the version of tutorial software and software provided in CD.
- For example ... Interface prompt for very first command is different
- help commands are not running
- linspace command is not running
- tabs is not functioning
- ctrl+D command for exit is not working...
I am attaching the word file with print screen of tutorial and working prompts...Pls kindly advise us the solution because studenst are not able to correlate the tutorial.
(Posted on behalf of Dr. Shikha Singh)
Python Getting-started-with-ipython None min None sec
According to the screenshots provided and the problems you have described, the problems you are facing is because of the version Ipython that you are using.
Also, you are using Windows OS so support for Ipython & its various packages differ a lot than that in Ubuntu (i.e the OS recording the tutorials).
Help commands, tab completion, linspace etc. commands are not working because you probably do not have the required packages installed.
Tab completion feature is not bundled with Ipython. You need to separately install "pyreadline" package to use that feature.
For linspace & other useful functions for plotting you need to install packages like NumPy & Matplotlib.
I kindly request you to install the required packages & try out the tutorial exercises.
If you still have problems, feel free to ask us. We will be happy to assist you.
Here are some links that will help you to install the required packages.
Note: Please be careful while choosing the download file. Choose the one (32 or 64 bit) appropriate for your OS.