Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

python/sql variables

$
0
0

Was hoping someone had some experience pulling a single field out of a query and assigning it to a variable inside a python script.

 

Use Case: I want to pull the interfaceName field and assign a variable to that specific field that i can use in my python script. I understand how to query the database through the swisclient python module, but am having a hard time finding any documentation on how to assign a variable based on the output. Of course if there is a smarter way I should be looking at this i'm open to new ideas.


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>