thedevs_python | Unsorted

Telegram-канал thedevs_python - Python

4134

Part of @thedevs General Rules: @rulesforthedevs Only related to group topic (Python + Python Frameworks) Other @thedevs groups: https://thedevs.network

Subscribe to a channel

Python

👉 «Travesura realizada.»

Читать полностью…

Python

mcp-kali-server | Kali Linux Tools
https://www.kali.org/tools/mcp-kali-server/

Читать полностью…

Python

Couldn't find the video anymore but here all info

Читать полностью…

Python

I was programming FPGAs with a Vivado mcp with his instructions

Читать полностью…

Python

Issue resolved: MCP runs tools in a sandbox, so calling SUMO tools via subprocess fails; the fix was to add SUMO_HOME/tools to sys.path and invoke randomTrips via its Python API instead of spawning external binaries.

Читать полностью…

Python

What do you mean useless

Читать полностью…

Python

How to write selenium python code for sites using cloudflare

Читать полностью…

Python

Otherwise do whatever you want

Читать полностью…

Python

When you're coding always go for the thing that is less likely to fk up

Читать полностью…

Python

Yes thats againts Nasa 10 rules

Читать полностью…

Python

Nuh i use function pointers, both for returning and taking, to be functional

Читать полностью…

Python

Idk much of this stuff TwT
I just code out of instinct

Читать полностью…

Python

It doesn't impose constraints for or against the use of structs

Читать полностью…

Python

If by this you mean the simple C-style programming, I would just call it procedural programming

Читать полностью…

Python

@matlumin Lumi??

Читать полностью…

Python

«Juro solemnemente que mis intenciones no son buenas.»

Читать полностью…

Python

true, MCP works well when the runtime permits external tooling; my issue was just the sandbox restrictions.

Читать полностью…

Python

GitHub - theNetworkChuck/docker-mcp-tutorial: Complete tutorial materials for building MCP servers with Docker - from NetworkChuck's video
https://github.com/theNetworkChuck/docker-mcp-tutorial

Читать полностью…

Python

Network chuck had a gpt prompt that generates the mcp servers for you

Читать полностью…

Python

What you can do is use flaresolverr solve Cloudflare and then just get cookies + user-agent; set it in Selenium and go with it

Читать полностью…

Python

Just don’t, useless work

Читать полностью…

Python

I’m building an agentic AI around SUMO using Python (TraCI + randomTrips.py).

The issue is that the process hangs indefinitely during map/traffic generation and only exits when a timeout kills it.

Interestingly, the output files (.net.xml, .trips.xml, .rou.xml) are generated only after I force-terminate the process, not during normal execution. Only .net.xml is generated during execution.

I’ve already removed disabled --validate, redirected stdout/stderr to files, and added explicit timeouts, but the hang persists.

Has anyone faced this behavior with randomTrips.py or SUMO on Windows, and what’s the correct way to make it exit cleanly?


randomTrips.py (given by SUMO): https://pastebin.com/raw/ZhqfkcsD
my code: https://pastebin.com/raw/xLjvitgh [I have mentioned comment, at the line of code at where is just start infinite thing]

Читать полностью…

Python

Adding to that
If you can't afford the fkd up situations

Читать полностью…

Python

Well there's a thing bud

Читать полностью…

Python

Heh, I generally try to avoid them in C

Читать полностью…

Python

So you can program with structs procedurally, and without structs procedurally

Читать полностью…

Python

Procedural is a sub-class of imperative since procedural includes block and scope concepts, whereas imperative describes a more general concept that does not require such features. Procedural languages generally use reserved words that define blocks, such as if, while, and for, to implement control flow, whereas non-structured imperative languages (i.e. assembly language) use goto and branch tables for this purpose.

Читать полностью…

Python

involves implementing the behavior of a computer program as procedures (a.k.a. functions, subroutines) that call each other. The resulting program is a series of steps that forms a hierarchy of calls to its constituent procedures.

Читать полностью…

Python

Function oriented proggramming

Читать полностью…

Python

And ofc using methods sometimes doesn't mean we need to *only* use methods, some things are nicer as functions

Читать полностью…
Subscribe to a channel