Run jupyter automatically in python datasci

This commit is contained in:
coolneng 2022-10-20 10:29:28 +02:00
parent c866015907
commit a05122c8bc
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
with pkgs; with pkgs;
{ mkShell {
buildInputs = [ buildInputs = [
python3 python3
python3Packages.jupyter python3Packages.jupyter
@ -12,4 +12,10 @@ with pkgs;
python3Packages.matplotlib python3Packages.matplotlib
python3Packages.seaborn python3Packages.seaborn
]; ];
shellHook = ''
trap "kill 0" EXIT
jupyter notebook
'';
} }