This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jonathan.cervidae
Recipients jonathan.cervidae
Date 2009-05-11.17:58:25
SpamBayes Score 0.000116162
Marked as misclassified No
Message-id <>
[jon@jaydee Development]$ cat
#!/usr/bin/env python
import subprocess
import time
date_process = subprocess.Popen(
    ("date", "+%x"), stdout=subprocess.PIPE)
from_date_command = date_process.communicate()[0].rstrip()
from_strftime = time.strftime("%x")
print "Date command returns %s, strftime returns %s" % (
    from_date_command, from_strftime )
[jon@jaydee Development]$ python ./
Date command returns 11/05/09, strftime returns 05/11/09
Date User Action Args
2009-05-11 17:58:27jonathan.cervidaesetrecipients: + jonathan.cervidae
2009-05-11 17:58:27jonathan.cervidaesetmessageid: <>
2009-05-11 17:58:25jonathan.cervidaelinkissue5997 messages
2009-05-11 17:58:25jonathan.cervidaecreate