[Tutor] Ressources for licensing

David Hutto smokefloat at gmail.com
Sun Dec 12 20:32:50 CET 2010


On Sun, Dec 12, 2010 at 2:27 PM, David Hutto <smokefloat at gmail.com> wrote:
> You need a file that sets the initial time used for the app(the time
> on the individuals computer), and a function that checks that initial
> start up file for the current time and the original usage time of
> first start up.
>

pseudocode:

def initialfile():
    f = open('/initialfile','w')
    if f:
        pass
    if not f:
        time = os/sys.time
        f.write(time)

def check original:
    if f found:
        check f.time
        currenttime


More information about the Tutor mailing list