From: Eric D. <mon...@ma...> - 2011-05-27 19:40:42
|
The problem was with the next line of code. I should have used 'import visual.graph' rather than 'from visual.graph import *' Can anyone explain what the difference between the two calls is? Also why does visual.graph have visual.graph.random? The Problem _______________________________ import random from visual.graph import * #bad idea # imports random from numpy directory # visual.graph. does have a .random _______________________________ Solution: import visual.graph |