# import numpy as np
# import networkx as nx
# # import webget

# webget.download("https://snap.standford.edu/data/twitter_combined.txt.gz")

# with gzip.open('twitter_combined.txt.gz', 'r') as f:
#     g = nx.read_edgelist(f)

import gzip
import shutil

with gzip.open('https://snap.stanford.edu/data/twitter_combined.txt.gz', 'rb') as f_in:
    with open('twitter_combined.txt.gz', 'wb') as f_out:
        shutil.copyfileobj(f_in, f_out)

print()
530715f70a298782d419048bc75d40bb06a7ddac
<mask token>

<mask token>
with gzip.open('https://snap.stanford.edu/data/twitter_combined.txt.gz', 'rb'
    ) as f_in:
    with open('twitter_combined.txt.gz', 'wb') as f_out:
        shutil.copyfileobj(f_in, f_out)
print()

import gzip
import shutil
with gzip.open('https://snap.stanford.edu/data/twitter_combined.txt.gz', 'rb'
    ) as f_in:
    with open('twitter_combined.txt.gz', 'wb') as f_out:
        shutil.copyfileobj(f_in, f_out)
print()

# import numpy as np
# import networkx as nx
# # import webget

# webget.download("https://snap.standford.edu/data/twitter_combined.txt.gz")

# with gzip.open('twitter_combined.txt.gz', 'r') as f:
#     g = nx.read_edgelist(f)

import gzip
import shutil

with gzip.open('https://snap.stanford.edu/data/twitter_combined.txt.gz', 'rb') as f_in:
    with open('twitter_combined.txt.gz', 'wb') as f_out:
        shutil.copyfileobj(f_in, f_out)

print()