Mercurial > repos > george-weingart > micropita
changeset 32:041787cd0d31 draft default tip
Modified from StringIO import StringIO ## for Python 2 to from io import StringIO ## for Python 3
author | george-weingart |
---|---|
date | Wed, 23 Jun 2021 20:52:58 +0000 |
parents | 956124f2b2aa |
children | |
files | micropita_prepare.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/micropita_prepare.py Wed Jun 23 20:41:35 2021 +0000 +++ b/micropita_prepare.py Wed Jun 23 20:52:58 2021 +0000 @@ -35,7 +35,9 @@ __status__ = "Development" import argparse -from cStringIO import StringIO +###### from cStringIO import StringIO #### Updated by GW 2021/06/22 for Python3 + +from io import StringIO ## for Python #### Updated by GW 2021/06/22 for Python3 import sys,string,time import os from time import gmtime, strftime