CMS 3D CMS Logo

relmon_authenticated_wget.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
11 
12 from __future__ import print_function
13 from sys import argv,exit
14 from utils import wget
15 
16 if __name__=="__main__":
17  argc=len(argv)
18  if argc!=2:
19  print("Usage %prog url-to-fetch")
20  exit(1)
21 
22  url=argv[1]
23  wget(url)
utils.wget
def wget(url)
Definition: utils.py:459
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:46
beamvalidation.exit
def exit(msg="")
Definition: beamvalidation.py:53