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 - denisecase/IntroToPython: Files associated with our book Intro to Python for Computer Science and Data Science

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

38 Commits
38 Commits

Folders and files

NameName
Last commit message
Last commit date
images
images
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
.yamllint.yml
.yamllint.yml
 
 
ANNOTATIONS.md
ANNOTATIONS.md
 
 
CITATION.cff
CITATION.cff
 
 
LICENSE
LICENSE
 
 
NOTICE.md
NOTICE.md
 
 
README.md
README.md
 
 
SE_MANIFEST.toml
SE_MANIFEST.toml
 
 
UPSTREAM.md
UPSTREAM.md
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

IntroToPython

Developer tooling for IntroToPython

This repository does NOT redistribute example files from the Deitel/Pearson book. Students must obtain the book and its accompanying materials separately.

Note: Due to evolving software and incomplete snippets, not all code will run without additional work. This repo is used to make much of the code runnable or inspectable in VS Code.

Recommended Installations

  • git
  • Python
  • VS Code (and extensions)

Developer

This repository provides a professional working environment; the book examples are added locally.

1. Clone this repo

git clone https://github.com/denisecase/IntroToPython
cd IntroToPython
code .

2. Obtain the textbook example files

  • See the official Deitel repository at https://github.com/pdeitel/IntroToPython.
  • Copy the book's examples/ folder into this repository.
  • Ensure examples/ is parallel to the images/ folder (both in root).

3. Install uv

  • See Step 3: Install Tools for instructions by operating system.

4. Initialize (Just Once)

Use VS Code menu option Terminal / New Terminal to open a VS Code terminal in the root project folder. Run the following commands, one at a time, hitting ENTER after each:

uv self update
uv python pin 3.14
uv sync --extra dev --extra docs --upgrade

# the audio features require additional installs
# start by adding the [audio] packages listed in pyproject.toml:
uv sync --extra dev --extra docs --extra audio --upgrade

If asked: "We noticed a new environment has been created. Do you want to select it for the workspace folder?" Click "Yes".

If successful, you'll see a new .venv folder appear in the root project folder.

5. Run Individual Examples

If you see something like this, click "Install".

Popup

Run a file (e.g., the Roll Die Dynamic simulation):

uv run python examples\ch01\RollDieDynamic.py 100 1

If a window pops up, close the window (or if needed, delete the terminal) to continue.

Open Notebooks and Click Run All. Select the kernel associated with this repo .venv.

6. Save Progress (As Needed)

If you update your copy of the examples, you might want to save progress.

git add -A
git commit -m "update"
git push -u origin main

Citation

This repository does not redistribute textbook example files. If you add the Deitel/Pearson examples locally, please respect the book's copyright and do not publish or redistribute those files.

CITATION.cff

License

MIT

Notice

NOTICE.md

UPSTREAM

UPSTREAM.md

Annotations

Annotations.md

SE MANIFEST

SE_MANIFEST.toml

About

Files associated with our book Intro to Python for Computer Science and Data Science

Resources

Readme
License
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

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.