Outils logiciels pour les cours Paris II

Cours Paris II

Stages/ Thèses

edit SideBar

Colab

Google Colab or "the Colaboratory" is a free Python environment in the cloud.

Getting Started

To start working with Colab, you first need to log into your google account, then go to this link https://colab.research.google.com

Somes notebooks are available on Github https://github.com/GuillaumeVIMONT/TD_UP2_new

Link with Google drive

After you open a Notebook, save it in your drive: "Enregistrer dans Google drive".

You can see your files in the directory 'Colab Notebooks'.

To see your "drive" files in colab, you need to "mount" the drive.

How to use a TD notebook

Step 1

Open a Python Notebook :


Figure 1

Step 2

Initial Setup :

  • Run "Setup" below first.
    • This will load libraries and download some resources that we'll use throughout the tutorial.
    • You will see a message reading "Done with setup!" when this process completes.

Figure 2

Step 3

To run the Python script step by step, you need to execute cells as follow =>


Figure 3

Step 4

To download data, you must do this =>


Figure 4

After running this program, you can run gephi to play with the network graph. For more informations about Gephi, please read this page http://www.up2.fr/index.php?n=Main.Gephi

FAQ

How can i see all the code ?


Figure 5
UP2