以下代码在第7行有错误,from shapely.geometry import Polygon
polya = Polygon([(0, 0), (0, 1), (1, 1), (1, 0)])
polyb = Polygon([(0.5, 0.5), (0.5, 0.8), (0.8, 0.8), (0.8, 0.5)])
polya.contains(polyb)
# True
此代码用于在项目完成后发送电子邮件。
var sheet = ss.getSheetByName(“Active Projects”);
答案 0 :(得分:0)
尝试将智能引号(“”
)更改为普通引号(""
):
function checkValue(e) {
var ss = SpreadsheetApp.getActive();
var sheet = ss.getSheetByName("Active Projects");
var valueToCheck = sheet.getRange("E").getValue();
var rangeEdit = e.range.getA1Notation();
if (rangeEdit == "E")
{
if (valueToCheck = Completed)
{
MailApp.sendEmail("0000 @gmail.com", "blah", "test" + valueToCheck + ".");
}
}
}