Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I'm trying to install RPi.GPIO which is a pure python library used for controlling the general purpose input output pins on a Raspberry Pi.
I'm reading through the documentation and I'm having some difficulty deciphering the cryptic lore, specifically the part about where to install the module.
Ren'Py can import pure-Python modules and packages. First-party modules and packages – ones written for the game – can be placed directly into the game directory. Third party packages can be placed into the game/python-packages directory.
Can anyone give me some pointers what this actually means?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Like, what it says? Create a folder python-packages under game and install the package to that folder. For instance, I have dropped numpy into that folder before and can use it with import numpy.