Murat, It's a hack, but it's also possible to pre-process the source code. Check out PEP 263 <http://www.python.org/dev/peps/pep-0263/>.
Luciano Ramalho <http://twitter.com/ramalhoorg> published<http://www.python.org.br/wiki/LinguagemSucuri>his project Sucuri <https://code.google.com/p/propython/source/browse/mafua/sucuri>(native brazilian name for Python) as an exercise inspired by a blog post from <http://benjiyork.com/blog/2008/02/programmable-python-syntax-via-source.html>Benji York<http://benjiyork.com/blog/2008/02/programmable-python-syntax-via-source.html> . This would enable you to "remap" all the keywords. Using this combined with Kirby's strategy may be enough to introduce programing to your students with simple projects written in their native language. All the best, -- Henrique Bastos <http://henriquebastos.net> Twitter: @henriquebastos <http://twitter.com/henriquebastos> Skype: henriquebastos.net +55 21 9618-6180 On Sun, Feb 3, 2013 at 12:44 AM, kirby urner <kirby.ur...@gmail.com> wrote: > I think Kython is a wonderful idea, and corresponding trainers in any > Unicode language. > > Ideally there'd be a Kython -> Python translator, even at the source code > level, that only swapped in the Python keywords, builtins, special names, > Standard Library names. > > This looks like a "round trip" exercise (goes both ways), meaning any > Unicode community might craft something similar. > > Given the isomorphisms involved (no information is lost), it seems > possible to translate from any to any. > > Yes, that makes it sounds easier than it is. Something to chip away at > over time. > > Kirby > > > > _______________________________________________ > Edu-sig mailing list > Edu-sig@python.org > http://mail.python.org/mailman/listinfo/edu-sig > >
_______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig