encryption.encrypt(publickey, item)
if __name__ __main__ :
encryption()
报错 AttributeError: function object has no attribute encrypt 因为函数名称冲突
【写法2】
from aa_dir.encryption import encryption
def encryption1():
encryption.encrypt(publickey, item)
if __name__ __main__ :
encryption1()



