Python's random module is not importing -


i having problems importing python's random module using eclipse. creates red line under random when do:

import random 

i think may have accidentally deleted it, , if so, how can back? tried copying , pasting source python documents, won't compile.

first of all, try importing random in python shell. if not work, reinstall python.

if pydev complaining random being missing, should try rebuilding pydev's module paths in preferences.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -