-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Curació Dades CSUC edited this page Mar 12, 2024
·
1 revision
Google Colab and Jupyter Notebook are popular platforms for running Python code interactively in a web browser. This wiki page provides instructions on how to use Python with both platforms, including setting up environments, running code cells, and utilizing various features.
Accessing Google Colab:
- Navigate to Google Colab in your web browser: https://colab.research.google.com/.
- Sign in to your Google account if prompted.
Creating a New Notebook:
- Click on "New notebook" to create a new Python notebook.
- You can also upload existing notebooks from your local machine.
Running Code Cells:
- Write or paste your Python code into a code cell.
- Click the "play" button or press Shift+Enter to execute the code cell.
- Output will be displayed below the code cell.
Installing Packages:
- Use the
!pip installcommand to install Python packages.