2018-01-27 20:56:36 +0200 | received badge | ● Scholar (source) |
2018-01-27 20:56:36 +0200 | commented answer | Making a collection of functions No problem! I figured it out. Just "import myfile" works just fine. |
2018-01-27 20:53:49 +0200 | received badge | ● Supporter (source) |
2018-01-27 20:50:02 +0200 | commented answer | Making a collection of functions Thank you for your answer! what if I want to import all the functions at once though? |
2018-01-27 20:35:45 +0200 | received badge | ● Student (source) |
2018-01-27 20:33:09 +0200 | asked a question | Making a collection of functions I have a somewhat large collection of functions that I wrote myself to make some computations. They are all very much dependent on each other so if I ever want to use some subset of them, say when I'm working in some Jupyter notebook, I have to copy paste the whole bunch of them into a cell and evaluate it. This makes the notebook really bulky and ugly. Is there anyway I can make these functions into a package so that I can just import it in any jupyter notebook that's in the same folder to use those functions? |