-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python path.py usage ? #35
Comments
No, we haven't considered it, but to be honest it doesn't seem to improve the example code substantially, and because of this I don't think it's worth adding to dependencies. As far as I know The less dependencies, the better. |
But as you can see e.g. here or (ironically in the same snippet I quoted earlier) here , everyone is really inclined to use the Also |
First thing, that's an issue with I really don't like adding dependencies that are not needed. It's fine to do it for personal projects, but not at all for libraries that are installed on so many computers. Dependencies are additional problems you have to worry about. If they break, your code will be broken too. If they get deleted (see famous |
Hello, thanks for this awesome work !
Have you considered using path.py to wrapp os.path function ?
https://pypi.python.org/pypi/path.py
As code compacity and readability seems to be a major concern, it could be nice to use it. It's avalaible for python 2.7 and 3.5, os independent, and can be downloaded via pip.
Here is an example for ImageFolder dataset :
and now with path.py wrapper :
Maybe you considered it but still decided not to use it ? In that case why ? (like not the accusing 'why', that is a genuine question as i am not very experienced for deploying big python frameworks)
The text was updated successfully, but these errors were encountered: