Comments (3)
The script is expecting UTF-8 data and you're probably providing Latin1
Change these lines:
inputFile = open(sys.argv[1], 'r', encoding='utf-8')
to
inputFile = open(sys.argv[1], 'r', encoding='latin1')
inputFile = open(sys.argv[2], 'r', encoding='utf-8')
to
inputFile = open(sys.argv[2], 'r', encoding='latin1')
outputFile = open(sys.argv[3], 'w', encoding='utf-8', newline='')
to
outputFile = open(sys.argv[3], 'w', encoding='latin1', newline='')
from gam-scripts3.
from gam-scripts3.
Mark,
Call me on Google Hangouts or send a Meet invitation.
from gam-scripts3.
Related Issues (11)
- GetTeamDriveOrganizers.py - Error on Get ACLs for all Team Drives HOT 1
- GetSharedWithUserDriveACLs.py - Titles with Null HOT 2
- Script Use case Confusion HOT 1
- GAM command for GetSharedExternallyDriveACLs.py HOT 2
- Unable to find the server at oauth2.googleapis.com HOT 2
- Cyrillic characters are not displayed HOT 2
- NameError: name 'xrange' is not defined HOT 1
- I found no position to use the <select domain> feature with GetNonDomainFilterForwards.py HOT 1
- Looks like typo. Too many ')' HOT 1
- Error running GetSharedFilePermissions.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gam-scripts3.