+ 1
Quotation marks problem
I have a problem on my code with python : I put " that quotation marks on my code, and I don’t now why, they change to theses « quotation marks. If someone got a answer, few lines of code who can make my code re-works, please say me. Sorry for my English, I’m à French user
5 Antworten
+ 1
note: your file may have been saved with the "wrong " quote character (like, using ascii 174 and 175 instead of the expected 34)
and you will need to find a way to change that back. hopefully your editor has an option to do this easily. or if you are in the mood you can write a small script that would do this for you ! :-D
+ 3
Are you using the french keyboard?
+ 1
Your editor may have something like smart quotes turned on. Go into the editors settings/preferences and see if you can find a place to turn them off. Or, as @ifl has suggested use a different editor or IDE such as Pycharm.
0
your editor is too clever. :-). try an IDE or some programmation editors. for python you can use Idle that comes with the install (on Windows)
0
Okay, thank you all! And yes, I’m using the French keybord sometimes.
I’m using an iOS app name "pythoni", and I m using when I’m not home. When I’m coding on a computer, this is on a Raspberry Pi 3, so I’m gonna try to transfer my code to the computer, and I hope it’s gonna work!