Free Trial

Alteryx Designer Desktop Discussions

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

FileCopyMove Python Versioning

DylanDowrick
9 - Comet

Hello!
We use the FileCopyMove tool by @bobpeers. We are currently on Designer 23.2."something" and it works great. We are looking to upgrade to 24.1, but with the Python upgrade from 3.8 to 3.10 will there be any compatibility issues?

GitHub - bobpeers/Alteryx_SDK_FileCopyMove: Alteryx SDK Tools - File Operations
File Copying and Moving - Page 4 - Alteryx Community

6 REPLIES 6
apathetichell
19 - Altair

you'd have to bring this in using the platform sdk vs the python sdk. the code doesn't seem wildly complicated but it's a different python SDK so it won't work as is. I don't know if it'as simple as swapping the two sdks and running. platform sdk requires you to run in AMP for 'reasons'

DylanDowrick
9 - Comet

Thank you @apathetichell! When you refer to "platform sdk vs the python sdk" are you referring to directly within the .py file? i.e.

 

Screenshot 2024-12-26 121955.png

apathetichell
19 - Altair

Yes. note ---> my take is this is really overkill for what you are doing. you could create a macro -> drop the code (with minor variations) in a python tool and use a more standard process (vs a .yxi using the SDK) and get the same results.

DylanDowrick
9 - Comet

l will probably do the latter! Thank you for the suggestion!

flying008
15 - Aurora

Hi, @apathetichell 

 

Although the same task can be accomplished by using a macro with Python tool, the efficiency of Python tool is slightly lower than that of Python engine SDK when more records or files.

apathetichell
19 - Altair

@flying008 --- totally. In this case it's fairly straight forward and should be more system activity based (copying files/creating directories) vs data processing. 

Labels
Top Solution Authors