Mercurial > repos > george-weingart > micropita
comparison micropita_prepare.py @ 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 | 50a5e03dda85 |
children |
comparison
equal
deleted
inserted
replaced
31:956124f2b2aa | 32:041787cd0d31 |
---|---|
33 __maintainer__ = "George Weingart" | 33 __maintainer__ = "George Weingart" |
34 __email__ = "george.weingart@gmail.com" | 34 __email__ = "george.weingart@gmail.com" |
35 __status__ = "Development" | 35 __status__ = "Development" |
36 | 36 |
37 import argparse | 37 import argparse |
38 from cStringIO import StringIO | 38 ###### from cStringIO import StringIO #### Updated by GW 2021/06/22 for Python3 |
39 | |
40 from io import StringIO ## for Python #### Updated by GW 2021/06/22 for Python3 | |
39 import sys,string,time | 41 import sys,string,time |
40 import os | 42 import os |
41 from time import gmtime, strftime | 43 from time import gmtime, strftime |
42 from pprint import pprint | 44 from pprint import pprint |
43 import subprocess | 45 import subprocess |