Skip to main content
Chemistry LibreTexts


  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Interactive Development Environments (IDEs):  An IDE is a GUI (Graphical User Interface) that has an editor, interpreter and debugger; and thus can be used to write, test and debug code. These are like word processors for coding.  Some are programs you install on your computer and others are web services. In this class we will predominantly use the Thonny IDE, which you will run on both your laptop and Raspberry Pi. You may want to get an account for a web service like Replit as you can then run code on any computer without installing Python.  LibreTexts also runs a Jupyter Hub in the background, which allows you to run Jupyter notebooks, and so you may want to be familiar with Jupyter too, and you can run Jupyter notebooks from your Google Drive using Google Colaboratory.

    Code editors use "syntax highlighting" which can help you see errors in your code (fig. \(\PageIndex{1}\)).  If you run improper code the IDE will give you a SyntaxError statements, which you can search on Google to find your mistake.  These searches often led you to sites like "Stack Overflow", which is a community where developers can post code and discuss problems. 

    clipboard_e51b49909eadc66f0e96e0e167595f6f0.pngFigure \(\PageIndex{1}\): Note how line 2 is highlighted green.  This is telling us that there is an error in the syntax, and when we ran it we were given an error code in the shell ("SyntaxError: unterminated string literal").  By copying that error code and pasting into Google we would see that we needed the second double quotation mark to terminate the string in line 2 (CC 0.0; Belford)

    If you wish to get into data sciences you may want to install python through the Anaconda Distribution.  This allows you to maintain and update multiple software packages through a single interface, and the Anaconda Navigator is a useful tool for doing this. If you are a computer or data science major it is recommended that you become familiar with Anaconda, while if you are an empirical science major and this is your first programming class, Thonny will work just fine.

    clipboard_e02f9037d8215c3b0ad9a5c0e1a4643a3.pngFigure \(\PageIndex{2}\): 11/25/2022 Screen capture of "" . (Copyright; author via source)


    This page titled IDEs is shared under a not declared license and was authored, remixed, and/or curated by Robert Belford.

    • Was this article helpful?