String () { final String scriptName = getScriptName(); if (scriptName == null) return null; String name = new File(scriptName).getName(); if (name.endsWith(".py")) { return name.substring(0, name.length() - 3); } return name; }