+ 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

14th Dec 2017, 7:21 PM
Andrea Sisto
Andrea Sisto - avatar
5 RĂ©ponses
+ 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
15th Dec 2017, 8:04 AM
ifl
ifl - avatar
+ 3
Are you using the french keyboard?
14th Dec 2017, 7:25 PM
Ice
Ice - avatar
+ 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.
14th Dec 2017, 11:00 PM
ChaoticDawg
ChaoticDawg - avatar
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)
14th Dec 2017, 8:37 PM
ifl
ifl - avatar
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!
15th Dec 2017, 6:15 AM
Andrea Sisto
Andrea Sisto - avatar