On 15/11/15 03:23, Sajjadul Islam wrote:
The following suggestion is not clear to me :
"
If you defined your function in a separate module using IDLE
you can use the run menu to run the module directly. That will
in turn load it into the IDLE shell for you to use.
"
I assumed (incorrectly as it turns out) that you were
using the IDLE IDE to write and run your code. You can
safely ignore it.
3. Send the list as input argument to the function in the .py file.
Eventually, I got the error message as mentioned in my previous post.
The advice about importing the file is what you need to follow.
How to call the run menu once you are in the command line at linux env ?
This only applies to the IDLE IDE, You don't seem to be using that.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor