# pacman -S vivaldihttps://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux
Then configure it at start up
# pacman -S vivaldihttps://www.omgubuntu.co.uk/2017/04/mount-google-drive-ocamlfuse-linux
Then configure it at start up
Question:
| import json | |
| import sys | |
| from flatten_json import flatten | |
| import pandas as pd | |
| #check if you pass the input file | |
| if sys.argv[1] is not None: | |
| fileInput = sys.argv[1] | |
| inputFile = open(fileInput) #open json file |
| import requests | |
| from requests.auth import HTTPBasicAuth | |
| import json | |
| import csv | |
| import logging | |
| import sys | |
| from logging.handlers import TimedRotatingFileHandler | |
| FORMATTER = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s") | |
| LOG_FILE = 'my_app.log' |
| """ | |
| __author_ = "Josphat Mutuku" | |
| __date__ ="2019-07-03" | |
| """ | |
| import requests | |
| import unittest | |
| import json | |
| import ijson |
| const lodash = require('lodash') | |
| pm.test("Validate Response to be 200 OK", function () { | |
| pm.response.to.have.status(200); | |
| }); | |
| pm.test("Validate Response Time to be less than 200ms", function () { | |
| pm.expect(pm.response.responseTime).to.be.below(200); | |
| }); |
| """ | |
| __author_ = "Josphat Mutuku" | |
| __date__ ="2019-07-03" | |
| """ | |
| from selenium import webdriver | |
| from selenium.webdriver.common.by import By | |
| from selenium.common.exceptions import NoSuchElementException | |
| import unittest |
| import fileinput | |
| #Read in the file | |
| with open('aws-whitepapers.txt','r') as file: | |
| filedata=file.read() | |
| #Replace the target string | |
| filedata = filedata.replace('//','https://') | |
| #Write the file out again |