Skip to content

Commit

Permalink
Merge branch 'main' of github.com:rambasnet/Python-Fundamentals
Browse files Browse the repository at this point in the history
  • Loading branch information
rambasnet committed Aug 22, 2024
2 parents 1824eb0 + 9f29d25 commit 1991f91
Show file tree
Hide file tree
Showing 44 changed files with 20 additions and 34 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ See [paper.md](paper.md) file for statement of need.

## Notebook mapping with corresponding book chapter

Note: If book chapter is missing, texbook doesn't provide one on the topic
Note: If book chapter is missing, texbook doesn't provide one on the topic; all the notebooks are in **notebooks** folder

| Notebook -> | Think Python3 Textbook |
| --------- | ---------- |
Expand Down Expand Up @@ -48,7 +48,12 @@ Note: If book chapter is missing, texbook doesn't provide one on the topic

## PDF Format

- pdf version of all the notebooks can be found in [pdfs](https://github.com/rambasnet/Python-Notebooks/tree/master/pdfs) folder
- pdf version of all the notebooks can be generated using the following script from a Terminal on Linux system
- PDF file for each notebook file will be generated and stored in ./pdfs folder

```bash
bash generatepdfs.sh
```

## Who can use these notebooks

Expand Down Expand Up @@ -118,3 +123,4 @@ Contributions are accepted via pull requests. You can also open issues on bugs,
© 2019 Ram Basnet and T. Doleck. Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation. See LICENSE file for details.

File renamed without changes.
12 changes: 12 additions & 0 deletions generatepdfs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /bin/bash

# Script to convert jupyter notebooks to PDF files. The pdfs are saved in ./pdfs folder

sudo apt update
sudo apt install -y pandoc texlive texlive-xetex > /dev/null

files=$(find . -name '*.ipynb')
for f in $files; do
echo Converting: $f
jupyter nbconvert --log-level=0 --output-dir='./pdfs' --to pdf $f > /dev/null
done
10 changes: 0 additions & 10 deletions integers.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file removed test
Empty file.
7 changes: 0 additions & 7 deletions test1.txt

This file was deleted.

8 changes: 0 additions & 8 deletions words.txt

This file was deleted.

7 changes: 0 additions & 7 deletions words1.txt

This file was deleted.

0 comments on commit 1991f91

Please sign in to comment.