Python Scripting Guide
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 05:06 AM
Hi everybody!
I've recently update EXOS to 15.6. and I really would love to write some python scripts. Honestly, I'm not into programming actually. I just write python scripts sometimes.
So, I've read EXOS 15.6 User Guide, but there are few information about python scripting. Аt least for me) Does anybody give me some examples or maybe guides, articles, posts or something about it?
Thanks for help!
I've recently update EXOS to 15.6. and I really would love to write some python scripts. Honestly, I'm not into programming actually. I just write python scripts sometimes.
So, I've read EXOS 15.6 User Guide, but there are few information about python scripting. Аt least for me) Does anybody give me some examples or maybe guides, articles, posts or something about it?
Thanks for help!
26 REPLIES 26
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 01:37 PM
Thanks. I'm going to start right now. )
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 12:02 PM
The standard library is HUGE. You have a lot of modules included. As an example, sys is part of the standard library.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 11:53 AM
What library I can use in python scripting on Extreme switches?
standard library
sys
pexpect
exshexpect
exsh
what else?
standard library
sys
pexpect
exshexpect
exsh
what else?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 11:44 AM
ah, all these spoilers before the release of the guide... 🙂
of course, you can use UPM with Python scripting.
UPM provides environmental variables (for example the port where the event has occurred) and a Python script can use it. Just pass the variable(s) as argument(s) to the python script.
of course, you can use UPM with Python scripting.
UPM provides environmental variables (for example the port where the event has occurred) and a Python script can use it. Just pass the variable(s) as argument(s) to the python script.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
02-06-2015 11:28 AM
Thanks guys! I'm going to dive in!
