From b8bd3f62573b795622d60d533a63517fef47d737 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Fri, 1 Nov 2019 20:56:47 +0800 Subject: python-files: add copyright notice --- app/UseSqlite.py | 6 ++++++ app/WordFreq.py | 5 +++++ app/difficulty.py | 5 +++++ app/main.py | 5 +++++ app/pickle_idea.py | 5 +++++ app/pickle_idea2.py | 6 ++++++ app/wordfreqCMD.py | 5 +++++ app/wordfreqWEB.py | 5 +++++ 8 files changed, 42 insertions(+) diff --git a/app/UseSqlite.py b/app/UseSqlite.py index 6849f9b..d9b3f22 100644 --- a/app/UseSqlite.py +++ b/app/UseSqlite.py @@ -1,3 +1,9 @@ +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + + # Reference: Dusty Phillips. Python 3 Objected-oriented Programming Second Edition. Pages 326-328. # Copyright (C) 2019 Hui Lan diff --git a/app/WordFreq.py b/app/WordFreq.py index 18f2c49..3620a41 100644 --- a/app/WordFreq.py +++ b/app/WordFreq.py @@ -1,3 +1,8 @@ +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + from wordfreqCMD import remove_punctuation, freq, sort_in_descending_order import string diff --git a/app/difficulty.py b/app/difficulty.py index 54b596f..58740f6 100644 --- a/app/difficulty.py +++ b/app/difficulty.py @@ -1,3 +1,8 @@ +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + # Purpose: dictionary & pickle as a simple means of database. # Task: incorporate the functions into wordfreqCMD.py such that it will also show cumulative frequency. diff --git a/app/main.py b/app/main.py index c3fb28b..38250b3 100644 --- a/app/main.py +++ b/app/main.py @@ -1,6 +1,11 @@ #! /usr/bin/python3 # -*- coding: utf-8 -*- +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + from WordFreq import WordFreq from wordfreqCMD import youdao_link, sort_in_descending_order from UseSqlite import InsertQuery, RecordQuery diff --git a/app/pickle_idea.py b/app/pickle_idea.py index 725aebc..2061d7c 100644 --- a/app/pickle_idea.py +++ b/app/pickle_idea.py @@ -1,3 +1,8 @@ +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + # Purpose: dictionary & pickle as a simple means of database. # Task: incorporate the functions into wordfreqCMD.py such that it will also show cumulative frequency. diff --git a/app/pickle_idea2.py b/app/pickle_idea2.py index a1557ed..91a5b11 100644 --- a/app/pickle_idea2.py +++ b/app/pickle_idea2.py @@ -1,3 +1,9 @@ +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + + # Purpose: dictionary & pickle as a simple means of database. # Task: incorporate the functions into wordfreqCMD.py such that it will also show cumulative frequency. # Note: unlike pick_idea.py, now the second item is not frequency, but a list of dates. diff --git a/app/wordfreqCMD.py b/app/wordfreqCMD.py index e45cf78..9ee7e56 100644 --- a/app/wordfreqCMD.py +++ b/app/wordfreqCMD.py @@ -1,3 +1,8 @@ +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + import collections import string import operator diff --git a/app/wordfreqWEB.py b/app/wordfreqWEB.py index 7d34ad0..7107791 100644 --- a/app/wordfreqWEB.py +++ b/app/wordfreqWEB.py @@ -1,3 +1,8 @@ +########################################################################### +# Copyright 2019 (C) Hui Lan +# Written permission must be obtained from the author for commercial uses. +########################################################################### + #! /usr/bin/python3 # -*- coding: utf-8 -*- -- cgit v1.2.1