Posts

Showing posts from December 26, 2018

Benjamin Douglas

Image
Benjamin Douglas From Wikipedia, the free encyclopedia This is an old revision of this page, as edited by 73.96.113.45 (talk) at 00:48, 21 January 2017 (Undid revision 759714702 by 67.1.111.35 (talk)) . The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision . Revision as of 00:48, 21 January 2017 by 73.96.113.45 (talk) (Undid revision 759714702 by 67.1.111.35 (talk)) (diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff) Jump to navigation Jump to search Benjamin Douglas (April 3, 1816 – June 26, 1894) was an American politician, inventor, and abolitionist who was the 30th Lieutenant Governor of Connecticut from 1861 to 1862. [1] Contents 1 Family 2 Invention 3 Political career 4 Abolition 5 See also Family Douglas was born in Northford, Connecticut, on April 3, 1816. His paternal grandfather wa

NGC 5544

Image
NGC 5544 From Wikipedia, the free encyclopedia Jump to navigation Jump to search NGC 5544 NGC 5544 (right) and NGC 5545 (left) imaged with a 32-inch telescope Observation data (J2000 epoch) Constellation Boötes Right ascension 14 h  17 m  02.63 s [1] Declination +36° 34′ 15.9″ [1] Redshift 0.010140 ± 0.000057 [2] (3,040 km/s) Distance 139.6 ± 9.8 Mly (42.8 ± 3.0 Mpc) [3] Apparent magnitude  (V) 14.0 [3] Characteristics Type (R)SB(rs)0/a [3] Apparent size  (V) 1.08′ × 1.05′ [3] Notable features Paired with NGC 5545 Other designations APG 199, ARP 199, CGCG 191.073, GC 3833, H II-419, h 1771, KCPG 422A, KPG 422a, LEDA 51018, MCG+06-31-090, PGC 51018, PRC D-46, UGC 9142, UZC J141702.5+363417, VV210, Z 191-73, Z 1415.0+3648. See also: Galaxy, List of galaxies NGC 5544 is a barred spiral galaxy in the constellation Boötes. It is interacting with spiral galaxy NGC 554

How to store tkinter button widgets in a dictionary?

Image
1 The two goals of my program: #1 copy notes to the clipboard after clicking a button; and #2 make the button widgets persist through restart of the program. (This post will focus solely on goal number 1) The buttons are populated as expected, but the command does not work properly (No Errors though). I've tried other clipboard modules such as pyperclip with no luck. Apologies if this was hard to follow, I just started to learn python as my first programming language last week. I would like to know how I would go about making the buttons copy their corresponding notes to the clipboard. from tkinter import * import json root = Tk() root.title("CopyNotes") root.geometry() json_file = open("dictionary.json", encoding="utf-8") mynotes = json.load(json_file) for keys in mynotes: