Pytech Resources

Blogs

Welcome to my section on blogging about Python, Emacs and other IT topics. I hope you will find it interesting.

Building org-drill files for learning Chinese

Emacs org-drill mode is great for learning Chinese (or any other subject that requires a lot of memorization). However, it seems that there are not many org-drill files available for learning Chinese. In this article I will show you how to build your own using a Python script shown below.

Learn Chinese with Emacs

Learn how to use the Emacs editor for a most effective way of learning Chinese. The same principles can be applied for learning any other subject where you need to memorize a significant amount of new information, for example as in definitions for a medical or biology course.

Building Your First Game With Python

Let's create a simple text-based game using Python where the player has to guess a number. The game will prompt the player to guess a randomly chosen number within a certain range, and it will provide hints if the guessed number is too high or too low. The game will continue until the player guess the number correctly or exceeds the maximum number of tries allowed.