Skip to main content
Chemistry LibreTexts

4: PyCharm

  • Page ID
    422513
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Installing & Maintaining

    PyCharm is an advanced IDE that can be obtained at https://www.jetbrains.com/pycharm/.  You will want to use the free community option (figure \(\PageIndex{1}|).  Thonny should be fine for working with the Raspberry Pi, but if you get deep into python programming you may wish to use a more advanced editor like PyCharm.  

    clipboard_e87d7301b3460a1e25071937605fcbaa6.pngFigure \(\PageIndex{1}\): Go to https://www.jetbrains.com/pycharm/ and click the download option for the free Community version of PyCharm. (CC 0.0, Belford screen capture 12/18/2022)

     

     Adding Packages

    Python Package Index

    Go to pypi.org and find package

    clipboard_ed209679c4b5d9f93895f4b688cc60d2f.pngFigure \(\PageIndex{1}\): PyCharm 2022.3 (Community Edition) screen capture on how to add a package to your project (Belford, CC.0)

     

    Keyboard Shortcuts

     

    • [alt] + [shift]: Multiline editing - This is useful if you need to repeat a command like print on several lines of code. Click the front of the first line, press alt + shift simultaneously, and then move the cursor down.  Now whatever you type is concurrently typed in all the lines.
    • [ctrl] + [\]:  Comment or uncomment multiple lines
    •  

     

     


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

    • Was this article helpful?