Skip to content

Instantly share code, notes, and snippets.

@pklimai
Created July 22, 2017 19:51
Show Gist options
  • Save pklimai/763e2a7a26c41db33a3ca804eee80be7 to your computer and use it in GitHub Desktop.
Save pklimai/763e2a7a26c41db33a3ca804eee80be7 to your computer and use it in GitHub Desktop.

Revisions

  1. pklimai created this gist Jul 22, 2017.
    5 changes: 5 additions & 0 deletions pyez_version.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # The problem is that on-box PyEZ has version.pyc and not version.py, but you can get version this way:

    from jnpr.junos import version

    print version.VERSION