Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Execute Python Script
San
Hello all, i am giving input file as txt from my local repository path inside python script as input for converting txt to json and storing it in a local repository as json. But I would like to read txt through read document operator and then give that example set or a document as input to execute python script operator. Please tell me how to do it or just share those small snippet.
Find more posts tagged with
AI Studio
Accepted answers
kayman
You could store your snippet in a macro before you execute your python, and just call it back from within your python script. Using the %{my_macro_value} works directly in the python operator.
All comments
kayman
You could store your snippet in a macro before you execute your python, and just call it back from within your python script. Using the %{my_macro_value} works directly in the python operator.
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups