What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-24 11:45:01
how to load cifar10 in python
"""Load from /home/USER/data/cifar10 or elsewhere; download if missing.""" import tarfile import os from urllib.request import urlretrieve import numpy as np def cifar10(path=None): r"""Return (train_ima... Add solution -
Python 2022-03-16 21:15:19
python lunarcrush script
import urllib.requestimport sslimport jsonimport timeimport tweepyssl._create_default_https_context = ssl._create_unverified_contextapi_key = "API_KEY_HERE"# Allows adding as many coins as desiredcoin_list = [ "LTC", "ETH&qu... Add solution -
Other 2022-03-11 08:25:12
Rejetto HTTP File Server
#!/usr/bin/python # Exploit Title: HttpFileServer 2.3.x Remote Command Execution # Google Dork: intext:"httpfileserver 2.3" # Date: 04-01-2016 # Remote: Yes # Exploit Author: Avinash Kumar Thapa aka "-Acid" # Vendor Homepage: http://re... Add solution -
Other 2022-03-09 12:40:08
query mriqc api with Python
In [2]: def get_iqms(modality, versions=None, software='mriqc'): """ Grab all iqms for the given modality and the list of versions """ url_root = 'https://mriqc.nimh.nih.gov/api/v1/{modality}?{que... Add solution -
Shell/Bash 2022-02-11 16:55:02
discord.py bot github
#Discord.py bot github import discord from discord.ext import commands import datetime from urllib import parse, request import re bot = commands.Bot(command_prefix='>', description="This is a Helper Bot") @bot.command() async def ping(ct... Add solution -
Python 2022-01-25 12:56:39
live stock market data python
import urllib.request import json class GoogleFinanceAPI: def __init__(self): self.prefix = "http://finance.google.com/finance/info?client=ig&q=" def get(self,symbol,exchange): ... Add solution
Best helpers
Bin Nguyễn
+5
Buttercup
+5
Vidhi Patel
+5
Gruppetto
+5
Mai Rose
+5
Fishbean
+5
James Song
+5
Eric Vought
+5