Zum Hauptinhalt springen
LIVE
CVSS 8.7CVE-2026-138099 | A vulnerability was identified in Tenda AC10U 1.18.6. Affected by this vulnerability is the function readUsb of the component ATE Service. Such manipulation leads to out-of-bounds write. The attack can be executed remotely. The exploit is publicly available and might be used.CVSS 6.9CVE-2026-138098 | A vulnerability was determined in weison-tech yii2-cms up to 1.0.2. Affected is an unknown function of the file protected/core/config/common.php of the component RBAC Authorization. This manipulation causes improper authorization. Remote exploitation of the attack is possible.CVSS 6.9CVE-2026-138097 | A vulnerability was found in weison-tech yii2-cms up to 1.0.2. This impacts the function isActive of the file AccessControl.php of the component RBAC Admin Module. The manipulation results in missing authorization. The attack may be launched remotely.CVSS 6.9CVE-2026-138096 | A vulnerability has been found in weison-tech yii2-cms up to 1.0.2. This affects an unknown function of the file protected/core/config/web.php of the component Admin Auto-Login Identity Cookie. The manipulation leads to improper authentication. The attack may be initiated remotely.CVSS 4.8CVE-2026-138094 | A security vulnerability has been detected in ggml-org llama.cpp up to 0.6.0. Impacted is the function ggml_acc_impl of the file ggml/src/ggml.c of the component ggml Handler. Such manipulation leads to numeric truncation error. The attack can only be performed from a local environment. Upgrading to version 0.7.0 is recommended to address this issue. The name of the patch is 8ae386707bed05f02354dbfc6fa5ee0cf58e5f0f. It is recommended to upgrade the affectedCVSS 6.9CVE-2026-138093 | A weakness has been identified in alexander-torosh yona-cms up to 0.5.0. This issue affects the function loginAction of the file app/modules/Admin/Controller/IndexController.php of the component Admin Login Endpoint. This manipulation causes sql injection. It is possible to initiate the attack remotely.CVSS 4.8CVE-2026-138092 | A security flaw has been discovered in ggml-org llama.cpp up to 0.8.0. This vulnerability affects the function ggml_roll of the file ggml/src/ggml.c of the component Ggml Tensor Library Roll Operation. The manipulation results in integer overflow. The attack needs to be approached locally. Upgrading to version 0.9.0 is able to resolve this issue. The patch is identified as 0978a6e9022fb9bd6874b86154ee304e81929b9f. It is suggested to upgrade the affected compCVSS 10.0CVE-2026-138091 | A vulnerability was identified in Tenda AC10U 15.03.06.48. This affects the function TendaTelnet of the file /goform/telnet of the component Web UI. The manipulation leads to missing authentication. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Python Setup for Real Projects: VS Code, venv, pip and requirements.txt

Many Python beginners can write basic programs but get stuck when they try to run a real project on their own laptop. The issue is not always coding. Sometimes…

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

Many Python beginners can write basic programs but get stuck when they try to run a real project on their own laptop.



The issue is not always coding.



Sometimes the real problem is setup.



You may know loops, functions, and lists, but still face problems like:




ModuleNotFoundError
Python is not recognized
Package installed but not working in VS Code
Wrong interpreter selected






These are common beginner setup issues.









Why online compilers are not enough



Online compilers are good for quick practice.



But real Python projects need:




  • project folders

  • multiple files

  • external packages

  • virtual environments

  • dependency files

  • terminal commands

  • debugging tools

  • Git basics



So, when the goal is to build real projects, it is better to move to a local Python setup early.









Basic Python project setup flow



A simple Python project setup flow looks like this:




Install Python
Install VS Code
Create project folder
Create virtual environment
Activate virtual environment
Install packages
Save requirements.txt






This setup may look basic, but it prevents many beginner-level errors later.









Example folder structure



A beginner-friendly Python project folder can look like this:




python-project/
│
├── main.py
├── requirements.txt
├── README.md
└── venv/






Here is what each file or folder means:





  • main.py is the main Python file.


  • requirements.txt stores project dependencies.


  • README.md explains the project.


  • venv/ contains the virtual environment.









Create a virtual environment



Create a virtual environment using:




python -m venv venv






Activate it on Windows:




venv\Scripts\activate






Activate it on Mac/Linux:




source venv/bin/activate






A virtual environment keeps each project’s packages separate. This helps avoid package conflicts when working on multiple Python projects.









Install a package



After activating the virtual environment, install packages using pip.



Example:




pip install requests






Now create a Python file:




import requests

response = requests.get("https://api.github.com")
print(response.status_code)






If everything is set correctly, this should print a response status code like:




200












Save dependencies



After installing packages, save them in requirements.txt:




pip freeze > requirements.txt






Later, the same dependencies can be installed using:




pip install -r requirements.txt






This is useful when sharing projects with teammates, trainers, or during internships.









Beginner mistakes to avoid



Avoid these common setup mistakes:




  • Installing packages globally for every project

  • Not activating venv before installing packages

  • Selecting the wrong interpreter in VS Code

  • Running commands from the wrong folder

  • Naming files like requests.py, pandas.py, or flask.py

  • Uploading the venv folder to GitHub



These mistakes are very common. They do not mean someone is weak in Python. They usually mean the project setup is not clear yet.









VS Code or Jupyter?



Use VS Code when building structured projects with folders, multiple files, APIs, scripts, and reusable code.



Use Jupyter Notebook when doing data analysis, experiments, visual outputs, or step-by-step testing.



Both are useful.



But for real project structure, VS Code is a good starting point.









Final note



A proper setup will not make you an expert overnight, but it will reduce confusion and help you work more like a real developer.



Before building bigger Python projects, beginners should understand:




  • project folders

  • virtual environments

  • package installation

  • dependency files

  • interpreter selection

  • basic Git awareness



I wrote a deeper beginner-friendly version here:

Python Development Environment Setup for Real Projects

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)

4 Cluster
3 Bronnen
GitHub Release: can1357/oh-my-pi v19.3.0 (29.11.2026)
GitHub · can1357/oh-my-pi 20 uur geleden
2 andere bronnen
2 Bronnen
Mozilla Thanks Users For New Features in Firefox 161: Site-Specific VPN and Keyboard Shortcuts
Slashdot 1 dag geleden
1 een andere bron
Soortgelijke bijdragen
🔍 Verwandte News

Auch interessante Nachrichten Python Setup for Real Projects: VS Code, venv, pip and requirements.txt

Thematisch verwandte Begriffe: Python, Setup, Real, Projects · 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 & onderwerpen
Widgets laden…
Volgende bericht