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

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -