Where to put python modules?
Posted: November 28th, 2016, 4:43 am
I'm creating a module called "LifePlus" but I'm not sure where to put it. Do I put it in the scripts folder?
Forums for Conway's Game of Life
https://conwaylife.com/forums/
No -- you definitely should NOT store any of your own scripts/patterns/rules/whatever in the folders supplied with Golly. If you follow the folder structure recommended in Help > Hints and Tips then all your scripts should be in a separate folder called My-scripts (or any other name you prefer). If you put your LifePlus module in that folder then all your Python scripts can use it by doing "import LifePlus".Saka wrote:I'm creating a module called "LifePlus" but I'm not sure where to put it. Do I put it in the scripts folder?
Yes.Saka wrote:So basically I should put it together with all my other scripts? (In the same folder?)