RMRimsha Malikinrimshatech.hashnode.dev·Sep 9 · 5 min readWorking of PythonWhen we start learning Python, we usually focus on writing code and getting the expected output. But have you ever wondered what actually happens behind the scenes when we run a Python program? What h00
DJDarshan Joshiindartionjoshi.hashnode.dev·Sep 7 · 5 min read I Didn't Know Python Had This Many Ways to Write the Same NumberSo far, every value I've written has looked pretty ordinary: 2, "Hello", True. Turns out there's a formal name for these, and Python gives you a surprising number of different ways to write them. Ter00
PCPranjal Chaudharyinpranjal-writes.hashnode.dev·Sep 6 · 4 min readDemystifying Python's Inner Mechanics: Bytecode, PVM, and __pycache__One of the first rules taught in introductory programming courses is that Python is an interpreted language, unlike compiled heavyweights such as C++ or Rust. While that distinction works as a shortha00
BBogdaninbogdans.hashnode.dev·Sep 2 · 3 min read01 - OOP and Functional ProgrammingOOP - Object-Oriented Programming OOP is the programming paradigm that revolves around using classes or otherwise custom objects to organise a codebase, by having all data regarding a certain entity, 00
IKImmanuel Kibet Ngenoinkibetbuilds.hashnode.dev·Sep 1 · 3 min readDay 1: I Wrote My First Python Script and It Fetched Live Weather From NairobiI'm a software engineer. Java, Spring Boot — that's been my world. I'm comfortable there. Maybe too comfortable. A few weeks ago I watched someone I know get a gig building an AI model for an insuranc00
SPShraddha Pardeshiincodewithshraddha.hashnode.dev·Aug 30 · 8 min readPython Variables Explained: A Beginner's Guide with ExamplesIntroduction Imagine you want your Python program to remember someone's name, age, marks, or even the price of a product. How can a program store this information? That's where variables come in. Vari00
DJDarshan Joshiindartionjoshi.hashnode.dev·Aug 26 · 10 min readI Finally Understood Python's Data Types and Variables. Last time, I got as far as printing raw values directly: print("Hello World"), print(9.9), that sort of thing. It worked, but it didn't take long before that started feeling limited. What if I want to00
PPPDF Python Hubinpdfpythonhub.hashnode.dev·Aug 19 · 2 min readHow to Upload Files in Google ColabThe following code lets you upload one or more files from your computer directly into a Google Colab notebook: from google.colab import files uploaded = files.upload() How it works 1. Import the file00
PPPDF Python Hubinpdfpythonhub.hashnode.dev·Aug 19 · 1 min readHow to Install PyMuPDF in Google Colab With Pip1. Install PyMuPDF %pip install -q -U pymupdf %pip runs pip directly from a Jupyter Notebook or Google Colab cell. install tells pip to install a package. -U (or --upgrade) updates PyMuPDF if an o00
PPPDF Python Hubinpdfpythonhub.hashnode.dev·Aug 19 · 3 min readExport PDF Metadata to JSON Using PythonThe Python script below uses PyMuPDF to read basic information from a PDF, saves that information as a JSON file, and downloads the file to your computer. Install pymupdf If pymupdf isn't already inst00