Title: Theory / Important / CS / Programming / Python / Colab
Tags: seen_description automatedNewLineAfterCommaSpace

Name: Colab
Definition: Jupyter in google drive
Page: https://www.youtube.com/watch?v=inN8seMm7UI
https://colab.research.google.com/notebooks/welcome.ipynb?hl=fr
Etymology: Colabotary

Instruction: !foo
Page: https://www.youtube.com/watch?v=inN8seMm7UI
Effect: Run the command foo
Context: Colab

Name: Notebook
Definition: A list of cells
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Context: Colab

Name: Cell
Definition: Explanatory text
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Context: Colab
Definition2: Executable code and its output
Conjdef: Either

Instruction: ctrl+Enter
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Effect: Run the cell in place
Language: Colab
Context: cell

Instruction: shift+Enter
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Effect: Run the cell and move focus to next cell (creating it if required)
Language: Colab
Context: cell

Instruction: Alt+Enter
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Effect: Run the cell and add create a cell immediately below
Language: Colab
Context: cell

Instruction: double click
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Effect: Edit the cell
Context: Colab cell

Instruction: Ctrl-M i
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Effect: Interupt execution
Language: Colab
Context: cell

Instruction: Ctrl-shift-m
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Effect: Add a comment
Language: Colab
Context: cell

Name: Form
Definition: A way to easily let user choose variable value by using form
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Context: Colab

Instruction: #@title foo
Page: https://colab.research.google.com/notebooks/basic_features_overview.ipynb
Effect: Show a title foo
Language: Colab

Instruction: var = val #@param foo
Page: https://colab.research.google.com/notebooks/forms.ipynb
Effect: Add an element to this cell's form, with possible values as described by foo, default val, for variable var
Language: Colab

Instruction: double click
Page: https://colab.research.google.com/notebooks/forms.ipynb
Effect: open/close the code of the form
Context: Colab form

Name: Widget
Definition: A place where data can be shown and edited, displayed in colab
Page: https://colab.research.google.com/notebooks/forms.ipynb
Context: Colab

Instruction: Grid(
  n,
  m
)
Page: https://colab.research.google.com/notebooks/forms.ipynb
Effect: Show this grid here
Language: Colab
Context: Widget
Returns: A grid widget of size n, m

Instruction: TabBar([t_1, ..., t_n])
Page: https://colab.research.google.com/notebooks/forms.ipynb
Effect: Show this widget here
Language: Colab
Context: Widget
Returns: A widget which contains n tabs, with titles t_i

Instruction: with w.select_something():
   foo
Page: https://colab.research.google.com/notebooks/forms.ipynb
Effect: All actions of foo will occur in the selected element of w
Language: Colab
Context: Widget
Variables: w a widget

Instruction: for (
  row,
  col
) in grid:
  foo
Page: https://colab.research.google.com/notebooks/forms.ipynb
Effect: Iterate over each element of the grid, execute foo in it, with variables row and col indicating the grid position
Language: Colab
Context: Widget
Variables: grid a grid

Instruction: Ctrl+M B
Effect: Add a code cell
Context: Colab

Name: A cell
Definition: Either a code cell or a text cell
Context: Colab

Name: A text cell
Definition: A cell containing only text, and potentially some formatting
Context: Colab

Name: A code cell
Definition: A cell containing some python code, that can be executed
Context: Colab