Read free. Unlock the rest for $20.

The whole book is free to read, and you can run every exercise in your browser. One simple upgrade unlocks the parts you take with you.

Free

$0

Read & run — free forever

  • check_circleRead all 22 chapters
  • check_circleRun code in the playground
  • check_circleGraded exercises + hints
  • check_circleReference solutions
  • closeCopy code
  • closeAI tutor
  • closeDownload the book (PDF + EPUB)
Start reading free
Full Access

Full Access

$20

One-time — yours for good

  • check_circleEverything in Free
  • check_circleCopy any code, freely
  • check_circleAI tutor — explain errors, chat, hints
  • check_circleDownload the book — PDF + EPUB
  • check_circleDownloadable datasets
  • check_circleLifetime access — no subscription
Get full access — $20Already have a code? Activate it

Frequently Asked Questions

What format is the book?expand_more

The digital edition includes PDF, EPUB, and full access to this interactive website with runnable Python code playgrounds. All formats are DRM-free.

How do I get my access code?expand_more

After purchasing the digital or print+digital bundle, you'll receive a unique activation code (format: PFG-XXXX-XXXX) via email. Enter it in your dashboard to unlock the interactive playground and exercises.

Can I share my access code?expand_more

Each code is single-use and tied to one account. Sharing codes violates our terms of service. If you need team access, contact us for volume licensing.

Is there a student discount?expand_more

Yes — 40% off with a valid .edu email address. Use code STUDENT40 at checkout or email us from your university email for a discount link.

What if I need help?expand_more

Every chapter includes detailed explanations and hints for exercises. For additional support, email info@pythonforoilandgas.com or join our community discussion board.