在virtualenv中,我无法设置类似 function myFunction() {
// Data Sheet
var ss = SpreadsheetApp.getActiveSpreadsheet();
var dataSheet = ss.getSheets()[0];
var data = dataSheet.getDataRange().getValues();
//You can change these for each Region
var regionAId = "SPREADSHEET KEY for RegionA"
var regionA = "Region A";
var regionAdata = SpreadsheetApp.openById(regionAId);
var regionBId = "SPREADSHEET KEY for RegionB"
var regionB = "Region B";
var regionBdata = SpreadsheetApp.openById(regionBId);
//add the other regions
for ( var i=0; i < data.length; i++) {
if (data[i][0] == regionA){
regionAdata.appendRow(data[i])
}
if (data[i][0] == regionB){
regionBdata.appendRow(data[i])
}
//add the other regions
}
}
的包。
平台:win10 x64 python2.7.12 mysql
答案 0 :(得分:0)
您可以尝试MySQL-python-1.2.3.win32-py2.7.exe
下载网站:http://www.codegood.com/archives/129