Change shebang used in CLI demo. (#7389)

Change from system Python to environment python3.  For Ubuntu 20.04, only `python3` is
available and there's no `python`.  So at least `python3` is consistent with Python
virtual env, Ubuntu and anaconda.
This commit is contained in:
Jiaming Yuan
2021-11-02 22:11:19 +08:00
committed by GitHub
parent a55d43ccfd
commit e6ab594e14
5 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
def loadfmap( fname ):
fmap = {}

View File

@@ -1,4 +1,5 @@
#!/usr/bin/python
#!/usr/bin/env python3
import sys
import random
@@ -26,4 +27,3 @@ for l in fi:
fi.close()
ftr.close()
fte.close()