Zum Hauptinhalt springen
LIVE
CVSS 6.9CVE-2026-137679 | A vulnerability was detected in code-projects Online Job Portal 1.0. This affects the function GetSQLValueString of the file JobSeeker/SearchJob.php of the component JobSeeker. Performing a manipulation of the argument cmbQual results in sql injection. The attack may be initiated remotely. The exploit is now public and may be used.CVSS 6.5CVE-2026-111315 | The Smaily Connect plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 3.24.0 This is due to the smaily_get_edit_user_id() function reading an attacker-controlled $_GET['user_id'] parameter without performing any ownership or capability check, and then feeding that id into smaily_get_userdata() (which calls get_user_meta()) when rendering the WooCommerce My Account 'edit-account' form via the smaily_print_CVSS 6.4CVE-2026-137713 | Webmin through 2.670 before ae8feb1 allows XSS via an SVG attachment in a mail queue, relevant if an authenticated user uploads an SVG document and an administrator views it.CVSS 6.9CVE-2026-137678 | A security vulnerability has been detected in code-projects Online Job Portal 1.0. Affected by this issue is some unknown functionality of the file Admin/InsertUser.php. Such manipulation of the argument txtUserName/txtPassword leads to sql injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-137703 | Flask-AppBuilder before 5.3.1 contains a path traversal vulnerability in ImageManager.save_file that allows authenticated users to write image files outside IMG_UPLOAD_FOLDER via unsanitized multipart filenames. Attackers with add or edit permission on a ModelView with an ImageColumn can upload filenames containing ../ segments to create or overwrite image files like static assets.CVSS 6.1CVE-2026-130039 | The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'REQUEST_URI' parameter in all versions up to, and including, 7.9.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires comments to be open, a comment author name containinCVSS 6.1CVE-2026-136206 | The Export Products, Orders & Customers for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'start_date' parameter in all versions up to, and including, 2.4.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. SucCVSS 9.4CVE-2026-137706 | Smart Portal developed by Direk Tech has a Missing Authorization vulnerability. Authenticated remote attackers can add a specified account to the Active Directory Domain Admins group, thereby obtaining domain administrator privileges.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

From Code to Output: What Really Happens When You Run Python?

"Python is an interpreted language." You've probably heard this phrase countless times while learning Python. But let’s pause for a second… What actually hap…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 4 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

"Python is an interpreted language."




You've probably heard this phrase countless times while learning Python.



But let’s pause for a second…



What actually happens after you hit Run?



When you execute something as simple as:




print("Hello, World!")






How does your computer, built to understand only binary (0s and 1s), figure out what print() means?



The truth is, there’s a lot happening behind the scenes.



Let’s break it down in a simple and intuitive way.









The Hidden Workflow of Python



Here’s a simplified overview of what happens:




Python Source Code (.py)
│
▼
Compilation Step
│
▼
Bytecode (.pyc)
│
▼
Python Virtual Machine (PVM)
│
▼
Machine Instructions
│
▼
CPU Execution
│
▼
Program Output






Many beginners assume Python directly runs their code.



But in reality, Python follows a two-step process before execution.









Step 1, Writing Python Code



Let’s begin with a basic script:




# hello.py

print("Hello, World!")






At this stage, your file is just plain text.



Your computer doesn’t understand:




  • Functions like print()

  • Control structures like if, for, while

  • Variables or expressions



It only understands low-level machine instructions.



So Python needs to translate your code first.









Step 2, The Python Interpreter Steps In



When you run:




python hello.py






you’re invoking the Python Interpreter.



The most widely used implementation is CPython, written in C.



Its responsibilities include:




  • Reading your code

  • Checking for syntax errors

  • Converting it into bytecode

  • Executing that bytecode



So Python doesn’t directly interpret your source code, it first compiles it into an intermediate form.









Step 3, Bytecode: Python’s Internal Language



Instead of converting your code straight into machine instructions, Python transforms it into bytecode.



Think of bytecode as a simplified, platform-independent instruction set.



For example:




x = 5
y = 10

print(x + y)






might internally look like:




LOAD_CONST 5
STORE_NAME x

LOAD_CONST 10
STORE_NAME y

LOAD_NAME x
LOAD_NAME y

BINARY_ADD

PRINT






You don’t need to memorize this, it just shows how Python simplifies your code before execution.









What Are .pyc Files?



You might have seen a folder like this:




__pycache__






Inside it, files like:




hello.cpython-313.pyc






These .pyc files store compiled bytecode.



Python uses them to avoid recompiling unchanged files, making your programs start faster.









Curious? Inspect Bytecode Yourself



Python provides a module called dis to view bytecode.



Try this:




import dis

def add(a, b):
return a + b

dis.dis(add)






Example output:




LOAD_FAST 0 (a)
LOAD_FAST 1 (b)
BINARY_ADD
RETURN_VALUE






This is exactly what Python executes internally.









Step 4, The Python Virtual Machine (PVM)



Now comes execution.



The Python Virtual Machine (PVM) is the engine that runs bytecode.



It’s not hardware, it’s part of the interpreter.



It works in a loop:




Fetch → Decode → Execute







  • Fetch the next instruction

  • Decode what it means

  • Execute it



This cycle continues until your program finishes.









Walking Through Execution



Let’s revisit:




print("Hello, World!")






Here’s what happens step by step:






1. You run the script






python hello.py






↓






2. Python reads your code



↓






3. It compiles it into bytecode



↓






4. The PVM executes instructions like:






LOAD_CONST "Hello, World!"
CALL_FUNCTION print
RETURN_VALUE






↓






5. Output appears






Hello, World!






Done!









Why Isn’t Python as Fast as C?



Let’s compare:






C Execution






C Code → Compiler → Machine Code → CPU









Python Execution






Python Code → Bytecode → PVM → CPU






Python adds an extra layer (the PVM), which introduces overhead.



That’s why Python is generally slower for heavy computations.



But this design also makes Python:




  • Portable

  • Easy to use

  • Flexible









Memory Management in Python



Python handles memory automatically.



It stores objects in a region called the heap.



When objects are no longer needed, Python cleans them up using:




  • Reference counting

  • Garbage collection



This means you don’t have to manually manage memory like in C or C++.









A Simple Way to Think About It



Imagine you're speaking to someone who doesn’t understand your language.



You use a translator:




You → Translator → Listener






In Python terms:





  • You → Programmer


  • Python Code → Your language


  • PVM → Translator


  • CPU → Listener



The CPU never understands Python directly, the PVM bridges that gap.









Final Thoughts



Once you understand what happens behind the scenes, Python feels less like magic and more like a well-designed system.



So next time someone says:




"Python is an interpreted language."




You’ll know the full story.



Python first compiles your code into bytecode, then executes it using the Python Virtual Machine.



And that journey, from a simple .py file to actual output, is what makes Python both powerful and accessible.






Thanks for reading!



I’m sharing my learning journey in Python, backend development, and software engineering. If you found this helpful, feel free to follow along for more simple explanations of complex topics.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Communitydiscussie & reacties

🌐 Naar de hoofdchat

Start de discussie in de Social Chat broadcaststream of dien hierboven een vakbijdrage in via het aanvulformulier.

Cyber Threat Intelligence & Forensiek

ATT&CK-Navigator · IoC-Radar & Graaf

CTI Threat Relationship Graph
Akteure · Techniken · Beziehungen
2 Knoten · 1 Relationen
CVE / Incident Threat Actor Software MITRE ATT&CK CWE Weakness IoC
Community Rating & Social Proof
⭐ Lezersbeoordeling
–
Ø / 5.0
Nog geen recensies van lezers
Was dit artikel nuttig?
0
Geef uw beoordeling
Detailbeoordeling (optioneel)
Inhoud & Kwaliteit
Bron & Geloofwaardigheid
Actualiteit
Security Briefing Gratis · 1-klik uitschrijven

Intelligence Digest gratis

Dagelijks het belangrijkste beveiligingsnieuws · kan op elk moment worden opgehaald

Verwant Story Cluster & Sources (vector AI)

6 Cluster
46 Bronnen
Best Black Friday Toy Deals (2026): Up to 50% Off Lego, Board Games, and Toys
WIRED 21 min. geleden
45 andere bronnen
Latest from TechRadar47 min. geledenBest Black Friday home office deals 2026 — save on our top-tested work essentials from Herman Miller, FlexiSpot, Logitech, Epson and more Latest from TechRadar45 min. geledenSony WH-1000XM6 just hit a record-low price — now it's Black Friday Latest from TechRadar40 min. geledenLenovo's Copilot+ IdeaPad Slim 3 with 16GB RAM and a 512GB SSD is £350 off for Black Friday The Verge35 min. geledenOur favorite headphones and earbuds are cheaper than ever ahead of Black Friday Computer Bild49 min. geledenBlack Friday: Live-Show ab 16 Uhr – die besten Deals t3n.de50 min. geledenBlack Friday: Alle guten Angebote zu Apple, Samsung, Fritz und Co. in der Übersicht Golem.de41 min. geledenAnzeige: Google Pixel 10a am Black Friday bei Amazon erstmals unter 380 Euro COMPUTER BILD1 uur geledenCOMPUTER BILD: Die Deal-Checker! BLACK FRIDAY 2026 DEV Community35 min. geledenBest kanban boards for AI coding agents in 2026 WIRED1 uur geledenThe Best Black Friday Streaming Deals (2026): Apple TV, Disney, Paramount, and More GamingOnLinux Latest Articl…1 uur geledenitch.io Creator Day & Black Friday 2026 sale is live IT Security News1 uur geledenIT Security News Hourly Summary 2026-11-27 11h : The AI Threat Horizon: Why Speed, Edge AI and Baselines Are Our Best Defense and 13 more posts Latest from TechRadar1 uur geledenBest Black Friday MacBook Air deals: biggest discounts on Apple's thin and light laptop range Latest from TechRadar1 uur geledenProton VPN vs ExpressVPN – which secure VPN should you pick this Black Friday? WIRED10 uur geledenThe 108 Best Black Friday Deals Are Now Live: Our Expert Picks for 2026 WIRED1 uur geleden20 Best Black Friday Tech Deals (2026) WIRED1 uur geledenThe 10 Best Black Friday TV Deals (2026): Save Up to 53% Off Giga.de1 uur geledenBlack Friday 2026 bei Back Market: Dyson, Ninja und GoPro jetzt deutlich günstiger DEV Community1 uur geledenSol's Take: Friday — November 27, 2026 Cyber Security News1 uur geledenBlack Friday or Black Fraud Day? 7 Cyber Traps to Watch Out for Before You Click ‘Buy’ CNET2 dagen geledenLive: Black Friday Is Here. Shop Our Favorite Deals and Save Up to 60% Apple, Anker, Bose and More WIRED1 uur geleden22 Best Black Friday Deals Under $100 (2026) WIRED1 uur geledenBest Black Friday Phone Deals (2026): iPhone, Pixel, and More The Verge1 uur geledenThe absolute best Black Friday deals we’ve found (so far) Giga.de1 uur geledenAirPods Pro 3 im Black-Friday-Sturzflug: So günstig waren Apples Top-In-Ears noch nie PC-WELT1 uur geledenBlack Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr PC-WELT1 uur geledenBlack Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr t3n.de2 uur geledenKindle, Echo Dot, Fire TV: Diese neuen Amazon-Geräte sind zum Black Friday stark reduziert Macerkopf.de2 uur geledenAmazon Black Friday Woche: iPad Air, iPhone 18 Cases, AirTag 2, Fire TV Sticks, Echo Dot und mehr appgefahren.de1 uur geledenJMGO mit Black Friday-Deals: Heimkino-Bundles bis zu 60 Prozent günstiger PC-WELT1 uur geledenGoogle Pixel 11 jetzt unglaubliche 430 Euro günstiger im Black-Friday-Deal: Tiefstpreis bei Amazon PC-WELT1 uur geledenNorton 360 Premium-Security an Black Friday nur 19,99 Euro statt 100 Euro Latest from TechRadar2 uur geledenThe best Black Friday headphone deals: Sony, AirPods and more Latest from TechRadar1 uur geledenBest Black Friday mini PC deals 2026 live: Save on desktops from Apple, Geekom, GMKtec, Minisforum, and more Golem.de1 uur geledenAnzeige: Amazon startet mit Glücksrad-Gewinnspiel in den Black Friday IT Security News2 uur geledenIT Security News Hourly Summary 2026-11-27 10h : Top 10 Best Human Risk Management Platforms in 2026 [Ranked & Scored] and 17 more posts Latest from TechRadar2 uur geledenThese smart and polished backpacks have accompanied me to events all over the world — and they're now 30% for Black Friday PC-WELT2 uur geledenRiesiger 75 Zoll 4K-QLED-Fernseher fällt bei Amazon auf nur 469 Eur im Black-Friday-Angebot PC-WELT2 uur geledenBlack Friday: Beliebte Mähroboter von Mammotion jetzt ab 599 Euro Latest from TechRadar2 uur geledenSave up to around £200 on these top mini PCs for Black Friday — with multiple options and configurations available for your exact needs or preferences Caschys Blog4 uur geledenFlexiSpot Black Friday 2026: Bis zu 40 % Rabatt auf Bestseller bei Amazon Golem.de2 uur geledenBlack Friday: Verdi mobilisiert bei Amazon in Gera nur wenige PC-WELT2 uur geledenNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro appgefahren.de2 uur geledentink.de bietet bis zu 50 Euro Extra-Rabatt auf Black-Friday-Angebote PC-WELT2 uur geledenNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro
22 Bronnen
CVE-2026-95457 | Google Android Camera reconnect.shard.cml privileges management
VulDB Updates 1 uur geleden
21 andere bronnen
VulDB Updates1 uur geledenCVE-2026-95458 | Google Android Bluetooth Setup bluetooth_setup_impl.cc OnAudioSourceConnectChanged privileges management VulDB Updates1 uur geledenCVE-2026-95464 | Google Android logical_link.cc SignalError use after free VulDB Updates1 uur geledenCVE-2026-95456 | Google Android a2dp_offload_manager.cc StartA2dpOffload use after free VulDB Updates1 uur geledenCVE-2026-95463 | Google Android data_element.cc DataElement::Read recursion Engadget1 uur geledenGoogle will soon share Android developers' addresses publicly VulDB Updates1 uur geledenCVE-2026-95429 | Google Android BrEdrDynamicChannel bredr_dynamic_channel.cc resource consumption VulDB Updates1 uur geledenCVE-2026-95434 | Google Android LowEnergyScanner low_energy_scanner.cc NotifyPeerFound resource consumption VulDB Updates1 uur geledenCVE-2026-95441 | Google Android Bluetooth connection.cc OnDisconnectionComplete denial of service VulDB Updates1 uur geledenCVE-2026-95422 | Google Android periodic_advertising_synchronizer.cc OnSyncEstablished assertion VulDB Updates1 uur geledenCVE-2026-95423 | Google Android local_service_manager.cc OnWriteCCC null pointer dereference VulDB Updates1 uur geledenCVE-2026-95447 | Google Android SDP Client client.cc OnRxFrame memory corruption VulDB Updates1 uur geledenCVE-2026-95421 | Google Android Command Processing bredr_signaling_channel.cc DecodeRxUnit use after free VulDB Updates1 uur geledenCVE-2026-95435 | Google Android advertising_data.cc FromBytes out-of-bounds VulDB Updates1 uur geledenCVE-2026-95446 | Google Android credit_based_flow_control_rx_engine.cc ProcessPdu input validation VulDB Updates2 uur geledenCVE-2026-95420 | Google Android Pairing security_manager.cc OnEncryptionChange privileges management VulDB Updates2 uur geledenCVE-2026-95419 | Google Android Bluetooth Security Manager security_manager.cc OnPairingRequest unusual condition VulDB Updates2 uur geledenCVE-2026-95416 | Google Android Link Encryption Key security_manager.cc OnPairingFailed denial of service VulDB Updates2 uur geledenCVE-2026-95415 | Google Android RemoteCharacteristic remote_characteristic.cc denial of service VulDB Updates2 uur geledenCVE-2026-95417 | Google Android remote_characteristic.cc ResolvePendingNotifyRequests use after free VulDB Updates2 uur geledenCVE-2026-95414 | Google Android http_file_request_handler.cc GetFilePath path traversal VulDB Updates2 uur geledenCVE-2026-95418 | Google Android logical_link.cc LogicalLink::SignalError use after free
Soortgelijke bijdragen
🔍 Verwandte News

Auch interessante Nachrichten From Code to Output: What Really Happens When You Run Python?

Thematisch verwandte Begriffe: From, Code, Output, What · 6 Treffer

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

💬 Reacties worden geladen…
Trek om te vernieuwen
Widgets & Topics
Loading widgets…
Nächster Beitrag