-1
I am trying to run an existing program. I have fixed some parts of this program that I think was developed for Vers. 2.x, but I’m trying to run it on 3.6.5. But I came across a line that I can’t assess if there’s a syntax error or what it would be.
This is the line below:
''' % (args.var, args.mexe.split(os.sep)[-1], mexe.replace('\n', ''), args.iexe.split(os.sep)[-1], iexe.replace('\n', ''))
That generates this error: -->
TypeError: a bytes-like object is required, not 'str'
Thank you for your cooperation.
Replace your suggestion with the line q was there and then this happened --> "Syntaxerror: EOF while Scanning triple-quoted string literal" by accusing the error in a line after the end of the program. As I have no experience with Python and I’m new here I do not know how to proceed. Could I publish the entire code here p/vc or some other contributor might better understand the problem ?
– AlterMCA
Yes, it will be better.
– user110265