[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] stupidity, and a lesson learned



spotter . wrote:

name;author;date;version;width;height

and then use split(";") to move them into a list and assign it to
variables then.
Does this seem alright, no glaring things I have missed?

It'll work, as long as none of the data fields need to contain a ";" (probably true in this case).

Perhaps not the most user-friendly or extensible,
since you just have to remember what field goes where,
and the more fields you add, the harder it will get.

--
Greg