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:

💬 Dyskusja społeczności i komentarze

🌐 Dołącz do głównego czatu

Rozpocznij dyskusję w strumieniu transmisji Social Chat lub prześlij wyżej wkład ekspercki przez formularz uzupełnień.

Cyber Threat Intelligence i Kryminalistyka

Navigator ATT&CK · Radar IoC i Graf

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
⭐ Ocena czytelników
–
Ø / 5.0
Brak recenzji czytelników
Czy ten artykuł był pomocny?
0
Dodaj swoją ocenę
Ocena szczegółowa (opcjonalnie)
Treść i jakość
Źródło i wiarygodność
Aktualność
Security Briefing Bezpłatnie · Wypisanie 1 kliknięciem

Intelligence Digest - bezpłatnie

Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili

Powiązany klaster opowieści i źródła (wektor AI)

6 Cluster
46 źródeł
Best Black Friday Toy Deals (2026): Up to 50% Off Lego, Board Games, and Toys
WIRED 20 minut temu
45 kolejnych źródeł
Latest from TechRadar46 minut temuBest Black Friday home office deals 2026 — save on our top-tested work essentials from Herman Miller, FlexiSpot, Logitech, Epson and more Latest from TechRadar44 minuty temuSony WH-1000XM6 just hit a record-low price — now it's Black Friday Latest from TechRadar40 minut temuLenovo's Copilot+ IdeaPad Slim 3 with 16GB RAM and a 512GB SSD is £350 off for Black Friday The Verge35 minut temuOur favorite headphones and earbuds are cheaper than ever ahead of Black Friday Computer Bild49 minut temuBlack Friday: Live-Show ab 16 Uhr – die besten Deals t3n.de49 minut temuBlack Friday: Alle guten Angebote zu Apple, Samsung, Fritz und Co. in der Übersicht Golem.de40 minut temuAnzeige: Google Pixel 10a am Black Friday bei Amazon erstmals unter 380 Euro COMPUTER BILD1 godzinę temuCOMPUTER BILD: Die Deal-Checker! BLACK FRIDAY 2026 DEV Community34 minuty temuBest kanban boards for AI coding agents in 2026 WIRED1 godzinę temuThe Best Black Friday Streaming Deals (2026): Apple TV, Disney, Paramount, and More GamingOnLinux Latest Articl…1 godzinę temuitch.io Creator Day & Black Friday 2026 sale is live IT Security News1 godzinę temuIT 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 godzinę temuBest Black Friday MacBook Air deals: biggest discounts on Apple's thin and light laptop range Latest from TechRadar1 godzinę temuProton VPN vs ExpressVPN – which secure VPN should you pick this Black Friday? WIRED10 godzin temuThe 108 Best Black Friday Deals Are Now Live: Our Expert Picks for 2026 WIRED1 godzinę temu20 Best Black Friday Tech Deals (2026) WIRED1 godzinę temuThe 10 Best Black Friday TV Deals (2026): Save Up to 53% Off Giga.de1 godzinę temuBlack Friday 2026 bei Back Market: Dyson, Ninja und GoPro jetzt deutlich günstiger DEV Community1 godzinę temuSol's Take: Friday — November 27, 2026 Cyber Security News1 godzinę temuBlack Friday or Black Fraud Day? 7 Cyber Traps to Watch Out for Before You Click ‘Buy’ CNET2 dni temuLive: Black Friday Is Here. Shop Our Favorite Deals and Save Up to 60% Apple, Anker, Bose and More WIRED1 godzinę temu22 Best Black Friday Deals Under $100 (2026) WIRED1 godzinę temuBest Black Friday Phone Deals (2026): iPhone, Pixel, and More The Verge1 godzinę temuThe absolute best Black Friday deals we’ve found (so far) Giga.de1 godzinę temuAirPods Pro 3 im Black-Friday-Sturzflug: So günstig waren Apples Top-In-Ears noch nie PC-WELT1 godzinę temuBlack Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr PC-WELT1 godzinę temuBlack Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr t3n.de2 godziny temuKindle, Echo Dot, Fire TV: Diese neuen Amazon-Geräte sind zum Black Friday stark reduziert Macerkopf.de2 godziny temuAmazon Black Friday Woche: iPad Air, iPhone 18 Cases, AirTag 2, Fire TV Sticks, Echo Dot und mehr appgefahren.de1 godzinę temuJMGO mit Black Friday-Deals: Heimkino-Bundles bis zu 60 Prozent günstiger PC-WELT1 godzinę temuGoogle Pixel 11 jetzt unglaubliche 430 Euro günstiger im Black-Friday-Deal: Tiefstpreis bei Amazon PC-WELT1 godzinę temuNorton 360 Premium-Security an Black Friday nur 19,99 Euro statt 100 Euro Latest from TechRadar2 godziny temuThe best Black Friday headphone deals: Sony, AirPods and more Latest from TechRadar1 godzinę temuBest Black Friday mini PC deals 2026 live: Save on desktops from Apple, Geekom, GMKtec, Minisforum, and more Golem.de1 godzinę temuAnzeige: Amazon startet mit Glücksrad-Gewinnspiel in den Black Friday IT Security News2 godziny temuIT 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 godziny temuThese smart and polished backpacks have accompanied me to events all over the world — and they're now 30% for Black Friday PC-WELT2 godziny temuRiesiger 75 Zoll 4K-QLED-Fernseher fällt bei Amazon auf nur 469 Eur im Black-Friday-Angebot PC-WELT2 godziny temuBlack Friday: Beliebte Mähroboter von Mammotion jetzt ab 599 Euro Latest from TechRadar2 godziny temuSave 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 godziny temuFlexiSpot Black Friday 2026: Bis zu 40 % Rabatt auf Bestseller bei Amazon Golem.de2 godziny temuBlack Friday: Verdi mobilisiert bei Amazon in Gera nur wenige PC-WELT2 godziny temuNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro appgefahren.de2 godziny temutink.de bietet bis zu 50 Euro Extra-Rabatt auf Black-Friday-Angebote PC-WELT2 godziny temuNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro
22 źródeł
CVE-2026-95457 | Google Android Camera reconnect.shard.cml privileges management
VulDB Updates 1 godzinę temu
21 kolejnych źródeł
VulDB Updates1 godzinę temuCVE-2026-95458 | Google Android Bluetooth Setup bluetooth_setup_impl.cc OnAudioSourceConnectChanged privileges management VulDB Updates1 godzinę temuCVE-2026-95464 | Google Android logical_link.cc SignalError use after free VulDB Updates1 godzinę temuCVE-2026-95456 | Google Android a2dp_offload_manager.cc StartA2dpOffload use after free VulDB Updates1 godzinę temuCVE-2026-95463 | Google Android data_element.cc DataElement::Read recursion Engadget1 godzinę temuGoogle will soon share Android developers' addresses publicly VulDB Updates1 godzinę temuCVE-2026-95429 | Google Android BrEdrDynamicChannel bredr_dynamic_channel.cc resource consumption VulDB Updates1 godzinę temuCVE-2026-95434 | Google Android LowEnergyScanner low_energy_scanner.cc NotifyPeerFound resource consumption VulDB Updates1 godzinę temuCVE-2026-95441 | Google Android Bluetooth connection.cc OnDisconnectionComplete denial of service VulDB Updates1 godzinę temuCVE-2026-95422 | Google Android periodic_advertising_synchronizer.cc OnSyncEstablished assertion VulDB Updates1 godzinę temuCVE-2026-95423 | Google Android local_service_manager.cc OnWriteCCC null pointer dereference VulDB Updates1 godzinę temuCVE-2026-95447 | Google Android SDP Client client.cc OnRxFrame memory corruption VulDB Updates1 godzinę temuCVE-2026-95421 | Google Android Command Processing bredr_signaling_channel.cc DecodeRxUnit use after free VulDB Updates1 godzinę temuCVE-2026-95435 | Google Android advertising_data.cc FromBytes out-of-bounds VulDB Updates1 godzinę temuCVE-2026-95446 | Google Android credit_based_flow_control_rx_engine.cc ProcessPdu input validation VulDB Updates2 godziny temuCVE-2026-95420 | Google Android Pairing security_manager.cc OnEncryptionChange privileges management VulDB Updates2 godziny temuCVE-2026-95419 | Google Android Bluetooth Security Manager security_manager.cc OnPairingRequest unusual condition VulDB Updates2 godziny temuCVE-2026-95416 | Google Android Link Encryption Key security_manager.cc OnPairingFailed denial of service VulDB Updates2 godziny temuCVE-2026-95415 | Google Android RemoteCharacteristic remote_characteristic.cc denial of service VulDB Updates2 godziny temuCVE-2026-95417 | Google Android remote_characteristic.cc ResolvePendingNotifyRequests use after free VulDB Updates2 godziny temuCVE-2026-95414 | Google Android http_file_request_handler.cc GetFilePath path traversal VulDB Updates2 godziny temuCVE-2026-95418 | Google Android logical_link.cc LogicalLink::SignalError use after free
Podobne wkłady
🔍 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...

Filmy są załadowane...

Laden...

Składki są załadowane...

Laden...

Filmy są załadowane...

Laden...

Składki są załadowane...

Laden...

Filmy są załadowane...

Laden...

Składki są załadowane...

Laden...

Filmy są załadowane...

Laden...

Składki są załadowane...

Laden...

Filmy są załadowane...

Uwagi Komentarze są ładowane..
Rysunek do aktualizacji
Widgets & Topics
Loading widgets…
Nächster Beitrag