Add __file__ variable supported by traditional Python scripts to Notebook environment
Ouverte
- Langage dominant
- Python
- Étoiles
- 734
- Forks
- 412
- Merge moyen
- 1 j 5 h
- PR mergées (30 j)
- 8
Description
It would be cool, if the ``__file__`` variable present in traditional Python scripts also existed with a notebook. This could be especially helpful when generating dynamic paths.
Other Python double underscore methods, such as ``__doc__`` and ``__name__``, are already present. Why not add this one?
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.