Where can I get the module MyUtils?

P

Python_Doctor

I inherited a piece of python code which imports "MyUtils" i.e. it has
a line:

import MyUtils

When I execute the code I get:

ImportError: No module named MyUtils

I assume the code is looking for another module called MyUtils.py. Is
this a standard Python module? Where can I download this module from?

Many thanks

Monty
 
D

Diez B. Roggisch

Python_Doctor said:
I inherited a piece of python code which imports "MyUtils" i.e. it has
a line:

import MyUtils

When I execute the code I get:

ImportError: No module named MyUtils

I assume the code is looking for another module called MyUtils.py. Is
this a standard Python module? Where can I download this module from?

How large are the chances that something called "MyUtils" is a
standard-module? And if it were - you wouldn't miss it, wouldn't you?

I suggest you ask the one you inherited the code from - it's mosp
probably his/hers.

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top