I am new to Python and I have difficulties in the basics of functions
a.py
import b
from ConfigParser import SafeConfigParser
class A:
def method1():
config = SafeConfigParser()
b = B()
b.method2(config)
b.py
class B:
def method2(config)
config.
# The editor does not show the inbuilt methods of config here
I am using IntelliJ IDE
Aucun commentaire:
Enregistrer un commentaire