Skip to content

Instantly share code, notes, and snippets.

public class PTimer extends Thread{
private int waitTime;
private int seq = 0;
private SWE swe = null;
public PTimer(int time, int s, SWE c) {
waitTime = time;
seq = s;
swe = c;
#!/usr/bin/env python
import os
import subprocess
# from subprocess import PIPE, Popen
def cmdline(command):
process = subprocess.Popen(
args=command,
'''
Guide for usage:
In your terminal, run the command:
python download_gdrive.py GoogleFileID /path/for/this/file/to/download/file.type
Credited to
https://stackoverflow.com/questions/25010369/wget-curl-large-file-from-google-drive
author: https://stackoverflow.com/users/1475331/user115202
'''