#simple demo notepad from tkinter import * from tkinter .messagebox import showinfo from tkinter .filedialog import askopenfilename,asksaveasfilename import os root=Tk() def undo_edit(): Textarea.event_generate(‘<<Undo>>’) def cut_edit(): Textarea.event_generate(‘<<Cut>>’) def copy_edit(): Textarea.event_generate(‘<<Copy>>’) def paste_edit(): Textarea.event_generate(‘<<Paste>>’) ”’def delete_edit(): pass”’ ”’def select_edit(): Textarea.event_generate(‘<<Sel>>’)”’ def select_edit(event=None): Textarea.tag_add(‘sel’, ‘1.0’, ‘end’) return “break” def new_file(): global fil root.title(‘Untitled – Notepad’) fil=None Textarea.delete(1.0,END) def … Read more Simple mini-projects for practice
How code runs and output generates is shown manually (Dry run) OR YOU MAY DOWNLOAD WORD-DOCUMENT (at bottom)
Topics to cover- Basics – variables and rules for naming variables, constants and its type, simple e.g. for illustration, data type Intro DS – data structure and its types with differences, why DS, typical operations on DS, example to demonstrate Data Structure, Abstract Data Type (ADT) with DS Basics: A variable is a data name … Read more Intro Data Structure from Basics
1. Make your body straight Always try best to sit as well as walk straight so that our body can function better. We get rid of back pain and neck injury too. It is recommended for vajrasana (type of posture) after meals. 2. Use the power of choice Day in and day out, we act … Read more Six keys to uplift our life.
“You too have a hero inside of you. You knew this as a child before adults told you too limit your power, kills your genius and betray the truths of your heart.” Adults are deteriorated children. A child knows to live wildly- staring at stars, running in a park, playing with toys and chasing butterflies; … Read more Journey from liberation to trapped…