ipython / ipython/ipykernel

Add __file__ variable supported by traditional Python scripts to Notebook environment

Aperta
#227 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
734
Fork
412
Merge medio
1g 5h
PR unite (30g)
8

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.