In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Copying / Exporting Notebook from Python Tool

Markus2
7 - Meteor

Hello All

 

What is the best way to leverage a notebook from one Python Tool to another? As it is possible to import a notebook into a Python Tool it would be sufficient if there were a possibility to export it from a Python Tool, but I do not see any such functionality.

3 REPLIES 3
echuong1
Alteryx Alumni (Retired)

Follow the below steps to import python code:

echuong1_0-1605099745020.png

 

https://help.alteryx.com/current/designer/python-tool

Markus2
7 - Meteor

I don't want to import, but to export it.

abner-sa
8 - Asteroid

I had the same problem with Jupyter notebook codes in Alteryx files. Even, sometimes, the code "disappears".

So, I create a small script to get the codes (Save as Get-JupyterCodeInAlteryxFiles.ps1).

 

Description:
Find, get Jupyter notebook codes in yxmc, yxwz, and yxmd files and write in the same directory as these files.
The filenames of the created files follow the following conversion: "(Alteryx filename) (ID) (Name).ipynb"

 

Example:

Get-JupyterCodeInAlteryxFiles.ps1 -Path "...\workflows\"

 

Labels
Top Solution Authors