- Use numpy if Numeric not found
# -*- coding: utf-8 -*-
from __future__ import division
import math
-import Numeric
import types
+try:
+ import Numeric
+except:
+ import numpy
+ Numeric = numpy
+
def mkf(value):
if type(value) in (type(1), type(1L), type(1.5), type(1j),type("hh")) :
return Constant(value)
#
# ======================================================================
# Modules Python
-from Tkinter import Label,Button
#Modules Eficas
from Noyau.N_OBJECT import ErrorObj