'SyntaxError: Non-UTF-8 code starting with '\xfe' in file
While writing the program, I ran into an error:
SyntaxError: Non-UTF-8 code starting with '\xfe' in file /Users/user/PycharmProjects/quick_trade/quick_trade/quick_trade/trading_sys.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
I tried changing encoding and python path. But it did not help. I have read several docs but nothing helped.
full code: https://github.com/VladKochetov007/quick_trade/tree/dev
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
