Okay. The process of sharing code is rather tedious for me. I would like to get some ideas on project distribution.
Currently I back up my app to a simple text file with code like this:
with open(app.py,'r') as infile:
code = infile.read()
with open(bkpfile.txt,'w') as outfile:
outfile.write(code)
I do that for all files I want to back up. I am sure there is a better way using the many Python modules.
Sqlite ?
I had a thought to store my code in an sqlite database and then I could write a program to query the database for the code. This could scale to the point to where one database could store several programs made by several people. Primary keys could be user names or something.
JSON ?
Dump stuff into a .json file with key-value pairs?
Typical Package distribution ?
Don't know how that really works myself. If anyone has any good info on how that works it would be helpful. Perhaps any information on why I would want to go this way? distutils? I don't really want to deal with a lot of files.