Curso Python #05 - Instalando o PyCharm e o QPython3
Table of Contents
Introduction
In this tutorial, you will learn how to install and configure the Python Integrated Development Environment (IDE) called PyCharm on various operating systems, including Windows, MacOS, and Linux. Additionally, we will guide you through the process of programming in Python on your Android device using QPython3. This tutorial is essential for anyone looking to start programming in Python and seeking a suitable development environment.
Step 1: Understanding Python Programming Environments
Before diving into installations, it's important to know where you can program in Python:
- Local IDEs (e.g., PyCharm, Visual Studio Code)
- Online interpreters (e.g., Repl.it, Google Colab)
- Mobile apps (e.g., QPython3 for Android)
Step 2: Installing PyCharm on Windows
-
Download PyCharm
- Visit the official JetBrains website and download the latest version of PyCharm for Windows.
-
Run the Installer
- Locate the downloaded
.exe
file and double-click to run it.
- Locate the downloaded
-
Follow Installation Wizard
- Click "Next" to proceed through the installation steps.
- Choose the installation path and select any optional features you want to include.
- Click "Install" to begin the installation process.
-
Complete Installation
- Once installation is finished, click "Finish" to exit the wizard.
- Launch PyCharm and configure it as per your preference.
Step 3: Installing PyCharm on MacOS
-
Download PyCharm
- Go to the JetBrains website and download the MacOS version of PyCharm.
-
Open the Installer
- Open the downloaded
.dmg
file and drag the PyCharm icon into the Applications folder.
- Open the downloaded
-
Launch PyCharm
- Go to the Applications folder and double-click on PyCharm to launch it.
- Follow the initial setup instructions to configure the IDE.
Step 4: Installing PyCharm on Linux
-
Download PyCharm
- Visit the JetBrains website and download the Linux version of PyCharm.
-
Extract the Tarball
- Open a terminal and navigate to the directory where the file was downloaded.
- Run the command:
tar -xzf pycharm-*.tar.gz
-
Move to Installation Directory
- Move the extracted folder to
/opt
for easier access:sudo mv pycharm-* /opt/pycharm
- Move the extracted folder to
-
Launch PyCharm
- Navigate to the
bin
directory:cd /opt/pycharm/bin
- Run the launcher script:
./pycharm.sh
- Navigate to the
Step 5: Installing QPython3 on Android
-
Open Google Play Store
- On your Android device, open the Google Play Store.
-
Search for QPython3
- Type "QPython3" in the search bar and select the app from the results.
-
Install QPython3
- Tap on "Install" and wait for the app to download and install on your device.
-
Launch QPython3
- Once installed, open QPython3 and start programming in Python directly on your Android device.
Conclusion
In this tutorial, you learned how to install PyCharm on Windows, MacOS, and Linux, as well as how to set up QPython3 on Android for Python programming. By setting up these environments, you are now ready to start coding in Python. Consider exploring additional resources or courses to further enhance your skills in Python programming. Happy coding!