Select to view content in your preferred language

%load magic command not working in notebook

914
2
Jump to solution
12-31-2020 04:29 PM
Labels (1)
DaleJackan1
New Contributor II

I just wanted to check and see if it was just me. I am using ArcGIS Pro 2.7.0 and I have been using some magic commands in the notebook and ran into a problem with %load not working. The other commands such as %%writefile SomeFilePath.py work. If I use the same ArcGIS Pro python environment in a jupyter notebook %load works fine. Essentially I am trying to "load" a python script into a cell of my ArcGIS Pro notebook, but within ArcGIS Pro I cannot get it to work. Has anyone else had this problem, or am I doing something wrong?

 

Cheers,

Dale 

1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

not all magics are supported even though %magic would suggest otherwise (eg %lsmagic doesn't work)


... sort of retired...

View solution in original post

2 Replies
DanPatterson
MVP Esteemed Contributor

not all magics are supported even though %magic would suggest otherwise (eg %lsmagic doesn't work)


... sort of retired...
DaleJackan1
New Contributor II

Thank you for replying. I had read that not all magics were implemented, I was just hoping it was user error.

0 Kudos