I am trying to create a multi-file environment for my project. The File structure is as such
project_folder
   |- FileA.py
   |- FileB.py
The FileA.py has mainly the script in it and also I have improted FileB here
FileA.py
import os,sys
from FileB import temp_class as T
// lines of code 
str = "somestring"
A, B, C = T.func(str)
// lines of code
FileB.py
import os,sys
class temp_class:
    def func(self, S):
        //lines of code
        return (someA,someB,someC)
But I am getting the error as
TypeError: unbound method func() must be called with temp_class instance as first argument (got str instance instead)
 
     
     
     
    