ubsuny / 23-Homework6G5

MIT License
0 stars 8 forks source link

Do we need to contain calculus.py in a folder like a standard library? #13

Open WildJimmy opened 10 months ago

WildJimmy commented 10 months ago

Online sources (such as https://packaging.python.org/en/latest/tutorials/packaging-projects/) tell me that when creating a python library, you need to create a folder with the python files you wish to include and an init.py file. However, for a single file this leads to the slightly redundant behavior I noted in this issue https://github.com/ubsuny/23-Homework6G1/issues/17.

My point is, do we need to do the whole folder setup, or are we able to just use a single file in this case?

poojashresthacode commented 10 months ago

I think single file is okay, but you can also do the whole folder setup.

LinxuanHu commented 10 months ago

did you figured it out?