Python Forum
Python shell not functioning
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python shell not functioning
#1
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:
>>>
Reply
#2
What else do you expect?
Recommended Tutorials:
Reply
#3
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()
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Help creating shell scrip for python file marciokoko 10 1,387 Sep-16-2023, 09:46 PM
Last Post: snippsat
  Launch Python IDLE Shell from terminal Pavel_47 5 1,263 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
  batch file for running python scipt in Windows shell MaartenRo 2 1,907 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  time.clock not functioning Oldman45 3 2,716 Apr-07-2021, 08:51 AM
Last Post: Oldman45
  How to make a Python program run in a dos shell (cmd) Pedroski55 2 2,337 Nov-09-2020, 10:17 AM
Last Post: DeaD_EyE
Bug Python Shell 3.9.0 - Issue with indentation Earis 17 6,679 Oct-31-2020, 07:00 AM
Last Post: Earis
  I can`t find an IDE functioning in my laptop All_ex_Under 5 2,990 Aug-17-2020, 05:44 AM
Last Post: All_ex_Under
  If elif else statement not functioning SamDiggityDog 4 2,658 Jun-03-2020, 12:27 AM
Last Post: SamDiggityDog
  Python "Terminal" vs "Shell" SectionProperties 2 2,681 Apr-10-2020, 08:36 AM
Last Post: SectionProperties
  python shell teelado 1 16,869 Jun-13-2019, 01:49 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020