I don't quite understand that. I did some research, and I read that the requirements.txt is somehow generated from requirements.in. But what is the difference between the two files then? Could you give me an example of what a requirements.in file would look like?
Ohhh now I get it. It's basically like
package.jsonandpackage-lock.jsonin node, but for Python.It's a bit strange to me that this isn't the default in Python...
I don't quite understand that. I did some research, and I read that the requirements.txt is somehow generated from requirements.in. But what is the difference between the two files then? Could you give me an example of what a requirements.in file would look like?
Thank you!
That looks really convenient, especially when installing and switching Python versions. I'll keep that in mind. Thanks!
What should I use instead? pyproject.toml?
I am pretty new to Python so I'm not very familiar with the ecosystem yet...
I've noticed that too, but why? I don't understand the point of this.