I would like to use python3 syntax in PyCharm 2016.2 and have configured the interpreter to use python3.5. The code runs fine when I execute it but PyCharm complains about python3 syntax that isn't supported in python2.
How can I convince PyCharm that the python3 syntax is ok?
Settings -> Editor -> Inspections -> Python -> Code compatibility inspection
Either disable it entirely or unselect Python 2.X
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.