unwanted arcpy messages in jupyter notebooks

385
2
Jump to solution
01-30-2023 05:52 AM
MatthewMassey
New Contributor III

hi all. i'm developing a notebook workflow (standalone jupyter, not in arc), and i keep getting empty message outputs for all arcpy functions i use (createfilegdb, delete, pairwiseclip, dissolve)...see the screenshot below, for one example. this doesn't happen when using in for loops. is there any way to prevent these?

 

MatthewMassey_0-1675086673532.png

 

0 Kudos
1 Solution

Accepted Solutions
JohannesLindner
MVP Frequent Contributor

If you assign to a variable, the messages don't show:

JohannesLindner_0-1675087078127.png

 


Have a great day!
Johannes

View solution in original post

0 Kudos
2 Replies
JohannesLindner
MVP Frequent Contributor

If you assign to a variable, the messages don't show:

JohannesLindner_0-1675087078127.png

 


Have a great day!
Johannes
0 Kudos
MatthewMassey
New Contributor III

ha! so easy. thanks!

0 Kudos