--- a/eric6/Utilities/__init__.py Fri Aug 30 19:00:38 2019 +0200 +++ b/eric6/Utilities/__init__.py Fri Aug 30 19:07:18 2019 +0200 @@ -1605,7 +1605,12 @@ already (Editor object) @return Python version if file is Python2 or Python3 (int) """ - pyAssignment = {"Python": 2, "Python2": 2, "Python3": 3} + pyAssignment = { + "Python": 2, + "Python2": 2, + "Python3": 3, + "MicroPython": 3, + } if not editor: viewManager = e5App().getObject('ViewManager')