Skip to content

Instantly share code, notes, and snippets.

@qoelet
Created May 20, 2010 07:28
Show Gist options
  • Save qoelet/407309 to your computer and use it in GitHub Desktop.
Save qoelet/407309 to your computer and use it in GitHub Desktop.
def logArticle(sender, **kwargs):
f = open('log.txt','w')
f.write('%s -- Signal received. An article was created and saved.\n' % datetime.datetime.now())
f.close()
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment