(02-18-2015, 11:33 PM)Misha- Wrote: Just dropping in to say that Python isn't the best language for doing this, since if it gets big, it's gonna get slow depending on the way you make it.
(02-20-2015, 01:10 AM)Oni Wrote: Why would you be against Python? It seems like an okay fit, given the circumstances. Maybe not the best pick, but that is just our opinion.
Oni is right. Python is a great language (with given circumstances). If speed is ever a problem, multithread or multiprocess. Don't have enough memory on your computer to do so? Run it on a VPS. 9 times out of 10, a bot won't run on a home computer, because it can be "needy", if not programmed to an extreme that it is memory efficient.
And, to OP;
I support this idea, though I wouldn't use text files, much less encrypted ones. It takes a bit more to process them, and to decrypt them is more work. Of course, Python is only limited to how fast it can interpret the syntax, so instead of encrypted text files, I recommend you use a database. If this is going to be web based as well, isolate your variables from your queries so that SQLi isn't an issue.
Example of isolating your variables using the question mark param-style (SQLite3 param-style):
Code:
import sqlite3
s = sqlite3.connect("mydb.db")
x = s.execute("SELECT * FROM tablename WHERE id=?", (1))
Isolating the variables requires a tuple, at least for the SQLite3 database type. I'm not sure of any others, since I've only messed with SQLite3, but I recommend using another db type, not to say SQLite3 is bad, it's just not the best.