0

Here is a picture of the files.I have a file with 1 class in it and I'm using another file to try and import it but when I run it, it says no module found. I'm a beginner and still in school and have googled and tried many things but nothing seems to work. I'm using VS code and 3.8.13 python with conda.

This is my code in python im using:

import creds
myCreds = creds.Creds()
conn = create_connection(myCreds.conString, myCreds.userName, myCreds.password)

This is my creds file:

class Creds:
      xxxxx: 'xxx'
      xxxxx: 'xxx'
AmberH
  • 3
  • 5

0 Answers0