diff --git a/editor/external.ts b/editor/external.ts
index fa47e121..c87398d5 100644
--- a/editor/external.ts
+++ b/editor/external.ts
@@ -58,6 +58,15 @@ module TDev {
// path: '/ck-client/game/',
logoUrl: origin + path + 'img/codekingdoms-microbit.png'
+ },
+ {
+ company: "The Python Software Foundation",
+ name: "MicroPython",
+ description: "Hack your micro:bit with MicroPython!",
+ id: "python",
+ origin: "https://microbit.pythonanywhere.com",
+ path: "/editor.html",
+ logoUrl: origin + '/static/img/python-powered.png'
})
}
}
diff --git a/editor/scriptList.ts b/editor/scriptList.ts
index c38efc80..5dc04f7c 100644
--- a/editor/scriptList.ts
+++ b/editor/scriptList.ts
@@ -6182,6 +6182,7 @@
static editorIcons = {
"blockly": "blockeditor,#AA2FE7",
"codekingdoms": "codekingdoms,#ffffff",
+ "python": "python,#ffffff",
"touchdevelop": "touchdevelop,#0095ff",
"docs": "fa-file-text-o,#E00069",
"html": "fa-code,#E00069",
diff --git a/rt/svg.ts b/rt/svg.ts
index b1576845..9df3eb86 100644
--- a/rt/svg.ts
+++ b/rt/svg.ts
@@ -237,6 +237,8 @@ export module SVG {
var codekingdomsLogo = '';
+ var pythonLogo = '';
+
export function getIconSVG(name:string) : HTMLElement
{
// return "data:image/svg+xml," + escape(svg);
@@ -303,6 +305,8 @@ export module SVG {
if (lname == "codekingdoms") return codekingdomsLogo;
+ if (lname == "python") return pythonLogo;
+
if (iconMapping.hasOwnProperty(lname))
lname = iconMapping[lname]