Hello,
I have this simple code
======== code starts ================
import sys
from magot import *
B=MILS2MM
print(B)
======== code ends ================
Where magot.py is the following
======== magot.py starts ================
import math as math
def sind(x):
return math.sin(x * math.pi/180.0)
def cosd(x):
return math.cos(x * math.pi/180.0)
MM2MILS = 1000.0 / 25.4 # mm to mil conversion factor
======== magot.py ends ================
I get the following error message on the "from magot import *" line: "unable to detect undefined names"
I am using Spyder on Windows 7 64 bit
Please advise
Thank you
I have this simple code
======== code starts ================
import sys
from magot import *
B=MILS2MM
print(B)
======== code ends ================
Where magot.py is the following
======== magot.py starts ================
import math as math
def sind(x):
return math.sin(x * math.pi/180.0)
def cosd(x):
return math.cos(x * math.pi/180.0)
MM2MILS = 1000.0 / 25.4 # mm to mil conversion factor
======== magot.py ends ================
I get the following error message on the "from magot import *" line: "unable to detect undefined names"
I am using Spyder on Windows 7 64 bit
Please advise
Thank you