thedevs_python | Unsorted

Telegram-канал thedevs_python - Python

4418

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

Lumi, seriously? :0
Ain't that kinda nepotism??

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

Python

I mean website design projects and projects in software-related fields.

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

Python

except this one, its the first time hearing about it

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

Python

Well it's likely you use it manually then

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

Python

The short answer is that it's syntax sugar for state machines

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

Python

When you need a function that returns control to the caller without the function itself completing its execution, yet

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

Python

When you create generators

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

Python

Anyone got django 4 pdf ?

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

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

i usally take my projects from my own network, they simply call me for it


(note i dont use linkedin)

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

Python

You likely could have used a generator for those

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

Python

Do you ever make classes that just have methods like next() or step() or iter() or tick() or something like that?

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

Python

yup, personally i never use it,

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

Python

heres a example:

def never_ending_loop(a:List[int])->Generator[int,None,int]:
while True:
i:int
for i in a:
yield i

if __name__ == "__main__":
i:int
for i in never_ending_loop([1,2,3]):
print(i)

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

Python

you have a function that does not end with return statement
the function simply runs after yileding (returning) the value

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

Python

When to use yield in python

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

Python

I solemny swear I'm up to no good

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

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]

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