GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pycam/python-basic: Python3 teaching materials for basic introduction to Python (2 days)

BranchesTags
Open more actions menu

Latest commit

 

History

183 Commits
183 Commits

Folders and files

NameName
Last commit message
Last commit date
data
data
 
 
img
img
 
 
install
install
 
 
live
live
 
 
scripts
scripts
 
 
solutions
solutions
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
feedback.md
feedback.md
 
 
planning.md
planning.md
 
 
python_basic_1_1.ipynb
python_basic_1_1.ipynb
 
 
python_basic_1_2.ipynb
python_basic_1_2.ipynb
 
 
python_basic_1_3.ipynb
python_basic_1_3.ipynb
 
 
python_basic_1_4.ipynb
python_basic_1_4.ipynb
 
 
python_basic_1_intro.ipynb
python_basic_1_intro.ipynb
 
 
python_basic_2_1.ipynb
python_basic_2_1.ipynb
 
 
python_basic_2_2.ipynb
python_basic_2_2.ipynb
 
 
python_basic_2_3.ipynb
python_basic_2_3.ipynb
 
 
python_basic_2_4.ipynb
python_basic_2_4.ipynb
 
 
python_basic_2_intro.ipynb
python_basic_2_intro.ipynb
 
 

Repository files navigation

An introduction to solving biological problems with Python - course materials

Materials for the course run by the Graduate School of Life Sciences, University of Cambridge.

  • Course website: http://pycam.github.io/
  • Booking website: http://www.training.cam.ac.uk/

If you wish to run the course on your personal computer, here are the steps to follow to get up and running.

Clone this github project

git clone https://github.com/pycam/python-basic.git
cd python-basic

Dependencies

Install Python 3 by downloading the latest version from https://www.python.org/.

Python 2.x is legacy, Python 3.x is the present and future of the language.

Create first a virtual environment using the venv library. Update pip if needed, install jupyter and RISE to get a slideshow extension into jupyter.

Note A virtual environment is a Python environment such that the Python interpreter, libraries and scripts installed into it are isolated from those installed in other virtual environments.

python3 -m venv venv
# activate your virtual environment
source venv/bin/activate
# update pip if needed
pip install --upgrade pip
# install jupyter
pip install jupyter

# slideshow extension
pip install rise
jupyter-nbextension install rise --py --sys-prefix
jupyter nbextension enable rise --py --sys-prefix

Usage

Go to the directory where you've cloned this repository, activate your virtual environment and run jupyter.

Your web browser should automatically open with this url http://localhost:8888/tree where you see the directory tree of the course with all the jupyter notebooks.

cd python-basic
source venv/bin/activate
jupyter notebook

To shutdown jupyter, type ctrl-C into the terminal you've ran jupyter notebook, answer y and press enter.

You may wish to deactivate the virtual environment, by entering into the terminal:

deactivate

About

Python3 teaching materials for basic introduction to Python (2 days)

pycam.github.io/

Topics

jupyterpythontraining-materials

Resources

Readme
Unlicense
Activity
Custom properties

Stars

45 stars

Watchers

11 watching

Forks

54 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.