Jul-10-2018, 05:27 AM
(Jul-09-2018, 10:46 PM)zer0 Wrote: Umm, yes I use IDLE, is that bad?Worth Python REPL (interactive shell) - as far as I know. Standard encoding is UTF-8 (at least, on Linux). Try your code either at repl.it or at online Jupyter notebook. Also, for a beginner, I would not recommend 3.7
(Jul-09-2018, 10:46 PM)zer0 Wrote: And how do I use UTF-8?You set your encoding for a script by inserting into it the line I have given you above. It will set your encoding during the script execution. How to set encoding for IDLE - no idea (haven't touched it for years, never again )
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.