Code: Select all
import timeit
t = timeit.Timer('runLayout(YifanHuMultiLevel)', "from org.gephi import gephi")
t.timeit(1)
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Users\myusername\AppData\Roaming\.gephi\0.8.1\dev\modules\ext\gython.jar\Lib\timeit.py", line 164, in timeit
timing = self.inner(it, self.timer)
File "<timeit-src>", line 3, in inner
ImportError: cannot import name gephi