Skip to main content
Chemistry LibreTexts

5.5: Tips on Thonny

  • Page ID
    208889
  • UI Modes 

    There are three User Interface Modes, simplified, regular and expert. Figure \(\PageIndex{1}\) shows the simplified view and you do not have access to the File/Edit/View... menu.

    clipboard_e40e9258f89ae537ac2094f847e9f7647.pngFigure \(\PageIndex{1}\): Simplified UI mode

    You would want to use the above mode if you had a very small screen and needed all the screen devoted to your code. To switch to regular view (below) you would click the command on the top right "Switch to regular mode". This requires restarting Thonny to take effect.

    clipboard_e407e118c17eedc25b47ce2892cf77947.pngFigure \(\PageIndex{2}\): Thonny in Regular mode gives you access to the Fiel/Edit/View.... menu

     

    To go to the simplified menu you would toggle Tools/Options/General/UI mode and choose simple (or regular or expert)

     

    Editor Options

    Under the regular UI you can go to Tools/Options/Editor and do things like insert/remove line numbers, set the reccomended line length (standard python libraries limit line length to 79 characters with comments being recommended to be limited to 72)

    clipboard_e9c20e5bf301143f94e3d0c7fa5f514cc.png
    Figure \(\PageIndex{3}\): Editor options under Tools/Options/Editor of normal UI.

     

    • Was this article helpful?