I am new to python so i am not sure how this would work out. Anyhow, I would like to know how to pick a random non alphabetical character/symbol and simply print it. Just as an example it will randomly pick "æ"
Thanks!
I am new to python so i am not sure how this would work out. Anyhow, I would like to know how to pick a random non alphabetical character/symbol and simply print it. Just as an example it will randomly pick "æ"
Thanks!
If you want to print characters from a given sequence, you can use this:
The output is for example:
Note the
-*- coding: utf-8 -*-
which tells python that this file is encoded in utf8.Or this:
which gives me
This works quite fine for me.
But note: Your console has to support unicode, and the font has to contain the glyphs for your character. I use Linux, may be, Windows has some problems with unicode?