Wed Jan 21 2026
Discuss this article on Hacker News.
Almost three years ago, I announced the release of my book From PHP to Python. It was the end of a long journey: it took me two years to write it, and I put a lot of effort into it.
Today, I’m excited to announce that the book has evolved into a full updated online course. Version 2 is out!
The book format worked well, but I got feedback from readers who saw some limitations:
I also didn’t feel as free as I could be with a static book. Fixing mistakes or typos here and there would require uploading new PDF/ePub versions and ask my readers to download them.
It’s now mobile friendly, searchable, easy to copy and paste from, and I can push updates instantly. Also, my readers can send me feedback directly through the platform, making it easier to improve the content over time.
Users can also choose their own syntax highlighting theme for both languages.
The core philosophy remains the same: take your existing PHP knowledge and map it directly to Python. I don’t want you to waste time on things that are obvious. We focus on the differences and similarities between the two languages.
The course covers everything from syntax basics to advanced topics:
All of this with side-by-side PHP and Python code comparisons.
The course now covers PHP 8.5 and Python 3.14.
All future updates to the course will be free for existing students. If a new update is released, you’ll get notified by email and will get a changelog.
If you bought the book on Gumroad, you get free access to the course. I sent an email to all previous customers with the changelog. Just log in with the same email you used to buy the book, and you’ll get free premium access to the course (and to its future updates). You can even read the first version directly from the website.
The first 7 chapters are available for free to everyone.
The full course is available for a one-time payment of $39 (launch price, normally $79). No subscription. You get access to all current content and all future updates.
There’s also a 30-day money-back guarantee. If it’s not for you, just let me know.
Don’t hesitate to send me feedback directly through the course platform or via email.
Check it out at fromphptopython.com.
I’m absolutely convinced this is the fastest way ever to learn Python if you already know PHP.
Hope you’ll enjoy it and find it useful! ❤️
Discuss this article on Hacker News.