There *is* also the '%load' magic. But 'from my_stuff import *' is almost
always a better idea.

On Fri, Aug 2, 2019, 2:49 PM Christopher Barker <python...@gmail.com> wrote:

> Getting really OT now, but quickly:
>
> On Fri, Aug 2, 2019 at 11:28 AM Chris Angelico <ros...@gmail.com> wrote:
>
>> On Sat, Aug 3, 2019 at 4:19 AM Ricky Teachey <ri...@teachey.org> wrote:
>> > Remember that Jupyter has a pretty nice text editor
>
>
> Actually, I think it's pretty darn crappy -- at least compared to any
> "proper" coding editor...
>
>
>> Although I didn't know you could import a .py file into a cell.
>
>
> I think he means putting:
>
> import my_python_file
>
> in a cell, like any other python code.
>
> And yes, you can do that, and students should, but the fact is that
> Jupyter encourages people to write al their code in the notebook.
>
> -CHB
>
> --
> Christopher Barker, PhD
>
> Python Language Consulting
>   - Teaching
>   - Scientific Software Development
>   - Desktop GUI and Web Development
>   - wxPython, numpy, scipy, Cython
> _______________________________________________
> Python-ideas mailing list -- python-ideas@python.org
> To unsubscribe send an email to python-ideas-le...@python.org
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/python-ideas@python.org/message/ANBYE6ID5MAQAJXXGFVNT42HUNGYKWGO/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/VXVRFZ5BHNMJUDLV2R5A2RLBLVJQ5DUF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to