Hello,
I am a newbie, was trying MicroPython his afternoon.
When i try to enter quotes both single or double is no accepted, so i tried typing it in a text editor and pasting he same, even then doesn´t get accepted, whatis he work around...
for example was trying to connect in Station Mode using...
sta_if.connect(´abcdefgh´,´12345678´)
the quotes are no type able or copied.
Any quick solution is appreciated
Regards
Problem entering (¨)
Re: Problem entering (¨)
Your message is showing backticks (`) and not single quotes aka apostrophe (') or double quotes (")
On my keyboard, the backtick is shared with the tilde character and is located just below the ESC key. The single and double quote key is over on the right side of the keyboard near the ENTER key.
Note that if you're using a word processor instead of a text editor to create the source code in, the word processors often replace the simple single/double quotes with the unicode opening/closing single/double quotes, which python doesn't understand.
On my keyboard, the backtick is shared with the tilde character and is located just below the ESC key. The single and double quote key is over on the right side of the keyboard near the ENTER key.
Note that if you're using a word processor instead of a text editor to create the source code in, the word processors often replace the simple single/double quotes with the unicode opening/closing single/double quotes, which python doesn't understand.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Problem entering (¨)
Actually it's showing an odd character - a front-tick My keyboard doesn't even have this character. I can copy and paste it into a text editor or into the Python3 REPL but not into MicroPython which ignores it. Python3 shows it to be chr(180) while a back tick is chr(96).
@Madhav1080 What language keyboard are you using? Does it have " and ' characters?
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Problem entering (¨)
My keyboard doesn't have it either. So strange.