1

I have a file named imp.py:

import tensorflow as tf
import numpy as np
import pandas as pd

I also have another file named test.py, I want to import the modules in imp.py, therefore, I wrote

import imp.py

But the modules haven't been imported. What should be the correct approach?

Christian Dean
  • 22,138
  • 7
  • 54
  • 87
Frankie
  • 744
  • 1
  • 9
  • 14

0 Answers0