IronPython : Microsoft.Scripting.SyntaxErrorException: 'unexpected token '=''
问题 I have a Python scrirpt and that I am trying to execute from C# code using IronPython and I am getting the below error message: Microsoft.Scripting.SyntaxErrorException: 'unexpected token '='' Here is my Python code: import logging logging.basicConfig(filename='c:\\rahul\\example.log',level=logging.DEBUG) logging.debug('This message should go to the log file') logging.info('So should this') BUCKET_NAME='Rahul' print("Bucket name :-" + BUCKET_NAME) And here is my .NET C# code: var engine =