Add __file__ variable supported by traditional Python scripts to Notebook environment
Aberta
- Linguagem predominante
- Python
- Estrelas
- 734
- Forks
- 412
- Merge médio
- 1d 5h
- PRs com merge (30d)
- 8
Descrição
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?
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.