Skip to content

Instantly share code, notes, and snippets.

View romanodev's full-sized avatar
💭
Developing OpenBTE

Giuseppe Romano romanodev

💭
Developing OpenBTE
View GitHub Profile
from mpi4py import MPI
import numpy as np
comm = MPI.COMM_WORLD
def allocate_shared_dict(varss):
"""allocate_shared_dict( {'data_1':np.zeros(10),'data_2':np.ones(10)} if comm.rank == 0 else None) """
dict_output = {}
@romanodev
romanodev / autoarxiv.py
Created February 6, 2020 01:34
Submit your paper to arXiv
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.select import Select
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException
import os
import urllib.request, urllib.parse, urllib.error
from selenium.webdriver.chrome.options import Options