If anyone has any ideas about the following I would greatly appreciate hearing them.
I am running Python 3.5 system wide.
The following code snippet works fine in WING IDE and IDLE but not on Pycharm or Sublime Text (ctrl-B):
import random
for i in range(10):
print(random.random())
When running this code I get the following error from Pycharm and Sublime text.
TypeError: 'module' object is not callable.
When running on IDLE or Wing IDE it runs fine.
Does anyone have an idea why this might be?
Thanks in advance!
O. Jacobs