Python Forum
Python shell not functioning - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python shell not functioning (/thread-5756.html)



Python shell not functioning - Kongurinn - Oct-19-2017

I'm having issues with the python shell itself and running some functions. I've tried importing the random library and whenever I use seed nothing happens. Any ideas?

from random import *
seed(123)
At this point all I get is:
>>>


RE: Python shell not functioning - metulburr - Oct-19-2017

What else do you expect?


RE: Python shell not functioning - Kongurinn - Oct-19-2017

Sorry, I'm new to Python (and coding as a matter of fact). Just realized that it became a seed and the real return for a random number would be random()