I'm trying to create a simple string like:
test = "abc@email.com"
in Pydev but it automatically interpret "@"
as a special symbol and the statement cannot pe done. When I focus on the variable in Pydev, I can see: test = "abc* @email.com" * instead of test = "abc@email.com"
Anyone has any idea why I have this issue?
If I run the statement in windows command prompt python, then it is correctly assigned.
Does it have any relation with pylint?
Thanks,
The only way I was able to reproduce similar result was with unclosed string before that, which is obviously a syntax error. Otherwise I've never seen any problems with string literals containing @
while using PyDev (with PyLint).
try %@
?
this might be your answer. Not a whole lot out there about special characters in python.
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.