What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-16 09:00:32
create json file in python\
#import the json module import json #create a dictionary which we can add to a json file dictionary ={ "name" : "sathiyajith", "rollno" : 56, "cgpa" : 8.6, "phonenumber" : "99767... Add solution -
Python 2022-02-01 08:15:05
google sheet python update
from oauth2client.service_account import ServiceAccountCredentials import gspread scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive', 'https://www.googleapis.com/auth/drive.file', 'https://www.googleapis.co... Add solution -
Javascript 2022-01-31 03:57:19
Manually Parsing Plain text in Node.js
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=fy2RF9JR1BI */ // Import dependencies const fs = require("fs"); // Read the text file and split it on new lines const lines = f... Add solution -
Javascript 2022-01-28 07:17:19
awaitmessages discord.js v12
// The provided set allows for responder error with an array of // answers permitted. Ideally, it would be best to place this in // a JSON file, which you can call quiz.json for simplicity. const quiz = require('./quiz.json'); const item = quiz[Math.flo... Add solution -
Javascript 2021-11-18 17:12:11
python config file json datatypes
import pandas as pd import json import numpy as np # Create a file (csv) for test purposes data = '''\ 3,10,3.5,abc 3,010,3,bcd''' file = io.StringIO(data) # Create a file (json) for test purposes json_data = '''\ { "header":[ [&quo... Add solution -
Python 2021-11-16 07:39:18
google sheet python read
# google sheet package from gsheets import Sheets # Authorizing the api #create oath credentials and generate a json file and paste here sheets = Sheets.from_files('FD4GS.json', 'FD4GS_cache.json') vi1 = sheets.get('#Paste your sheet id') vi1_form1_w... Add solution -
Javascript 2021-11-05 03:23:10
Manually Parsing HTML in Node.js
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=PozG7Sva270 */ // Import dependencies const fs = require("fs"); const cheerio = require("cheerio"); const cheerioTable... Add solution -
C# 2021-11-04 00:09:10
unity resources load
// To load something from the 'Resources' folder, see examples // Load a text file (Assets/Resources/Text/textFile01.txt) var textFile = Resources.Load<TextAsset>("Text/textFile01"); // Load text from a JSON file (Assets/Resources/Text/j... Add solution -
Javascript 2021-10-25 05:24:11
Manually Parsing PDF in Node.js
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=b2dLDqmYT4I */ // Import dependencies const fs = require("fs"); const PDFParser = require("pdf2json"); // Get all the... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5