Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

        def check_numpy_version():
    import numpy
    numpy_version = numpy.__version__.split(".")[0:2]
    numpy_version = float(".".join(numpy_version))
    if numpy_version >= 1.2:
        return True
    else:
        return False
        


src/n/e/NeuroTools-0.2.0/test/test_spikes.py   NeuroTools(Download)
 
import numpy, unittest, os
from NeuroTools.__init__ import check_numpy_version, check_dependency
newnum = check_numpy_version()
 

src/n/e/NeuroTools-0.2.0/test/test_analogs.py   NeuroTools(Download)
import os
import unittest
from NeuroTools.__init__ import check_numpy_version, check_dependency
newnum = check_numpy_version()