diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2019-11-01 20:56:47 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2019-11-01 20:56:47 +0800 |
commit | b8bd3f62573b795622d60d533a63517fef47d737 (patch) | |
tree | 17d20ad26d185d56912f423a31d33c722bb20563 /app | |
parent | a8f6a99bb3d3dba85705ed7df93145c28168d659 (diff) |
python-files: add copyright notice
Diffstat (limited to 'app')
-rw-r--r-- | app/UseSqlite.py | 6 | ||||
-rw-r--r-- | app/WordFreq.py | 5 | ||||
-rw-r--r-- | app/difficulty.py | 5 | ||||
-rw-r--r-- | app/main.py | 5 | ||||
-rw-r--r-- | app/pickle_idea.py | 5 | ||||
-rw-r--r-- | app/pickle_idea2.py | 6 | ||||
-rw-r--r-- | app/wordfreqCMD.py | 5 | ||||
-rw-r--r-- | app/wordfreqWEB.py | 5 |
8 files changed, 42 insertions, 0 deletions
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 <hui.lan@cantab.net>
+# 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 <hui.lan@cantab.net> +# 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 <hui.lan@cantab.net> +# 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 <hui.lan@cantab.net>
+# 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 <hui.lan@cantab.net> +# 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 <hui.lan@cantab.net> +# 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 <hui.lan@cantab.net> +# 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 <hui.lan@cantab.net>
+# Written permission must be obtained from the author for commercial uses.
+###########################################################################
+
#! /usr/bin/python3
# -*- coding: utf-8 -*-
|