Wiki source code of Windows Intellij Python Quickstart
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{numberedheadings/}} | ||
| 2 | |||
| 3 | = Download JetBrains Toolbox = | ||
| 4 | |||
| 5 | Go to [[https:~~/~~/www.jetbrains.com/toolbox-app/>>https://www.jetbrains.com/toolbox-app/]] | ||
| 6 | |||
| 7 | Current version of Toolbox is 1.25. | ||
| 8 | |||
| 9 | ~1. Ensure that it says ".exe" on the **right half** of the Download button. Click the right half of the button to change it to .exe if it is not .exe already. | ||
| 10 | |||
| 11 | [[image:image-20220724182056-1.png]] | ||
| 12 | |||
| 13 | 2. Click "**Download**". The .exe file is downloaded. | ||
| 14 | |||
| 15 | = Install JetBrains Toolbox = | ||
| 16 | |||
| 17 | ~1. Run the installer by clicking on the downloaded item button at bottom-left in Chrome. | ||
| 18 | |||
| 19 | [[image:image-20220724182210-2.png]] | ||
| 20 | |||
| 21 | The installer runs: | ||
| 22 | |||
| 23 | [[image:image-20220724182229-3.png]] | ||
| 24 | |||
| 25 | 2. Click "Install" button. | ||
| 26 | |||
| 27 | Some files are copied, then it notifies that Toolbox is installed: | ||
| 28 | |||
| 29 | [[image:image-20220724182258-4.png]] | ||
| 30 | |||
| 31 | 3. Make sure the box next to "Run JetBrains Toolbox" is ticked. | ||
| 32 | |||
| 33 | 4. Click "Finish" | ||
| 34 | |||
| 35 | The Toolbox runs: | ||
| 36 | |||
| 37 | [[image:image-20220724182353-5.png]] | ||
| 38 | |||
| 39 | = Run Toolbox = | ||
| 40 | |||
| 41 | **At any point in time**, if the Toolbox App disappears from your screen, you can bring it up again by clicking on the icon in System Tray: | ||
| 42 | |||
| 43 | [[image:image-20220724183121-12.png]] | ||
| 44 | |||
| 45 | = Do One-Time Initialisation of Toolbox = | ||
| 46 | |||
| 47 | ~1. In the main Window (shown above), click "Continue". | ||
| 48 | |||
| 49 | Toolbox asks that you accept agreement: | ||
| 50 | |||
| 51 | [[image:image-20220724182417-6.png]] | ||
| 52 | |||
| 53 | 2. Click "Accept License Agreement". | ||
| 54 | |||
| 55 | It then allows you to do some simple configuration: | ||
| 56 | |||
| 57 | [[image:image-20220724182446-7.png]] | ||
| 58 | |||
| 59 | 3. Choose a theme, then click "Get Started". | ||
| 60 | |||
| 61 | You are now in the main window of Toolbox. | ||
| 62 | |||
| 63 | [[image:image-20220724182524-8.png]] | ||
| 64 | |||
| 65 | 4. Click "Got it" to dismiss the popup message. | ||
| 66 | |||
| 67 | = Install IntelliJ IDEA Community Edition = | ||
| 68 | |||
| 69 | ~1. Install "IntelliJ IDEA Community Edition" by clicking on "Install" button next to this name: | ||
| 70 | |||
| 71 | [[image:image-20220724182636-9.png]] | ||
| 72 | |||
| 73 | 2. Wait while it's downloaded and installed: | ||
| 74 | |||
| 75 | [[image:image-20220724182659-10.png]] | ||
| 76 | |||
| 77 | Current version of IntelliJ is v2022.1.4. | ||
| 78 | |||
| 79 | [[image:image-20220724182745-11.png]] | ||
| 80 | |||
| 81 | 3. Click "Got It" button on the popup message after reading it. | ||
| 82 | |||
| 83 | = Run IntelliJ IDEA = | ||
| 84 | |||
| 85 | ~1. Run IntelliJ by clicking on "IntelliJ IDEA Community Edition" in Toolbox. | ||
| 86 | |||
| 87 | It asks that you accept their terms: | ||
| 88 | |||
| 89 | [[image:image-20220724183240-13.png]] | ||
| 90 | |||
| 91 | 2. Accept the Terms and click "Continue". | ||
| 92 | |||
| 93 | It asks whether you want to share data: | ||
| 94 | |||
| 95 | [[image:image-20220724183310-14.png]] | ||
| 96 | |||
| 97 | 3. Choose your data sharing preference by clicking "Don't Send" or "Send Anonymous Statistics". | ||
| 98 | |||
| 99 | IntelliJ is now started: | ||
| 100 | |||
| 101 | [[image:image-20220724183344-15.png]] | ||
| 102 | |||
| 103 | = Install Python Plugin = | ||
| 104 | |||
| 105 | ~1. Click the "Plugins" button at **left side **of "Welcome to Intellij IDEA" window. | ||
| 106 | |||
| 107 | The plugins-management screen comes up. | ||
| 108 | |||
| 109 | [[image:image-20220724183522-16.png]] | ||
| 110 | |||
| 111 | 2. Type "Python" in search box. | ||
| 112 | |||
| 113 | 3. Find and click on "Python Community Edition" in the list. | ||
| 114 | |||
| 115 | [[image:image-20220724183626-17.png]] | ||
| 116 | |||
| 117 | 4. Click "Install" button when "Python Community Editon" appears on the right. | ||
| 118 | |||
| 119 | 5. Wait for installation to be completed. | ||
| 120 | |||
| 121 | The button will change to a non-button and the text will change to "Installed": | ||
| 122 | |||
| 123 | [[image:image-20220724183726-18.png]] | ||
| 124 | |||
| 125 | = Create a Python project = | ||
| 126 | |||
| 127 | ~1. Go back by clicking "Projects" on the left of "Welcome to IntelliJ IDEA" window. Then click "New Project": | ||
| 128 | |||
| 129 | [[image:image-20220724183840-19.png]] | ||
| 130 | |||
| 131 | 2. Give your project a name, then select "Python" as "Language". Choose "New" "Environment" and "Python 3.10" as "Base interpreter": | ||
| 132 | |||
| 133 | [[image:image-20220724184100-20.png]] | ||
| 134 | |||
| 135 | 3. Click "Create". | ||
| 136 | |||
| 137 | It installs Python: | ||
| 138 | |||
| 139 | [[image:image-20220724184132-21.png]]file:/C:/Users/szeleung/IdeaProjects/untitled/ | ||
| 140 | |||
| 141 | The User Account Control window pops up asking if you would like to allow Python to be installed: | ||
| 142 | |||
| 143 | [[image:image-20220724190902-1.png]] | ||
| 144 | |||
| 145 | 4. Approve the Prompt by saying "Yes": | ||
| 146 | |||
| 147 | You are now in your Python project in IntelliJ! | ||
| 148 | |||
| 149 | [[image:image-20220724191036-2.png]] | ||
| 150 | |||
| 151 | = Create a python script = | ||
| 152 | |||
| 153 | ~1. Right-click on your project icon on the left, then choose "New" > "Python File": | ||
| 154 | |||
| 155 | [[image:image-20220724191221-3.png]] | ||
| 156 | |||
| 157 | 2. Give your script file a name, then press Enter key: | ||
| 158 | |||
| 159 | [[image:image-20220724191301-4.png]] | ||
| 160 | |||
| 161 | Your Python script file is created and it's now ready for you to enter code! | ||
| 162 | |||
| 163 | [[image:image-20220724191355-6.png]] | ||
| 164 | |||
| 165 | = Run your script. = | ||
| 166 | |||
| 167 | ~1. Right click anywhere in the code editor panel in the right of the Window. Select "Run". | ||
| 168 | |||
| 169 | [[image:image-20220724191545-8.png]] | ||
| 170 | |||
| 171 | Congratulations you have run your script: | ||
| 172 | |||
| 173 | [[image:image-20220724191622-10.png]] |