๐ Guide for Reading Materials#
In this course we will be using a variety of open-source tools and resources. Here is a guide to help you navigate through the use of materials.
Note
Open-source materials are free to use and share. They are often created by a community of contributors and are available for anyone to use. Generally, open-source materials are licensed under a non-restrictive license, such as the Creative Commons license. This allows for the materials to be shared and modified by others, with minimal restrictions. Restrictions may include attribution (giving credit to the original creator), share-alike (requiring that any modifications are shared under the same license), or non-commercial (restricting the use of the materials for commercial purposes). Generally, liability is disclaimed by the creator of the materials.
Course Materials and Resources#
All reading materials, lecture materials, and assignments are available as a JupyterBook on the course website. The JupyterBook is an open-source tool that allows for the creation of interactive textbooks. The Jupyterbook is available at the following ENGR131 Winter 2025.
You can read and access the materials directly from the website. The JupyterBook is organized into chapters, sections, and subsections. You can navigate through the materials by clicking on the links in the table of contents or by using the search bar. This will search throughout the entire book for the keyword you are looking for.
The jupyterbook contains code cells that are executed by default and rendered when built.
Running Course Materials#
Jupyter, JupyterLab, and Jupyter Notebooks#
JupyterLab, and Jupyter notebooks are a common framework for coding used in industry and academia. They are used for data analysis, machine learning, scientific computing, and more. JupyterLab is a powerful tool that allows for the creation of interactive notebooks that combine code, text, and visualizations.
For this course we will be using JupyterLab. JupyterLab is an open-source tool that allows for the creation of interactive notebooks. JupyterLab is available as a web-based tool that can be run on your local machine or on a remote server. You can run JupyterLab on your local machine by installing the Anaconda distribution of Python. You can also run JupyterLab on a remote server by using a cloud-based service, such as Google Colab or Binder.
Coding Platform#
For this course we will be using a custom cloud hosted JupyterLab environment. This environment is hosted on a remote server and can be accessed from any device with an internet connection. The environment is pre-configured with all the necessary software and libraries for the course. You can access the environment by clicking on the link. You will need to login with your Drexel credentials to access the environment.
Note
We know some of you might be seasoned pros, familiar with the extra bells and whistles of local Python setups and fancy IDEs like PyCharm, Visual Studio Code, or Jupyter Notebooks. But with great power comes great responsibilityโand potential headaches. To keep things smooth and ensure everyone has the same gear, weโre sticking with the cloud-hosted JupyterLab. Itโs like having a roadie to handle all the tech stuff, so you can focus on your coding performance.
If youโre keen to explore these tools further, we encourage you to do so on your own time or in a more advanced programming class.
Completing Assignments#
All assignments will will be posted on the JupyterBook. You can navigate to the assignments by clicking on the assignments link in the table of contents. The assignments will be in the form of Jupyter notebooks. You can complete the assignments by opening the Jupyter notebook in the JupyterLab environment and following the instructions in the notebook. This is most simply done by clicking the rocketship icon on the top right of the page and selected JupyterLab.
Navigate to the course website jupyterbook
In the upper right corner, click on the rocket icon to launch JupyterHub.
You will be presented with a login page.
Select allow globus to use your identity. you likely will not have to do this step again. unless you are using a different browser or device.
You will be redirected to the Drexel login page. Enter your Drexel credentials.
You will be presented with an option to select a environment. Select
ENGR_131
.
This next step might take a minute or two, it is configuring your computing environment.
You will be presented with the JupyterLab interface.
If you clicked the rocketship icon the jupyter notebook file should automatically open.
Note
When you click the link to the assignment it will use github
to pull the assignment into JupyterLab. Git, a version control system, is a powerful tool that allows for the tracking of changes to files. Git is used to track changes to the assignment files and to submit the assignments. You can learn more about Git and version control in the Git Handbook. GitHub is a web-based platform that allows for the hosting of Git repositories. You can learn more about GitHub in the GitHub Handbook.
You can run the code cells in the notebook by clicking on the run button or by pressing shift+enter
.
Trying this notebook#
You can try this notebook in the JupyterHub environment by clicking the rocketship icon in the top right corner of the page.
Press shift+enter
to run the code cell below. If you see the output ENGR131
then you have successfully run the code cell.
print(
"""
,--. .--,-``-.
,---,. ,--.'| ,----.. ,-.----. ,---, / / '. ,---,
,' .' | ,--,: : | / / \ \ / \ ,`--.' |/ ../ ; ,`--.' |
,---.' |,`--.'`| ' :| : : ; : \ / / :\ ``\ .`- ' / / :
| | .'| : : | |. | ;. / | | .\ :: |.' ' \___\/ \ :: |.' '
: : |-,: | \ | :. ; /--` . : |: |`----': | \ : |`----': |
: | ;/|| : ' '; |; | ; __ | | \ : ' ' ; / / / ' ' ;
| : .'' ' ;. ;| : |.' .'| : . / | | | \ \ \ | | |
| | |-,| | | \ |. | '_.' :; | | \ ' : ; ___ / : | ' : ;
' : ;/|' : | ; .'' ; : \ || | ;\ \ | | ' / /\ / : | | '
| | \| | '`--' ' | '/ .': ' | \.' ' : |/ ,,/ ',- . ' : |
| : .'' : | | : / : : :-' ; |.'\ ''\ ; ; |.'
| | ,' ; |.' \ \ .' | |.' '---' \ \ .' '---'
`----' '---' `---` `---' `--`-,,-'
"""
)
,--. .--,-``-.
,---,. ,--.'| ,----.. ,-.----. ,---, / / '. ,---,
,' .' | ,--,: : | / / \ \ / \ ,`--.' |/ ../ ; ,`--.' |
,---.' |,`--.'`| ' :| : : ; : \ / / :\ ``\ .`- ' / / :
| | .'| : : | |. | ;. / | | .\ :: |.' ' \___\/ \ :: |.' '
: : |-,: | \ | :. ; /--` . : |: |`----': | \ : |`----': |
: | ;/|| : ' '; |; | ; __ | | \ : ' ' ; / / / ' ' ;
| : .'' ' ;. ;| : |.' .'| : . / | | | \ \ \ | | |
| | |-,| | | \ |. | '_.' :; | | \ ' : ; ___ / : | ' : ;
' : ;/|' : | ; .'' ; : \ || | ;\ \ | | ' / /\ / : | | '
| | \| | '`--' ' | '/ .': ' | \.' ' : |/ ,,/ ',- . ' : |
| : .'' : | | : / : : :-' ; |.'\ ''\ ; ; |.'
| | ,' ; |.' \ \ .' | |.' '---' \ \ .' '---'
`----' '---' `---` `---' `--`-,,-'
Accessing the Raw Source Code#
You can access the raw source code for this notebook by clicking the OctoCat icon in the top-right corner of the page. This will link to the GitHub repository for the course materials.