What do you want to save?
Add Code snippet
New code examples
-
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-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 -
Python 2022-02-18 03:05:07
cannot create group in read-only mode. keras
from keras.models import load_model from keras.models import model_from_json import json with open('model_in_json.json','r') as f: model_json = json.load(f) model = model_from_json(model_json) model.load_weights('model_weights.h5') Add solution -
Python 2022-02-14 19:10:07
sklearn recognising sentences
import json with open("data/import/trained_sentences.json", "r") as json_file: json_data = json.load(json_file) >>> json_data[0] {u'words': [{u'word': u'You', u'speaker': False}, {u'word': u'ca', u'speaker': False},... Add solution
Best helpers
Amine
+5
Asgs
+5
Jboeke
+5
Frank Gado
+5
Jim MacA
+5
Lightalloy
+5
PeterSalz
+5
Altendky
+5
GiantDuck
+5
Faerubin
+5
David Baucum
+5
Xiagua
+5
Ravin Online
+5
Xemnarth
+5
Withkare
+5
DSM
+5
Njbair
+5
Troy Woo
+5