SShortSingh.
Back to feed

Python Basics

0
·2 views

Started Learning Python? Variables: names for values A variable is a name that points at a value. You create one with =, and Python reads the line from right to left: it works out the right side first, then attaches the name on the left. If you have used a spreadsheet, you may expect a name to behave like a formula cell. It does not.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

I built 59 free browser-based dev tools in vanilla JS — here's what I learned

I've been quietly building Antigravity Tools — a collection of 59 free, browser-based developer utilities — and today I'm sharing everything I built and learned. The main constraint I set for myself: zero dependencies, zero server, zero telemetry. When you paste your JWT token into jwt.io, it goes to their server. When you use an online regex tester, your test strings are logged. I built Antigravity Tools so every operation runs inside your browser, using native APIs.

0
ProgrammingDEV Community ·

Valkey 9.2's forkless BGSAVE cuts my memory spike from 350MB to 10MB

Every BGSAVE I have ever watched on a busy Redis or Valkey instance does the same thing: the process forks, and for a few seconds the host's free memory drops like someone pulled a plug. Valkey 9.2.0-rc1, tagged on Docker Hub on 16 September, adds a way to skip the fork entirely. I wanted to know what that actually buys you, not what the release notes say it buys you, so I ran both paths against the same dataset and measured what happened. The short version: the memory spike nearly disappeared, and the save got noticeably slower doing it. I pulled valkey/valkey:9.2.0-rc1 and ran two containers