IDE and Editor

PyCharm

We highly recommend using PyCharm for development in this project. It is designed specifically for python and we are most experienced with this IDE. Plus, the professional version is free for students.

Which Version to select?

Students of the TU-Dresden can use the professional version of PyCharm (and most of the JetBrains products) for free for educational use. Go to Jetbrains-Students and fill out the form, note that you have to use your university email address (@tu-dresden.de, @msx.tu-dresden.de, @mailbox.tu-dresden.de). You will receive your license key via email there.

Help

Fix own files not being found by import-statements

This usually means that the project root is not the same as the source-root. To test this, try importing from "src.[filename]" or "[folder_name].src.[filename]". Note that this will still prevent the script from running correctly on the brick, so now we have to make the old import-statement work.

  • Open PyCharm and load your project

  • On the left, select Project (selected by default)

  • Right-click on the folder src

  • In the dropdown, select Mark Directory as and then Source


Visual Studio Code

For the RoboLab, we do not suggest using VSCode for working with the project structure and only offer limited support!

Microsoft offers its IDE not only for Windows, but also Linux and Mac operating systems. You can download the software directly from their website.

Even if VSCode is not an IDE it has good use as text editor which can be extended with plugins.
Be aware it can be complicated to configure e.g. execution of unit-test using VSCode or do other things an IDE can do natively.

When working with EV3, VSCode offers to download specific python environments and/or images.
DO NOT DOWNLOAD THEM, USE OUR IMAGE AND VERSION 1 OF THE ev3dev-python BINDINGS!