19 August 2025
id 7139679048Yes I understand but most times it becomes an infinite loop
Then your condition is not right, I mean if most cases will end in infinite loop why would you put a conditional?
id 7139679048text not yet in the index
while initiates a loop and where you put the condition you have True instead, which is what makes it run endlessly. To break out of such a loop you'd need to use the break keyword inside it. In other cases you want to put a variable or condition there, which, at some point, evaluates to False to stop the loop.
cloudedwhile initiates a loop and where you put the condition you have True instead, which is what makes it run endlessly. To break out of such a loop you'd need to use the break keyword inside it. In other cases you want to put a variable or condition there, which, at some point, evaluates to False to sto
Thank you very much
id 780908315Hell group any data analyst in the house?... My python knowledge is mid but with help of ai i am able to do data analysis taska
I'm not sure if I should you refer to @pythonofftopic or not. Do you have an actual question besides the acontextual request of an expert?
Hello everyone, how do I distribute a single python module file (my_module.py) using pyproject.toml and also including stuff like py.typed? I tried finding a minimal example, but all examples seem to be about packages rather than a single module. I am having a hard time writing pyproject.toml for a single module file along with including py.typed in distribution, even if I get it done to distribute module, it seems to be not including py.typed in the distribution/installation, leading mypy report error:
bash
error: Skipping analyzing "my_module": module is installed, but missing library stubs or py.typed marker [import-untyped]
Could anyone please guide me?
Here's my current pyproject.toml:
https://hastebin.com/share/lawecihoji.ini
I used pip install . in the same directory of the module to install, was it correct the way?
Sorry if this is off-topic, I do not know where to ask for this help, since it's python language related.
Megane wo WasuretaHello everyone, how do I distribute a single python module file (my_module.py) using pyproject.toml and also including stuff like py.typed? I tried finding a minimal example, but all examples seem to be about packages rather than a single module. I am having a hard time writing pyproject.toml for a
Inquire about AI robots
Megane wo WasuretaHello everyone, how do I distribute a single python module file (my_module.py) using pyproject.toml and also including stuff like py.typed? I tried finding a minimal example, but all examples seem to be about packages rather than a single module. I am having a hard time writing pyproject.toml for a
And why don't you make a package?
id 5403591929Hello guys...please can someone enlighten me on class in python?
Which specific topic? Where are you stuck?
Charly RománAnd why don't you make a package?
making it a package seems redundant, since it's a very short module. i couldn't seem to find any way to distribute it like that, maybe it's discouraged over the package? I am not aware of that.
id 7553442539The front end and back end code
So you want the code of full projects so you can present it as your in your school?
Charly RománSo you want the code of full projects so you can present it as your in your school?
Yes sir I want that code sir