By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,628 Members | 1,205 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,628 IT Pros & Developers. It's quick & easy.

Call a funtion from another file

P: 1
Hey! I have two files and I want to call a function named Transform from in I am using this code:
import hydr

but while running it shows except ValueError
Please tell me how can I fix it.
Jul 16 '14 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 2.5K+
P: 2,851
There is no way we can determine the cause of the error because you have not provided any information. Here's an example of a ValueError:
Expand|Select|Wrap|Line Numbers
  1. >>> math.acos(5)
  2. Traceback (most recent call last):
  3.   File "<interactive input>", line 1, in <module>
  4. ValueError: math domain error
  5. >>> 
Jul 17 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.