You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
309 B
Python
16 lines
309 B
Python
|
11 months ago
|
import os, json
|
||
|
|
|
||
|
|
|
||
|
|
pins = open('db_pins.json', 'r')
|
||
|
|
pins = json.load(pins)
|
||
|
|
|
||
|
|
importedPins = open('db_pins_imported.json', 'r')
|
||
|
|
importedPins = json.load(importedPins)
|
||
|
|
|
||
|
|
allPins = pins + importedPins
|
||
|
|
print(len(allPins))
|
||
|
|
|
||
|
|
finalPins = open('allPins.json', 'r')
|
||
|
|
finalPins = json.load(finalPins)
|
||
|
|
|
||
|
|
print(len(finalPins))
|