[Tutor] Saving Progress

Don Jennings dfjennings at gmail.com
Wed Jul 3 02:47:26 CEST 2013


On Jun 27, 2013, at 11:16 AM, Jack Little wrote:

> Is there a way to save a players progress in a game using python without any modules

Sure, right it to an open file [1].

Of course, you might just mean without using any *external* modules. In that case, you might consider the included database (import sqlite3) [2].

Take care,
Don

[1] http://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files
[2] http://docs.python.org/2/library/sqlite3.html


More information about the Tutor mailing list