FileCopyMove Python Versioning
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
Solved! Go to Solution.
- Labels:
- Connectors
- Custom Tools
- Engine
- Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you @apathetichell! When you refer to "platform sdk vs the python sdk" are you referring to directly within the .py file? i.e.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
l will probably do the latter! Thank you for the suggestion!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@flying008 --- totally. In this case it's fairly straight forward and should be more system activity based (copying files/creating directories) vs data processing.
