• Skip to primary navigation
  • Skip to content
  • Skip to footer
Hidden Hat Press Hidden Hat Press
  • Python for PHP Programmers
  • Articles

    Articles

    Dancers. Photo by Hulki Okan Tabak on Unsplash - (cropped and decolorized)

    Articles

    All of them

    • Articles
      • Python for PHP Programmers
      • News\Misc
      • Foundations
      • Tools
      • Design

    Python for PHP Programmers cover reveal

    News\Misc

    A sneak peek at the new cover design for Python for PHP Programmers, including some hat-oriented versions.

    Testing for variable existence in Pyt...

    Python for PHP Programmers

    PHP offers isset() to test for the existence of variables and elements. A look at some equivalent tools that Python provides.

    PHP Library for OpenAI Assistants API

    News\Misc

    UPDATED. We wrote a PHP API client for OpenAI’s Assistants API… by accident. Maintain state! Build smart knowledge bases! Integrate third party tools!

    A late November check-in

    News\Misc

    Get the latest updates from Hidden Hat HQ, including new articles and book projects.

    Basic type checking in Python

    Python for PHP Programmers

    Learn how to use Python’s type() and isinstance() functions, the Pythonic counterparts to PHP’s gettype() and instanceof.

    How not to be be an asshole

    News\Misc

    It’s nice to be nice. But even if you’re a meanie deep down inside, being good to your team is strategically the way to go.

    Pick a card - random numbers in Python

    Python for PHP Programmers

    A look at Python’s random module – how it differs from PHP’s rand() and what it adds.

    Multiline strings in Python

    Python for PHP Programmers

    PHP supports multiline strings with the heredoc text syntax. We take a look at a commonly used Python equivalent.

    • Previous
    • 1
    • 2
    • 3
    • 4
    • …
    • 7
    • Next
    • Mastodon
    • Bluesky
    • Feed
    © 2025 Hidden Hat Press. Powered by Jekyll & Minimal Mistakes.