runfile('/home/as/Downloads/ib_ticks_resample.py', wdir='/home/as/Downloads') code example
Example: how to download file from python
import wget
url = "https://www.python.org/static/img/[email protected]"
wget.download(url, 'c:/users/LikeGeeks/downloads/pythonLogo.png')