Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 221057-221058: truncated \xXX escape #6

Closed
DUOLabs333 opened this issue May 7, 2022 · 1 comment

Comments

@DUOLabs333
Copy link

When trying this out with pyparsing, it creates the file, but trying to import it gives me SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 221057-221058: truncated \xXX escape

@DUOLabs333
Copy link
Author

I found a fix: just use r in front. If I do that, it works perfectly. How does this work anyways?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant