Python Libraries for Beginners – Standard vs Third-Party and pip Basics

Banner image for a blog post on Python libraries, covering standard vs third-party libraries and installing/uninstalling packages as per B.Pharma syllabus Unit I

Installation, Uninstallation and File-Path Management in Jupyter Notebook

Beginner-Friendly Notes, Worked Examples and Practice Questions for B.Pharm Students

Learning sequence
Understand -> Choose -> Install -> Import -> Use -> Verify -> Save
Educational note: All medicine, laboratory and quality-control values are simulated only for programming practice. They are not clinical instructions or official product specifications.

Learning Outcomes

  • Define module, package, library, standard library, third-party package and dependency.
  • Differentiate between standard-library modules and third-party libraries.
  • Select an appropriate library for a basic pharmacy-data task.
  • Install, update, inspect and uninstall packages from a Jupyter Notebook.
  • Explain why %pip is safer than !pip inside a notebook.
  • Check the Python interpreter, installed-package location and package version.
  • Find and change the kernel working directory.
  • Create project, data and output folders with pathlib.
  • Save CSV, Excel and chart files to an explicit project folder.
  • Recognize common installation, import and path errors.

1. Key Definitions

TermSimple definition
ModuleA single Python file containing reusable variables, functions or classes. Example: the standard-library module math.
PackageA collection of related Python modules arranged in folders. A package can contain subpackages.
LibraryA broad collection of reusable code for a purpose. In everyday teaching, library and package are often used informally as similar words.
Standard libraryModules and packages distributed with Python. They normally require import, but not a separate pip installation.
Third-party libraryReusable code developed outside the Python core project. It is installed separately, commonly from PyPI with pip or from conda channels.
DependencyAnother package required by a package. For example, pandas depends on NumPy.
Distribution packageThe name installed by pip or conda. It may differ from the import name; scikit-learn is installed but sklearn is imported.
ImportThe instruction that loads a module or package into the current Python program or Jupyter kernel.
KernelThe Python process that executes notebook code and keeps variables and imports in memory.

1.1 The Most Important Difference

PointStandard libraryThird-party library
SourceSupplied with PythonDeveloped and distributed separately
InstallationNormally no separate installationInstall using pip or conda
UseImport and call its functionsInstall once, then import and use
Examplesmath, statistics, datetime, pathlibNumPy, pandas, Matplotlib, SciPy
UpdatesUsually follow the Python installationCan be updated independently
Package indexDocumented in Python docsOften published on PyPI or conda channels

Remember: import math is correct. %pip install math is unnecessary and normally wrong because math belongs to the Python standard library.

1.2 Installation Name Can Differ from Import Name

Install command nameImport statementMeaning
scikit-learnimport sklearnMachine-learning tools
opencv-pythonimport cv2Computer-vision tools
Pillowfrom PIL import ImageImage-processing tools
beautifulsoup4from bs4 import BeautifulSoupHTML parsing tools

Figure 1. Standard-library modules skip installation; third-party packages do not.

2. Python Standard Library

Python’s standard library provides reusable solutions for many everyday programming tasks, including mathematics, dates, files, folders, text processing, data formats and databases. These modules are available with a normal Python installation, although some may depend on the operating system.

2.1 Why We Use Standard-Library Modules

  • They save time because common functions are already written and tested.
  • They avoid unnecessary package installation for simple tasks.
  • They make programs shorter, clearer and easier to maintain.
  • They are documented on the official Python website.

2.2 Useful Standard-Library Modules for B.Pharm Exercises

ModuleMain purposeSimple pharmacy/laboratory use
mathMathematical functions and constantsRound the required number of boxes upward with math.ceil
statisticsMean, median, mode and spreadSummarize simulated tablet weights
datetimeDates, times and time differencesCalculate days between two educational dates
randomPseudo-random simulationGenerate reproducible simulated observations
pathlibModern file and folder pathsCreate data, output and chart folders
osOperating-system and directory operationsCheck or change the working directory
csvRead and write comma-separated filesStore a small batch table
jsonRead and write structured JSON dataSave settings or a simple product record
rePattern matching with regular expressionsCheck a simulated batch-code format
decimalControlled decimal arithmeticDemonstrate exact decimal calculations
sqlite3Small local relational databaseStore classroom inventory records
loggingRecord program eventsCreate a learning audit trail for a script

2.3 Common Import Styles

Import patterns

# Import the complete module
import math
print(math.ceil(12.2))

# Import one required function
from statistics import mean
print(mean([10, 12, 14]))

# Import a third-party package using a standard alias
import pandas as pd

Good practice: Import only what the program needs, place imports near the beginning of the notebook, and use familiar aliases such as np for NumPy, pd for pandas and plt for matplotlib.pyplot.

3. Third-Party Libraries

A third-party library is not part of Python’s core distribution. It must be installed in the environment used by the Jupyter kernel before it can be imported. Python’s official package index is PyPI, while conda can obtain packages from configured conda channels.

3.1 Why and Where They Are Used

  • Large numerical calculations: arrays, matrices and vectorized operations.
  • Data analysis: read, clean, filter, group and summarize tables.
  • Visualization: create line charts, bar charts, histograms and box plots.
  • Statistics: distributions, tests, regression and model diagnostics.
  • Machine learning: preprocessing, training, prediction and evaluation.
  • File exchange: read or write Excel workbooks and other specialist formats.

3.2 Important Libraries for the B.Pharm Python Course

Install nameImportUsed forExample educational use
numpyimport numpy as npFast numerical arrays and calculationsSimulated measurement arrays
pandasimport pandas as pdTables, CSV/Excel and data cleaningBatch-wise data table
matplotlibimport matplotlib.pyplot as pltStatic and interactive plotsTrend or comparison chart
seabornimport seaborn as snsHigh-level statistical graphicsDistribution plot
scipyfrom scipy import statsScientific and statistical functionsDescriptive statistics
statsmodelsimport statsmodels.api as smStatistical models and diagnosticsEducational regression
scikit-learnimport sklearnMachine learning workflowsTraining/testing demonstration
openpyxlimport openpyxlRead and write modern Excel filesExport a classroom workbook
jupyterlabNo normal importJupyterLab applicationInteractive notebooks
ipykernelNo normal importConnect a Python environment to JupyterSelect a project kernel

3.3 Which Library Should I Choose?

If the task is…Start with…Reason
Simple mathematicsmathAlready in the standard library
Mean of a short Python liststatisticsSimple and no installation
Many numerical valuesNumPyEfficient array calculations
Rows and columnspandasDataFrame behaves like a data table
Basic chartMatplotlibFlexible plotting foundation
Statistical distribution plotSeabornHigh-level statistical graphics
Statistical function or testSciPyLarge collection in scipy.stats
Regression with detailed outputstatsmodelsStatistical model summaries
Prediction or classificationscikit-learnConsistent machine-learning workflow
Create an .xlsx fileopenpyxl or pandasWorkbook control or table export

4. Installing, Updating and Uninstalling Libraries

Best beginner choice in Jupyter: Use %pip rather than !pip. IPython’s %pip magic runs pip in the current kernel environment, reducing the chance of installing into a different Python environment.

4.1 One-Time Course Package Installation

Recommended pip command in Jupyter Notebook

# Run in ONE Jupyter code cell.
# Install only the package set needed for this course.
%pip install numpy pandas matplotlib seaborn scipy statsmodels scikit-learn openpyxl

Conda alternative inside Jupyter Notebook

# If the active Jupyter kernel is a conda environment,
# this is the equivalent conda-based course installation.
%conda install numpy pandas matplotlib seaborn scipy statsmodels scikit-learn openpyxl -y

Do not run both: Choose one main package manager for an environment. For an Anaconda environment, prefer conda for packages available there; use pip only when needed. Restart the kernel after installation if an import still fails.

4.2 Important pip Commands in Jupyter

PurposeJupyter commandMeaning
Install%pip install pandasInstall the latest compatible pandas
Install several%pip install numpy pandas matplotlibInstall a selected group
Upgrade%pip install –upgrade pandasUpdate pandas
Specific version%pip install pandas==3.0.5Install an exact version when required
Minimum version%pip install ‘pandas>=3.0’Require at least a stated version
Uninstall%pip uninstall -y pandasRemove pandas without a confirmation prompt
List%pip listShow installed distributions and versions
Details%pip show pandasShow version, location and dependencies
Outdated%pip list –outdatedShow packages with newer releases
Dependency health%pip checkReport broken or incompatible requirements
Record environment%pip freezePrint exact installed versions
Export versions!{sys.executable} -m pip freeze > requirements.txtSave exact versions in the working directory; import sys first
Install from file%pip install -r requirements.txtRecreate packages listed in a file

Create requirements.txt in Jupyter Notebook

# Save the active kernel’s exact package versions to a file.
import sys
from pathlib import Path

!{sys.executable} -m pip freeze > requirements.txt

print(“Saved package list:”, (Path.cwd() / “requirements.txt”).resolve())

4.3 Important conda Commands

PurposeJupyter or Anaconda Prompt commandMeaning
Install%conda install pandas -yInstall into the active conda environment
Update%conda update pandas -yUpdate one package
Remove%conda remove pandas -yRemove one package
List packages%conda listShow packages in the active environment
List environmentsconda env listShow all conda environments; use in Anaconda Prompt
Create environmentconda create -n bpharm_python python jupyterlab notebook ipykernel -yCreate an isolated teaching environment
Activateconda activate bpharm_pythonSwitch to the teaching environment
Deactivateconda deactivateLeave the current conda environment

4.4 Safe Uninstallation Procedure

  1. Confirm the active kernel and environment before removing anything.
  2. Check the package with %pip show package_name or %conda list.
  3. Remove only the intended package with %pip uninstall package_name or %conda remove package_name.
  4. Restart the Jupyter kernel.
  5. Run %pip check or re-import important packages to detect a broken dependency.

Caution: Avoid casually uninstalling packages from Anaconda’s base environment. A separate project environment is easier to repair and prevents one class project from disturbing another.

4.5 Optional: Create a Dedicated B.Pharm Environment

Anaconda Prompt commands

# Run these commands in Anaconda Prompt, not inside a normal Python cell.
conda create -n bpharm_python python jupyterlab notebook ipykernel -y
conda activate bpharm_python
conda install numpy pandas matplotlib seaborn scipy statsmodels scikit-learn openpyxl -y
python -m ipykernel install –user –name bpharm_python –display-name “Python (BPharm)”
jupyter notebook

After Jupyter opens, select the kernel named Python (BPharm). Each environment has its own Python interpreter and installed third-party packages, while sharing Python’s standard library with its base installation.

5. Important Commands in Jupyter Notebook

Commands beginning with % are IPython line magics. Commands beginning with ! run a system shell command. Python statements such as Path.cwd() run normally in the kernel.

5.1 Package and Environment Commands

CommandUse
%pip install packageInstall a package into the current kernel environment
%pip uninstall packageRemove a package
%pip show packageShow version, dependencies and installation location
%pip listList installed packages
%pip checkCheck dependency consistency
%conda install packageInstall with conda in a conda kernel
%conda listList packages in a conda environment
import sys; print(sys.executable)Show the Python interpreter used by the kernel
import sys; print(*sys.path, sep=’\n’)Show locations searched during import
import package; print(package.__file__)Show the imported package’s source location

5.2 Working, Navigation and Help Commands

CommandUse
%pwdPrint the kernel working directory
%cd pathChange the kernel working directory
%lsList files and folders in the working directory
%mkdir folder_nameCreate a folder from the shell; pathlib is more portable in Python code
%whoList interactive variables
%whosShow variables with type and summary information
%historyDisplay previously entered commands
%time expressionMeasure one execution
%timeit expressionMeasure repeated executions
%run filename.pyRun a Python script
%matplotlib inlineDisplay Matplotlib figures inside classic notebook output
function_name?Show short help and signature
function_name??Show more detail and source when available
%reset -fDelete user-created variables from the kernel; use carefully

Important distinction: Use %pip for notebook package installation. !pip may call a different pip executable from the one connected to the current kernel. A reliable fallback is !{sys.executable} -m pip install package_name after importing sys.

5.3 Checking Versions and Installation Paths

Inspection commands

# Show the Python interpreter used by the current kernel
import sys
print(“Python interpreter:”, sys.executable)

# Show a package version without depending on package.__version__
from importlib.metadata import version
print(“pandas version:”, version(“pandas”))

# Show the location of the imported package
import pandas as pd
print(“pandas file:”, pd.__file__)

# Show site-package folders
import site
print(“Package folders:”, site.getsitepackages())

The exact paths and version numbers differ between computers. The important check is that the interpreter path, pip installation location and imported package path belong to the same intended environment.

6. File Paths and Saving Files in Jupyter

A path tells Python where a file or folder is located. A relative path begins from the kernel’s current working directory. An absolute path identifies the complete location, such as D:\BPharm_Python\outputs on Windows.

Figure 2. Jupyter server root, notebook location and kernel working directory are related but not identical.

6.1 Check Where Relative Files Will Be Saved

Path check

from pathlib import Path

# The current working directory is the starting point for relative paths.
current_folder = Path.cwd()
print(“Current working directory:”, current_folder)

# Show the absolute path that a relative filename would use.
future_file = (current_folder / “results.csv”).resolve()
print(“results.csv will be saved as:”, future_file)

Sample Windows output (your path will differ)

Current working directory: D:\BPharm_Python
results.csv will be saved as: D:\BPharm_Python\results.csv

6.2 Recommended Project-Folder Structure

Suggested folder arrangement

BPharm_Python/
|– notebooks/        # .ipynb files
|– data/             # input CSV or Excel files
|– outputs/          # result tables
|– charts/           # saved figures
|– requirements.txt  # optional package list
`– notes/            # supporting notes

Keeping input data, output tables and charts in separate folders prevents accidental overwriting and makes the project easier to explain, back up and share.

6.3 Create and Use Project Folders Safely

Recommended cross-platform setup

from pathlib import Path

# Create the main folder inside the current user’s Documents folder.
PROJECT_DIR = Path.home() / “Documents” / “BPharm_Python”
DATA_DIR = PROJECT_DIR / “data”
OUTPUT_DIR = PROJECT_DIR / “outputs”
CHART_DIR = PROJECT_DIR / “charts”

# parents=True creates missing parent folders.
# exist_ok=True avoids an error if a folder already exists.
for folder in (PROJECT_DIR, DATA_DIR, OUTPUT_DIR, CHART_DIR):
    folder.mkdir(parents=True, exist_ok=True)

print(“Project folder:”, PROJECT_DIR.resolve())
print(“Output folder:”, OUTPUT_DIR.resolve())

Most reliable method: Save every file using an explicit Path object, for example OUTPUT_DIR / ‘summary.csv’. This is safer than depending only on the current working directory.

6.4 Change the Kernel Working Directory

Python method

from pathlib import Path
import os

project_folder = Path.home() / “Documents” / “BPharm_Python”
project_folder.mkdir(parents=True, exist_ok=True)

# Change the working directory for the current kernel session.
os.chdir(project_folder)
print(Path.cwd())

Jupyter magic method

# IPython magic alternative
%cd “D:\BPharm_Python”
%pwd

Windows path rule: Use a raw string such as r’D:\BPharm_Python’ or use forward slashes such as ‘D:/BPharm_Python’. This prevents backslash sequences such as \n from being interpreted as special characters.

6.5 Make a Folder the Jupyter Browser Root

The simplest method is to open Anaconda Prompt, change to the desired folder and then start Jupyter. Notebook 7 uses Jupyter Server; its root_dir setting controls the top folder visible in the Jupyter file browser.

Start Jupyter in the desired root folder

# Windows Anaconda Prompt
cd /d “D:\BPharm_Python”
jupyter notebook

# Direct current Jupyter Server option
jupyter notebook –ServerApp.root_dir=”D:\BPharm_Python”

For a permanent configuration, first run jupyter server –generate-config. Then edit the generated jupyter_server_config.py file and set c.ServerApp.root_dir = r’D:\BPharm_Python’. Make a backup of the configuration file before editing it.

Notebook-file warning: Changing Path.cwd(), os.chdir() or %cd changes where relative data files are read and written. It does not move the open .ipynb notebook. Create or move the notebook through the Jupyter file browser and press Ctrl+S to save it there.

6.6 File-Saving Examples

File typeCommand using an explicit output path
Text(OUTPUT_DIR / ‘note.txt’).write_text(‘Completed’, encoding=’utf-8′)
CSV with pandasdf.to_csv(OUTPUT_DIR / ‘summary.csv’, index=False)
Excel with pandasdf.to_excel(OUTPUT_DIR / ‘summary.xlsx’, index=False)
Matplotlib chartplt.savefig(CHART_DIR / ‘trend.png’, dpi=200, bbox_inches=’tight’)
JSONjson.dump(record, open(OUTPUT_DIR / ‘record.json’, ‘w’))

7. Examples

Every example follows the requested learning sequence. Run one example at a time in Jupyter Notebook. Install a third-party package only before the first example that requires it.

Example 1: Calculate the Number of Containers with math

Problem statement: A simulated packing exercise has 125 tablets and each container holds 10 tablets. Find the number of containers required without leaving unpacked tablets.

Objective: Use the standard-library math module and understand why math.ceil rounds upward.

Variables / formula / library: total_tablets = 125, capacity_per_container = 10, containers_required = math.ceil(total_tablets / capacity_per_container).

Algorithm

  1. Import the math module.
  2. Store the total tablets and container capacity.
  3. Divide total tablets by capacity.
  4. Round the result upward with math.ceil.
  5. Display the number of containers.

Commented Python program

# math is part of the Python standard library.
import math

total_tablets = 125
capacity_per_container = 10

# ceil() moves 12.5 upward to the next whole number.
containers_required = math.ceil(total_tablets / capacity_per_container)

print(“Containers required:”, containers_required)

Sample output

Containers required: 13

Interpretation: Twelve full containers hold 120 tablets, so one additional container is required for the remaining five tablets. No separate installation was needed.

Example 2: Calculate Mean Tablet Weight with statistics

Problem statement: Five simulated tablet weights are available in milligrams. Calculate their arithmetic mean.

Objective: Use statistics.mean from the standard library for a short list of numerical values.

Variables / formula / library: tablet_weights_mg = [500.2, 499.8, 500.1, 500.0, 499.9]; mean_weight_mg = mean(tablet_weights_mg).

Algorithm

  1. Import mean from statistics.
  2. Store the simulated weights in a list.
  3. Calculate the mean.
  4. Display the result to two decimal places.

Commented Python program

# statistics is supplied with Python.
from statistics import mean

tablet_weights_mg = [500.2, 499.8, 500.1, 500.0, 499.9]
mean_weight_mg = mean(tablet_weights_mg)

print(f”Mean tablet weight: {mean_weight_mg:.2f} mg”)

Sample output

Mean tablet weight: 500.00 mg

Interpretation: The simulated observations average 500.00 mg. This example demonstrates summary calculation only and does not apply an official acceptance limit.

Example 3: Calculate Days Between Two Dates with datetime

Problem statement: For a classroom record, calculate the number of days between 16 August 2026 and 28 February 2027.

Objective: Use standard-library date objects and subtraction to obtain a time difference.

Variables / formula / library: start_date and end_date are date objects; days_between = (end_date – start_date).days.

Algorithm

  1. Import date from datetime.
  2. Create the start and end dates.
  3. Subtract the start date from the end date.
  4. Read the days property.
  5. Display the result.

Commented Python program

from datetime import date

start_date = date(2026, 8, 16)
end_date = date(2027, 2, 28)

days_between = (end_date – start_date).days
print(“Days between dates:”, days_between)

Sample output

Days between dates: 196

Interpretation: The two classroom dates are 196 days apart. The program uses fixed simulated dates and is not an expiry or shelf-life decision system.

Example 4: Generate Reproducible Simulated Readings with random

Problem statement: Generate five simulated percentage readings between 98.5 and 101.5 and make the same values appear whenever the teaching cell is rerun.

Objective: Use random.seed for reproducible classroom simulation.

Variables / formula / library: seed = 42; simulated_readings contains five rounded random.uniform values.

Algorithm

  1. Import random.
  2. Set a fixed seed.
  3. Generate five uniform values in the selected educational range.
  4. Round each value to two decimals.
  5. Display the list.

Commented Python program

import random

# The fixed seed makes this classroom example reproducible.
random.seed(42)

simulated_readings = [
    round(random.uniform(98.5, 101.5), 2)
    for _ in range(5)
]

print(“Simulated readings:”, simulated_readings)

Sample output

Simulated readings: [100.42, 98.58, 99.33, 99.17, 100.71]

Interpretation: The readings are generated for programming practice. A fixed seed is useful when a teacher wants every student to reproduce the same output.

Example 5: Create Project Folders and Save a Text File with pathlib

Problem statement: Create a BPharm_Python project folder with an outputs subfolder and save a short status file there.

Objective: Use pathlib to create folders and build a reliable output path.

Variables / formula / library: project_dir, output_dir and status_file are Path objects.

Algorithm

  1. Import Path.
  2. Build the project and output paths.
  3. Create the folders if they do not exist.
  4. Write a UTF-8 text file.
  5. Display the absolute saved path.

Commented Python program

from pathlib import Path

project_dir = Path.home() / “Documents” / “BPharm_Python”
output_dir = project_dir / “outputs”
output_dir.mkdir(parents=True, exist_ok=True)

status_file = output_dir / “status.txt”
status_file.write_text(“Practice completed”, encoding=”utf-8″)

print(“Saved file:”, status_file.resolve())

Sample output

Saved file: C:\Users\Student\Documents\BPharm_Python\outputs\status.txt
(Your user name and operating-system path will differ.)

Interpretation: The file is saved in an explicitly created outputs folder. The same code works across Windows, macOS and Linux because pathlib joins path parts correctly.

Example 6: Check the Active Kernel and a Package Installation

Problem statement: A student installed pandas but still sees ModuleNotFoundError. Check which Python interpreter the kernel uses and whether pandas is visible there.

Objective: Diagnose an environment mismatch before reinstalling packages.

Variables / formula / library: sys.executable shows the kernel interpreter; find_spec(‘pandas’) returns package information or None.

Algorithm

  1. Import sys and importlib.util.
  2. Display the active Python executable.
  3. Search for the pandas import specification.
  4. Display whether pandas is available.
  5. Install with %pip only if it is missing.

Commented Python program

import sys
from importlib.util import find_spec

print(“Kernel Python:”, sys.executable)

pandas_spec = find_spec(“pandas”)
print(“pandas available:”, pandas_spec is not None)

# If False, run this in a separate cell:
# %pip install pandas

Sample output

Kernel Python: C:\…\python.exe
pandas available: True
(The interpreter path will differ.)

Interpretation: True means the active kernel can locate pandas. If installation succeeded elsewhere but this result is False, the notebook is probably using a different Python environment.

8. Common Errors and How to Correct Them

Error or symptomLikely reasonCorrection
ModuleNotFoundErrorPackage is missing from the active kernel environmentCheck sys.executable, then use %pip install package_name
pip installed it, but import failspip and the notebook use different Python interpretersUse %pip or !{sys.executable} -m pip
%conda command failsKernel is not a conda environment or conda is unavailableUse %pip or open Anaconda Prompt
Import name not foundInstallation name differs from import nameExample: install scikit-learn but import sklearn
FileNotFoundErrorFolder or file path does not existPrint Path.cwd(), inspect the path and create required folders
PermissionErrorThe program cannot write to the selected folderUse a user-owned Documents project folder
Invalid Windows pathBackslashes formed escape sequencesUse pathlib, a raw string or forward slashes
File saved but cannot be foundA relative path used an unexpected working directoryPrint the resolved path or save with OUTPUT_DIR / filename
New package still not recognizedOld package state remains in kernel memoryRestart the kernel and import again
Dependency conflictInstalled packages require incompatible versionsRead the error, use %pip check and consider a fresh environment
Accidentally overwrote a fileSame output filename was reusedUse clear filenames, date/version suffixes or confirm before replacing

9. Quick Revision Sheet

NeedRemember
Use a built-in capabilityCheck the Python standard library first
Install in JupyterPrefer %pip install package_name
Anaconda environmentUse %conda when appropriate; avoid needless mixing
Check active Pythonimport sys; print(sys.executable)
Check package details%pip show package_name
Check working folderfrom pathlib import Path; print(Path.cwd())
Create foldersPath(…).mkdir(parents=True, exist_ok=True)
Save reliablyUse OUTPUT_DIR / ‘filename.ext’
Move the notebookUse the Jupyter file browser; changing cwd does not move it
After installationRestart the kernel if import still fails

Mini Glossary

TermMeaning
AliasA short import name, such as pd for pandas
EnvironmentAn isolated Python installation and its packages
KernelThe process that executes notebook code
Magic commandAn IPython command beginning with % or %%
PyPIThe Python Package Index used by pip to find distributions
DependencyA package required by another package
Working directoryThe starting folder for relative file paths
Absolute pathA complete path from a drive or filesystem root
Relative pathA path interpreted from the working directory
Jupyter rootThe top directory exposed by the Jupyter server file browser

12. Official Websites and Documentation

The commands and definitions in this chapter were checked against the following official documentation on 16 August 2026. Use official documentation when a command changes or a new software version is released.

Next learning step: After mastering packages and paths, continue with basic string operations, conditional statements and loops. Reuse the same project folders and environment.

Dr. Arpana Chaturvedi
Founder, Exceldemy

🎥 YouTube: @arpanachaturvedi9324
🌐 Website: arpanachaturvedi.com
📸 Instagram: @arpanaar
📘 Facebook: Exceldemy

Leave a Reply

Your email address will not be published. Required fields are marked *