diff --git a/README.md b/README.md
new file mode 100644
index 000000000..ea8134759
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# python
+This repository provides code examples on Python programming.
diff --git a/flask-rest-mongodb/app.py b/flask-rest-mongodb/app.py
deleted file mode 100644
index 6025c691d..000000000
--- a/flask-rest-mongodb/app.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from flask import Flask
-from flask_pymongo import PyMongo
-
-app = Flask(__name__)
-app.secret_key = "secret key"
-app.config["MONGO_URI"] = "mongodb://localhost:27017/roytuts"
-mongo = PyMongo(app)
\ No newline at end of file
diff --git a/flask-rest-mongodb/main.py b/flask-rest-mongodb/main.py
deleted file mode 100644
index e836fcb0d..000000000
--- a/flask-rest-mongodb/main.py
+++ /dev/null
@@ -1,75 +0,0 @@
-from app import app, mongo
-from bson.json_util import dumps
-from bson.objectid import ObjectId
-from flask import jsonify, flash, request
-from werkzeug import generate_password_hash, check_password_hash
-
-@app.route('/add', methods=['POST'])
-def add_user():
- _json = request.json
- _name = _json['name']
- _email = _json['email']
- _password = _json['pwd']
- # validate the received values
- if _name and _email and _password and request.method == 'POST':
- #do not save password as a plain text
- _hashed_password = generate_password_hash(_password)
- # save details
- id = mongo.db.user.insert({'name': _name, 'email': _email, 'pwd': _hashed_password})
- resp = jsonify('User added successfully!')
- resp.status_code = 200
- return resp
- else:
- return not_found()
-
-@app.route('/users')
-def users():
- users = mongo.db.user.find()
- resp = dumps(users)
- return resp
-
-@app.route('/user/')
-def user(id):
- user = mongo.db.user.find_one({'_id': ObjectId(id)})
- resp = dumps(user)
- return resp
-
-@app.route('/update', methods=['PUT'])
-def update_user():
- _json = request.json
- _id = _json['_id']
- _name = _json['name']
- _email = _json['email']
- _password = _json['pwd']
- # validate the received values
- if _name and _email and _password and _id and request.method == 'PUT':
- #do not save password as a plain text
- _hashed_password = generate_password_hash(_password)
- # save edits
- mongo.db.user.update_one({'_id': ObjectId(_id['$oid']) if '$oid' in _id else ObjectId(_id)}, {'$set': {'name': _name, 'email': _email, 'pwd': _hashed_password}})
- resp = jsonify('User updated successfully!')
- resp.status_code = 200
- return resp
- else:
- return not_found()
-
-@app.route('/delete/', methods=['DELETE'])
-def delete_user(id):
- mongo.db.user.delete_one({'_id': ObjectId(id)})
- resp = jsonify('User deleted successfully!')
- resp.status_code = 200
- return resp
-
-@app.errorhandler(404)
-def not_found(error=None):
- message = {
- 'status': 404,
- 'message': 'Not Found: ' + request.url,
- }
- resp = jsonify(message)
- resp.status_code = 404
-
- return resp
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/flask-rest-mongodb/readme.rst b/flask-rest-mongodb/readme.rst
deleted file mode 100644
index 6c0800b3e..000000000
--- a/flask-rest-mongodb/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/python-flask-rest-api-mongodb-crud-example/
diff --git a/google-charts/pie-chart/app.py b/google-charts/pie-chart/app.py
deleted file mode 100644
index d7562aaca..000000000
--- a/google-charts/pie-chart/app.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from flask import Flask
-
-app = Flask(__name__)
diff --git a/google-charts/pie-chart/main.py b/google-charts/pie-chart/main.py
deleted file mode 100644
index c22a56fc8..000000000
--- a/google-charts/pie-chart/main.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from app import app
-from flask import jsonify, request, render_template
-
-@app.route('/google-charts/pie-chart')
-def google_pie_chart():
- data = {'Task' : 'Hours per Day', 'Work' : 11, 'Eat' : 2, 'Commute' : 2, 'Watching TV' : 2, 'Sleeping' : 7}
- #print(data)
- return render_template('pie-chart.html', data=data)
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/google-charts/pie-chart/readme.rst b/google-charts/pie-chart/readme.rst
deleted file mode 100644
index 64cd8450b..000000000
--- a/google-charts/pie-chart/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can read tutorial at https://www.roytuts.com/google-pie-chart-using-python-flask/
\ No newline at end of file
diff --git a/google-charts/pie-chart/templates/pie-chart.html b/google-charts/pie-chart/templates/pie-chart.html
deleted file mode 100644
index 636f94605..000000000
--- a/google-charts/pie-chart/templates/pie-chart.html
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
- Show Data on Google Pie Chart using Python Flask
-
-
-
-
-
-
Show Data on Google Pie Chart using Python Flask
-
-
-
-
-
diff --git a/image-to-text/README.md b/image-to-text/README.md
new file mode 100644
index 000000000..e303f92fa
--- /dev/null
+++ b/image-to-text/README.md
@@ -0,0 +1,21 @@
+build env:
+
+1. py -m venv buildenv
+2. buildenv\Scripts\activate
+3. python.exe -m pip install --upgrade pip
+4. pip install -r requirements.txt
+
+Run code:
+
+Single image -
+python image_to_text.py sample.png
+
+Creates outputs/sample.txt
+
+Multiple images from a folder -
+python image_to_text.py images/
+
+Creates outputs/img1.txt, outputs/img2.txt, etc.
+
+Multilingual -
+python image_to_text.py sample.png --lang hin+eng
diff --git a/image-to-text/image-to-text.py b/image-to-text/image-to-text.py
new file mode 100644
index 000000000..9dd510970
--- /dev/null
+++ b/image-to-text/image-to-text.py
@@ -0,0 +1,70 @@
+import cv2
+from PIL import Image
+import pytesseract
+import os
+import glob
+import argparse
+
+# Configure path to Tesseract executable if needed (Windows users)
+# Example: r"C:\Program Files\Tesseract-OCR\tesseract.exe"
+# Uncomment and set the path if required
+# pytesseract.pytesseract.tesseract_cmd = r"C:\Program Files\Tesseract-OCR\tesseract.exe"
+
+def preprocess_image(image_path: str) -> str:
+ """
+ Preprocess the image for better OCR accuracy.
+ Converts to grayscale and applies thresholding.
+ Returns the path to the processed image.
+ """
+ img = cv2.imread(image_path)
+ gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
+ _, thresh = cv2.threshold(gray, 150, 255, cv2.THRESH_BINARY)
+
+ processed_path = "processed.png"
+ cv2.imwrite(processed_path, thresh)
+ return processed_path
+
+def extract_text(image_path: str, lang: str = "eng") -> str:
+ """
+ Extract text from an image using Tesseract OCR.
+ """
+ processed_path = preprocess_image(image_path)
+ text = pytesseract.image_to_string(Image.open(processed_path), lang=lang)
+ return text
+
+def save_text(image_path: str, text: str, output_dir: str = "outputs"):
+ """
+ Save extracted text into a separate file for each image.
+ """
+ os.makedirs(output_dir, exist_ok=True)
+ base_name = os.path.splitext(os.path.basename(image_path))[0]
+ output_file = os.path.join(output_dir, f"{base_name}.txt")
+ with open(output_file, "w", encoding="utf-8") as f:
+ f.write(text)
+ print(f"Saved extracted text to {output_file}")
+
+def process_path(path: str, lang: str = "eng"):
+ """
+ Handle both single image file and folder of images.
+ """
+ if os.path.isfile(path):
+ text = extract_text(path, lang)
+ save_text(path, text)
+ elif os.path.isdir(path):
+ files = glob.glob(os.path.join(path, "*.png")) + glob.glob(os.path.join(path, "*.jpg"))
+ if not files:
+ print(f"No images found in folder '{path}'.")
+ return
+ for file in files:
+ text = extract_text(file, lang)
+ save_text(file, text)
+ else:
+ print(f"Path '{path}' is not valid.")
+
+if __name__ == "__main__":
+ parser = argparse.ArgumentParser(description="Extract text from images using OCR")
+ parser.add_argument("path", help="Path to an image file or a folder containing images")
+ parser.add_argument("--lang", default="eng", help="Language code for OCR (default: eng)")
+ args = parser.parse_args()
+
+ process_path(args.path, args.lang)
diff --git a/image-to-text/requirements.txt b/image-to-text/requirements.txt
new file mode 100644
index 000000000..178c4e72f
--- /dev/null
+++ b/image-to-text/requirements.txt
@@ -0,0 +1,4 @@
+numpy<2
+pytesseract==0.3.10
+Pillow==10.3.0
+opencv-python==4.9.0.80
diff --git a/python-blur-image/readme.rst b/python-blur-image/readme.rst
index 5d1ffaef3..f5e310a34 100644
--- a/python-blur-image/readme.rst
+++ b/python-blur-image/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/python-blur-image-pillow/
+Please follow the tutorial https://roytuts.com/python-blur-image-pillow/
diff --git a/python-bulk-images-resize/readme.rst b/python-bulk-images-resize/readme.rst
index 1525949e5..d909698f3 100644
--- a/python-bulk-images-resize/readme.rst
+++ b/python-bulk-images-resize/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-resize-bulk-images-using-python/
+Please follow the tutorial https://roytuts.com/how-to-resize-bulk-images-using-python/
diff --git a/python-connect-mysql/readme.rst b/python-connect-mysql/readme.rst
index a4bd56ca2..71f22babc 100644
--- a/python-connect-mysql/readme.rst
+++ b/python-connect-mysql/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-connect-to-mysql-database-using-python-in-different-ways/
+Please follow the tutorial https://roytuts.com/how-to-connect-to-mysql-database-using-python-in-different-ways/
diff --git a/python-csv-read/csv-reader.py b/python-csv-read/csv-reader.py
index 443fb5223..900e4fde1 100644
--- a/python-csv-read/csv-reader.py
+++ b/python-csv-read/csv-reader.py
@@ -68,7 +68,7 @@
223488,FL,CLAY COUNTY,328500,328500,328500,328500,328500,348374.25,0,16425,0,0,30.102217,-81.707146,Residential,Wood,1
433512,FL,CLAY COUNTY,315000,315000,315000,315000,315000,265821.57,0,15750,0,0,30.118774,-81.704613,Residential,Wood,1"""
-f = StringIO(scsv)
+f = StringIO(string)
reader = csv.reader(f, delimiter=',')
for row in reader:
print(','.join(row))
diff --git a/python-csv-read/readme.rst b/python-csv-read/readme.rst
index 92717dbf6..3a1b538c2 100644
--- a/python-csv-read/readme.rst
+++ b/python-csv-read/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-read-csv-file-or-string-using-python/
+Please follow the tutorial https://roytuts.com/how-to-read-csv-file-or-string-using-python/
diff --git a/python-csv-to-pdf/readme.rst b/python-csv-to-pdf/readme.rst
index 83827e41f..1308e7850 100644
--- a/python-csv-to-pdf/readme.rst
+++ b/python-csv-to-pdf/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-convert-csv-file-to-pdf-file-using-pyfpdf-in-python/
+Please follow the tutorial https://roytuts.com/how-to-convert-csv-file-to-pdf-file-using-pyfpdf-in-python/
diff --git a/python-different-date-time-formats/readme.rst b/python-different-date-time-formats/readme.rst
index dd6de6551..3a566f5c4 100644
--- a/python-different-date-time-formats/readme.rst
+++ b/python-different-date-time-formats/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://roytuts.com/how-to-display-date-time-in-different-formats-in-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/how-to-display-date-time-in-different-formats-in-python/
diff --git a/python-email-attachments/readme.rst b/python-email-attachments/readme.rst
index 3e3b37f62..2d416f967 100644
--- a/python-email-attachments/readme.rst
+++ b/python-email-attachments/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-send-attachments-with-email-using-python/
+Please follow the tutorial https://roytuts.com/how-to-send-attachments-with-email-using-python/
diff --git a/python-email-html/html_email.py b/python-email-html/html_email.py
index 468424bd4..9c628ac75 100644
--- a/python-email-html/html_email.py
+++ b/python-email-html/html_email.py
@@ -12,7 +12,7 @@
Hello
Here is an example of sending HTML email using Python. Please click on below link:
-
+
Send an HTML email using Python
@@ -33,4 +33,4 @@
s.login(fromEmail, 'gmail password')
s.send_message(msg)
-s.quit()
\ No newline at end of file
+s.quit()
diff --git a/python-email-html/html_email_ssl.py b/python-email-html/html_email_ssl.py
index 3d0773db6..e2b074a3e 100644
--- a/python-email-html/html_email_ssl.py
+++ b/python-email-html/html_email_ssl.py
@@ -12,7 +12,7 @@
Hello
Here is an example of sending HTML email using Python. Please click on below link:
-
+
Send an HTML email using Python
@@ -31,4 +31,4 @@
s.login(fromEmail, 'gmail password')
s.send_message(msg)
-s.quit()
\ No newline at end of file
+s.quit()
diff --git a/python-email-html/readme.rst b/python-email-html/readme.rst
index a511e3e83..b3a8275e4 100644
--- a/python-email-html/readme.rst
+++ b/python-email-html/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-send-an-html-email-using-python/
+Please follow the tutorial https://roytuts.com/how-to-send-an-html-email-using-python/
diff --git a/python-email-rfc-822/readme.rst b/python-email-rfc-822/readme.rst
index 5d1c46e25..5682a9977 100644
--- a/python-email-rfc-822/readme.rst
+++ b/python-email-rfc-822/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/how-to-use-rfc-822-for-sending-email-in-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/how-to-use-rfc-822-for-sending-email-in-python/
diff --git a/python-email-text/readme.rst b/python-email-text/readme.rst
index a41d94b03..70eb46241 100644
--- a/python-email-text/readme.rst
+++ b/python-email-text/readme.rst
@@ -1 +1 @@
-You can read tutorial at https://www.roytuts.com/how-to-send-a-simple-email-using-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/how-to-send-a-simple-email-using-python/
diff --git a/python-extract-text-from-pdf/readme.rst b/python-extract-text-from-pdf/readme.rst
index bde676bbe..1f6c66e76 100644
--- a/python-extract-text-from-pdf/readme.rst
+++ b/python-extract-text-from-pdf/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/extract-text-from-pdf-file-using-python/
+Please follow the tutorial https://roytuts.com/extract-text-from-pdf-file-using-python/
diff --git a/python-fibonacci-series/readme.rst b/python-fibonacci-series/readme.rst
index ee12c3bd3..d79603f5f 100644
--- a/python-fibonacci-series/readme.rst
+++ b/python-fibonacci-series/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/fibonacci-series-using-python/
+Please follow the tutorial https://roytuts.com/fibonacci-series-using-python/
diff --git a/python-file-read-write-compress/readme.rst b/python-file-read-write-compress/readme.rst
index d80d982eb..640235820 100644
--- a/python-file-read-write-compress/readme.rst
+++ b/python-file-read-write-compress/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-read-write-and-compress-text-file-in-python/
+Please follow the tutorial https://roytuts.com/how-to-read-write-and-compress-text-file-in-python/
diff --git a/python-flask-ajax-file-upload/app.py b/python-flask-ajax-file-upload/app.py
deleted file mode 100644
index b656007a4..000000000
--- a/python-flask-ajax-file-upload/app.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from flask import Flask
-
-UPLOAD_FOLDER = 'C:/uploads'
-
-app = Flask(__name__)
-app.secret_key = "secret key"
-app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
-app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
\ No newline at end of file
diff --git a/python-flask-ajax-file-upload/main.py b/python-flask-ajax-file-upload/main.py
deleted file mode 100644
index 7db20c19f..000000000
--- a/python-flask-ajax-file-upload/main.py
+++ /dev/null
@@ -1,53 +0,0 @@
-import os
-#import magic
-import urllib.request
-from app import app
-from flask import Flask, flash, request, redirect, render_template, jsonify
-from werkzeug.utils import secure_filename
-
-ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
-
-def allowed_file(filename):
- return '.' in filename and filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS
-
-@app.route('/')
-def upload_form():
- return render_template('file-upload.html')
-
-@app.route('/python-flask-files-upload', methods=['POST'])
-def upload_file():
- # check if the post request has the file part
- if 'files[]' not in request.files:
- resp = jsonify({'message' : 'No file part in the request'})
- resp.status_code = 400
- return resp
-
- files = request.files.getlist('files[]')
-
- errors = {}
- success = False
-
- for file in files:
- if file and allowed_file(file.filename):
- filename = secure_filename(file.filename)
- file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
- success = True
- else:
- errors[file.filename] = 'File type is not allowed'
-
- if success and errors:
- errors['message'] = 'File(s) successfully uploaded'
- resp = jsonify(errors)
- resp.status_code = 206
- return resp
- if success:
- resp = jsonify({'message' : 'Files successfully uploaded'})
- resp.status_code = 201
- return resp
- else:
- resp = jsonify(errors)
- resp.status_code = 400
- return resp
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-flask-ajax-file-upload/readme.rst b/python-flask-ajax-file-upload/readme.rst
deleted file mode 100644
index 839e0a09e..000000000
--- a/python-flask-ajax-file-upload/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/ajax-files-upload-using-python-flask-jquery/
diff --git a/python-flask-ajax-file-upload/templates/file-upload.html b/python-flask-ajax-file-upload/templates/file-upload.html
deleted file mode 100644
index 9ae3fa321..000000000
--- a/python-flask-ajax-file-upload/templates/file-upload.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
- Python Flask File(s) Upload Example
-
-
-
-
- Python Flask File(s) Upload - Select file(s) to upload
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/app.py b/python-flask-ajax-mysql-login-logout/app.py
deleted file mode 100644
index 5e65b47b6..000000000
--- a/python-flask-ajax-mysql-login-logout/app.py
+++ /dev/null
@@ -1,4 +0,0 @@
-from flask import Flask
-
-app = Flask(__name__)
-app.secret_key = "secret key"
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/dao.py b/python-flask-ajax-mysql-login-logout/dao.py
deleted file mode 100644
index 712875c63..000000000
--- a/python-flask-ajax-mysql-login-logout/dao.py
+++ /dev/null
@@ -1,30 +0,0 @@
-import pymysql
-from db_config import mysql
-from werkzeug import check_password_hash
-
-def login(email, pwd):
- conn = None;
- cursor = None;
-
- try:
- conn = mysql.connect()
- cursor = conn.cursor()
-
- sql = "SELECT email, pwd FROM user WHERE email=%s"
- sql_where = (email,)
-
- cursor.execute(sql, sql_where)
- row = cursor.fetchone()
-
- if row:
- if check_password_hash(row[1], pwd):
- return row[0]
- return None
-
- except Exception as e:
- print(e)
-
- finally:
- if cursor and conn:
- cursor.close()
- conn.close()
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/db_config.py b/python-flask-ajax-mysql-login-logout/db_config.py
deleted file mode 100644
index ba6e5ddb7..000000000
--- a/python-flask-ajax-mysql-login-logout/db_config.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from app import app
-from flaskext.mysql import MySQL
-
-mysql = MySQL()
-
-# MySQL configurations
-app.config['MYSQL_DATABASE_USER'] = 'root'
-app.config['MYSQL_DATABASE_PASSWORD'] = 'root'
-app.config['MYSQL_DATABASE_DB'] = 'fitness'
-app.config['MYSQL_DATABASE_HOST'] = 'localhost'
-mysql.init_app(app)
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/main.py b/python-flask-ajax-mysql-login-logout/main.py
deleted file mode 100644
index 1ade8f93b..000000000
--- a/python-flask-ajax-mysql-login-logout/main.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import rest
-from app import app
-from flask import render_template
-
-@app.route('/')
-def home_page():
- return render_template('index.html')
-
-@app.route('/login/page')
-def login_page():
- return render_template('login.html')
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/readme.rst b/python-flask-ajax-mysql-login-logout/readme.rst
deleted file mode 100644
index 8617891aa..000000000
--- a/python-flask-ajax-mysql-login-logout/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can read tutorial https://www.roytuts.com/jquery-ajax-based-login-logout-using-python-flask-mysql/
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/rest.py b/python-flask-ajax-mysql-login-logout/rest.py
deleted file mode 100644
index 8c625ea63..000000000
--- a/python-flask-ajax-mysql-login-logout/rest.py
+++ /dev/null
@@ -1,27 +0,0 @@
-import dao
-from app import app
-from flask import jsonify, request, session
-
-@app.route('/login', methods=['POST'])
-def login():
- _json = request.json
- #print(_json)
- _username = _json['username']
- _password = _json['password']
-
- if _username and _password:
- user = dao.login(_username, _password)
-
- if user != None:
- session['username'] = user
- return jsonify({'message' : 'User logged in successfully'})
-
- resp = jsonify({'message' : 'Bad Request - invalid credendtials'})
- resp.status_code = 400
- return resp
-
-@app.route('/logout')
-def logout():
- if 'username' in session:
- session.pop('username', None)
- return jsonify({'message' : 'You successfully logged out'})
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/static/js/auth.js b/python-flask-ajax-mysql-login-logout/static/js/auth.js
deleted file mode 100644
index 489e3da0c..000000000
--- a/python-flask-ajax-mysql-login-logout/static/js/auth.js
+++ /dev/null
@@ -1,72 +0,0 @@
-$(document).ready(function() {
- var isLoggedIn = localStorage.getItem('loggedin');
-
- if(isLoggedIn == 1) {
- $('#sign').hide();
- $('#loginform').hide();
- $('#signupform').hide();
- $('#logoff').show();
- } else {
- $('#sign').show();
- $('#logoff').hide();
- }
-
- $('#loginSubmit').on('click', function(e) {
- e.preventDefault();
-
- var email = $('#email').val();
- var pwd = $('#password').val();
-
- var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/i;
-
- if(email != "" && pwd != "" ) {
- if(!regex.test(email)) {
- $('#msg').html('Invalid email address');
- } else {
- $.ajax({
- method: "POST",
- url: '/login',
- contentType: 'application/json;charset=UTF-8',
- data: JSON.stringify({'username': email, 'password': pwd}),
- dataType: "json",
- success: function(data) {
- localStorage.setItem('loggedin', 1);
-
- $('#sign').hide();
- $('#loginform').hide();
- $('#logoff').show();
- $('#msg').html('You are logged in');
- },
- statusCode: {
- 400: function() {
- $('#msg').html('Bad request - invalid credentials');
- }
- },
- error: function(err) {
- console.log(err);
- }
- });
- }
- } else {
- $('#msg').html('Invalid username and password');
- }
- });
-
- $('#logout').on('click', function(e) {
- e.preventDefault();
-
- $.ajax({
- url: '/logout',
- dataType: "json",
- success: function(data) {
- localStorage.setItem('loggedin', 0);
- $('#sign').show();
- $('#logoff').hide();
- $('#msg').html('You are logged off');
- },
- error: function(err) {
- console.log(err);
- }
- });
- });
-});
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/templates/index.html b/python-flask-ajax-mysql-login-logout/templates/index.html
deleted file mode 100644
index ec0cbe2ed..000000000
--- a/python-flask-ajax-mysql-login-logout/templates/index.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
- jQuery AJAX Login Logout using Python Flask MySQL
-
-
-
-
-
-
-
-
-
-
- This is a home page
-
-
-
-
-
\ No newline at end of file
diff --git a/python-flask-ajax-mysql-login-logout/templates/login.html b/python-flask-ajax-mysql-login-logout/templates/login.html
deleted file mode 100644
index be7d76857..000000000
--- a/python-flask-ajax-mysql-login-logout/templates/login.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jQuery AJAX Login Logout using Python Flask MySQL
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/python-flask-flash/main.py b/python-flask-flash/main.py
deleted file mode 100644
index c758ec854..000000000
--- a/python-flask-flash/main.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from flask import Flask, flash, render_template
-
-app = Flask(__name__)
-app.secret_key = "secret key"
-
-@app.route('/')
-def app_session():
- #flash('This is a flash message')
- #flash('This is a flash error message', 'error')
- #flash('This is a flash success message', 'success')
-
- return render_template('template.html')
-
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-flask-flash/readme.rst b/python-flask-flash/readme.rst
deleted file mode 100644
index bdbc4a817..000000000
--- a/python-flask-flash/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/flash-message-management-in-python-flask
diff --git a/python-flask-mysql-ajax-username-availability-check/app.py b/python-flask-mysql-ajax-username-availability-check/app.py
deleted file mode 100644
index acd3dac9a..000000000
--- a/python-flask-mysql-ajax-username-availability-check/app.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from flask import Flask
-
-app = Flask(__name__)
\ No newline at end of file
diff --git a/python-flask-mysql-ajax-username-availability-check/db_config.py b/python-flask-mysql-ajax-username-availability-check/db_config.py
deleted file mode 100644
index 68c6468a1..000000000
--- a/python-flask-mysql-ajax-username-availability-check/db_config.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from app import app
-from flaskext.mysql import MySQL
-
-mysql = MySQL()
-
-# MySQL configurations
-app.config['MYSQL_DATABASE_USER'] = 'root'
-app.config['MYSQL_DATABASE_PASSWORD'] = 'root'
-app.config['MYSQL_DATABASE_DB'] = 'roytuts'
-app.config['MYSQL_DATABASE_HOST'] = 'localhost'
-mysql.init_app(app)
\ No newline at end of file
diff --git a/python-flask-mysql-ajax-username-availability-check/main.py b/python-flask-mysql-ajax-username-availability-check/main.py
deleted file mode 100644
index 786faf69f..000000000
--- a/python-flask-mysql-ajax-username-availability-check/main.py
+++ /dev/null
@@ -1,43 +0,0 @@
-import pymysql
-from app import app
-from db_config import mysql
-from flask import jsonify, request, render_template
-
-@app.route('/user_check', methods=['POST'])
-def username_check():
- conn = None
- cursor = None
- try:
- username = request.form['username']
-
- # validate the received values
- if username and request.method == 'POST':
- conn = mysql.connect()
- cursor = conn.cursor(pymysql.cursors.DictCursor)
- cursor.execute("SELECT * FROM user WHERE login_username=%s", username)
- row = cursor.fetchone()
-
- if row:
- resp = jsonify('Username unavailable')
- resp.status_code = 200
- return resp
- else:
- resp = jsonify('Username available')
- resp.status_code = 200
- return resp
- else:
- resp = jsonify('Username is required field.')
- resp.status_code = 200
- return resp
- except Exception as e:
- print(e)
- finally:
- cursor.close()
- conn.close()
-
-@app.route('/')
-def home():
- return render_template('username.html')
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-flask-mysql-ajax-username-availability-check/readme.rst b/python-flask-mysql-ajax-username-availability-check/readme.rst
deleted file mode 100644
index c5dd7df89..000000000
--- a/python-flask-mysql-ajax-username-availability-check/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/python-flask-username-availability-check-with-mysql-ajax/
diff --git a/python-flask-mysql-ajax-username-availability-check/templates/username.html b/python-flask-mysql-ajax-username-availability-check/templates/username.html
deleted file mode 100644
index d46da158a..000000000
--- a/python-flask-mysql-ajax-username-availability-check/templates/username.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
- Check username availability using Python Flask, AJAX, MySQL
-
-
-
-
-
-
-
Python Flask, AJAX, MySQL - username availability check
-
-
-
-
-
-
-
-
diff --git a/python-flask-mysql-csv-report/readme.rst b/python-flask-mysql-csv-report/readme.rst
index 5759c7b93..05a7dc6de 100644
--- a/python-flask-mysql-csv-report/readme.rst
+++ b/python-flask-mysql-csv-report/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/generate-csv-report-from-mysql-database-using-python-flask/
+Please follow the tutorial https://roytuts.com/generate-csv-report-from-mysql-database-using-python-flask/
diff --git a/python-flask-mysql-excel-report/readme.rst b/python-flask-mysql-excel-report/readme.rst
index 48d6633b4..a01006989 100644
--- a/python-flask-mysql-excel-report/readme.rst
+++ b/python-flask-mysql-excel-report/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/generate-excel-report-from-mysql-database-using-python-flask/
+Please follow the tutorial https://roytuts.com/generate-excel-report-from-mysql-database-using-python-flask/
diff --git a/python-flask-mysql-jquery-ajax-multi-step-registration/app.py b/python-flask-mysql-jquery-ajax-multi-step-registration/app.py
deleted file mode 100644
index 5e65b47b6..000000000
--- a/python-flask-mysql-jquery-ajax-multi-step-registration/app.py
+++ /dev/null
@@ -1,4 +0,0 @@
-from flask import Flask
-
-app = Flask(__name__)
-app.secret_key = "secret key"
\ No newline at end of file
diff --git a/python-flask-mysql-jquery-ajax-multi-step-registration/db_config.py b/python-flask-mysql-jquery-ajax-multi-step-registration/db_config.py
deleted file mode 100644
index 68c6468a1..000000000
--- a/python-flask-mysql-jquery-ajax-multi-step-registration/db_config.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from app import app
-from flaskext.mysql import MySQL
-
-mysql = MySQL()
-
-# MySQL configurations
-app.config['MYSQL_DATABASE_USER'] = 'root'
-app.config['MYSQL_DATABASE_PASSWORD'] = 'root'
-app.config['MYSQL_DATABASE_DB'] = 'roytuts'
-app.config['MYSQL_DATABASE_HOST'] = 'localhost'
-mysql.init_app(app)
\ No newline at end of file
diff --git a/python-flask-mysql-jquery-ajax-multi-step-registration/main.py b/python-flask-mysql-jquery-ajax-multi-step-registration/main.py
deleted file mode 100644
index df09f7e86..000000000
--- a/python-flask-mysql-jquery-ajax-multi-step-registration/main.py
+++ /dev/null
@@ -1,49 +0,0 @@
-import pymysql
-from app import app
-from db_config import mysql
-from flask import flash, render_template, request, redirect, url_for
-from werkzeug import generate_password_hash, check_password_hash
-
-@app.route('/register', methods=['POST'])
-def save_user_info():
- cursor = None
- try:
- name = request.form['name']
- dob = request.form['dob']
- gender = request.form['gender']
- password = request.form['password']
- phone = request.form['phone']
- email = request.form['email']
- address = request.form['address']
-
- # validate the received values
- if name and dob and gender and password and phone and email and address and request.method == 'POST':
-
- #do not save password as a plain text
- _hashed_password = generate_password_hash(password)
-
- # save user information
- sql = "INSERT INTO user(name, password, email, phone, gender, dob, address) VALUES(%s, %s, %s, %s, %s, %s, %s)"
- data = (name, _hashed_password, email, phone, gender, dob, address)
- conn = mysql.connect()
- cursor = conn.cursor()
- cursor.execute(sql, data)
- conn.commit()
-
- flash('You registered successfully!')
-
- return redirect(url_for('.home'))
- else:
- return 'Error while saving user information'
- except Exception as e:
- print(e)
- finally:
- cursor.close()
- conn.close()
-
-@app.route('/')
-def home():
- return render_template('multi-step-registration.html')
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-flask-mysql-jquery-ajax-multi-step-registration/readme.rst b/python-flask-mysql-jquery-ajax-multi-step-registration/readme.rst
deleted file mode 100644
index d6506640d..000000000
--- a/python-flask-mysql-jquery-ajax-multi-step-registration/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/python-flask-multi-step-registration-form-with-mysql-jquery/
diff --git a/python-flask-mysql-jquery-ajax-multi-step-registration/templates/multi-step-registration.html b/python-flask-mysql-jquery-ajax-multi-step-registration/templates/multi-step-registration.html
deleted file mode 100644
index 357416030..000000000
--- a/python-flask-mysql-jquery-ajax-multi-step-registration/templates/multi-step-registration.html
+++ /dev/null
@@ -1,253 +0,0 @@
-
-
- Multi Step Registration
-
-
-
-
-
-
-
-
-
- - Personal Detail
- - Password
- - Contact
-
-
-
- {% with messages = get_flashed_messages() %}
- {% if messages %}
-
- {% for message in messages %}
- - {{ message }}
- {% endfor %}
-
- {% endif %}
- {% endwith %}
-
-
-
-
-
diff --git a/python-flask-mysql-online-visitor-tracker/readme.rst b/python-flask-mysql-online-visitor-tracker/readme.rst
index a97eb521a..bd64407f4 100644
--- a/python-flask-mysql-online-visitor-tracker/readme.rst
+++ b/python-flask-mysql-online-visitor-tracker/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/python-flask-online-visitor-tracking-system/
+Please follow the tutorial https://roytuts.com/python-flask-online-visitor-tracking-system/
diff --git a/python-flask-mysql-pdf-report/readme.rst b/python-flask-mysql-pdf-report/readme.rst
index 7b9e5be3a..31f9299b1 100644
--- a/python-flask-mysql-pdf-report/readme.rst
+++ b/python-flask-mysql-pdf-report/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/generate-pdf-report-from-mysql-database-using-python-flask/
+Please follow the tutorial https://roytuts.com/generate-pdf-report-from-mysql-database-using-python-flask/
diff --git a/python-flask-rest-api-basic-auth/readme.rst b/python-flask-rest-api-basic-auth/readme.rst
index 7aa212bbc..916255b67 100644
--- a/python-flask-rest-api-basic-auth/readme.rst
+++ b/python-flask-rest-api-basic-auth/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/python-flask-http-basic-authentication/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/python-flask-http-basic-authentication/
diff --git a/python-flask-rest-api-login-logout-remember/readme.rst b/python-flask-rest-api-login-logout-remember/readme.rst
index 6830f76d6..228a92353 100644
--- a/python-flask-rest-api-login-logout-remember/readme.rst
+++ b/python-flask-rest-api-login-logout-remember/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/python-flask-login-logout-with-remember-me/
+Please follow the tutorial https://roytuts.com/python-flask-login-logout-with-remember-me/
diff --git a/python-flask-rest-api-login-logout/readme.rst b/python-flask-rest-api-login-logout/readme.rst
index d8e25e5db..f5501ccba 100644
--- a/python-flask-rest-api-login-logout/readme.rst
+++ b/python-flask-rest-api-login-logout/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/python-flask-rest-api-login-logout-example/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/python-flask-rest-api-login-logout-example/
diff --git a/python-flask-rest-api-multiple-files-upload/app.py b/python-flask-rest-api-multiple-files-upload/app.py
deleted file mode 100644
index c46c27d88..000000000
--- a/python-flask-rest-api-multiple-files-upload/app.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from flask import Flask
-
-UPLOAD_FOLDER = 'C:/uploads'
-
-app = Flask(__name__)
-#app.secret_key = "secret key"
-app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
-app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
\ No newline at end of file
diff --git a/python-flask-rest-api-multiple-files-upload/main.py b/python-flask-rest-api-multiple-files-upload/main.py
deleted file mode 100644
index da6a5d98d..000000000
--- a/python-flask-rest-api-multiple-files-upload/main.py
+++ /dev/null
@@ -1,48 +0,0 @@
-import os
-import urllib.request
-from app import app
-from flask import Flask, request, redirect, jsonify
-from werkzeug.utils import secure_filename
-
-ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
-
-def allowed_file(filename):
- return '.' in filename and filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS
-
-@app.route('/multiple-files-upload', methods=['POST'])
-def upload_file():
- # check if the post request has the file part
- if 'files[]' not in request.files:
- resp = jsonify({'message' : 'No file part in the request'})
- resp.status_code = 400
- return resp
-
- files = request.files.getlist('files[]')
-
- errors = {}
- success = False
-
- for file in files:
- if file and allowed_file(file.filename):
- filename = secure_filename(file.filename)
- file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
- success = True
- else:
- errors[file.filename] = 'File type is not allowed'
-
- if success and errors:
- errors['message'] = 'File(s) successfully uploaded'
- resp = jsonify(errors)
- resp.status_code = 206
- return resp
- if success:
- resp = jsonify({'message' : 'Files successfully uploaded'})
- resp.status_code = 201
- return resp
- else:
- resp = jsonify(errors)
- resp.status_code = 400
- return resp
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-flask-rest-api-multiple-files-upload/readme.rst b/python-flask-rest-api-multiple-files-upload/readme.rst
deleted file mode 100644
index a132e6015..000000000
--- a/python-flask-rest-api-multiple-files-upload/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can read tutorial https://www.roytuts.com/python-flask-rest-api-multiple-files-upload/
\ No newline at end of file
diff --git a/python-flask-session/main.py b/python-flask-session/main.py
deleted file mode 100644
index abff05c89..000000000
--- a/python-flask-session/main.py
+++ /dev/null
@@ -1,55 +0,0 @@
-from flask import Flask, session, render_template
-
-app = Flask(__name__)
-app.secret_key = "secret key"
-
-@app.route('/')
-def app_session():
- #session['msg'] = 'Hello'
- session.modified = True
-
- #session['msg'] = 'Hello, Soumitra'
- #print(session.get('msg'))
-
- #session.pop('msg')
- #print(session.get('msg'))
-
- #session['hi'] = 'Hi'
- #session['hello'] = 'Hello'
-
- #for key, val in session.items():
- #print(key + ' -> ' + val)
- #print(key, ' -> ', val)
-
- #session.clear()
-
- #itemArray = {'name' : 'Soumitra', 'email' : 'soumitra@roytuts.com', 'address' : 'Earth'}
- #session['item'] = itemArray
-
- #if 'item' in session:
- # session['item'].pop('name')
-
- #session.pop('item')
-
- #if 'item' in session:
- # for key, val in session['item'].items():
- # print(key + ' -> ' + val)
-
- itemNestedArray = { 'key' : {'name' : 'Soumitra', 'email' : 'soumitra@roytuts.com', 'address' : 'Earth'}}
- session['item'] = itemNestedArray
-
- if 'item' in session:
- for item in session['item'].items():
- print(item)
-
- session['item'].pop('key')
-
- if 'item' in session:
- for item in session['item'].items():
- print(item)
-
- return render_template('template.html')
-
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-flask-session/readme.rst b/python-flask-session/readme.rst
deleted file mode 100644
index 383389e18..000000000
--- a/python-flask-session/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/session-management-in-python-flask
diff --git a/python-flask-session/templates/template.html b/python-flask-session/templates/template.html
deleted file mode 100644
index f24e3854a..000000000
--- a/python-flask-session/templates/template.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- Python Flask Session Management
-
-
-
- {% if 'msg' in session %}
- {{ session['msg'] }}
- {% endif %}
-
-
-
diff --git a/python-flask-xchart/readme.rst b/python-flask-xchart/readme.rst
index d7ab4857e..be2b62b3c 100644
--- a/python-flask-xchart/readme.rst
+++ b/python-flask-xchart/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/ajax-jquery-based-xchart-example-using-python-flask-mysql/
+Please follow the tutorial https://roytuts.com/ajax-jquery-based-xchart-example-using-python-flask-mysql/
diff --git a/python-image-to-pdf/gentleman.pdf b/python-image-to-pdf/gentleman.pdf
deleted file mode 100644
index 47dc2a4d5..000000000
Binary files a/python-image-to-pdf/gentleman.pdf and /dev/null differ
diff --git a/python-image-to-pdf/gentleman.png b/python-image-to-pdf/gentleman.png
deleted file mode 100644
index 19fbf4a5c..000000000
Binary files a/python-image-to-pdf/gentleman.png and /dev/null differ
diff --git a/python-image-to-pdf/image-to-pdf.py b/python-image-to-pdf/image-to-pdf.py
deleted file mode 100644
index 7ff53c788..000000000
--- a/python-image-to-pdf/image-to-pdf.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import img2pdf
-
-#opening from filename
-with open("gentleman.pdf","wb") as f:
- f.write(img2pdf.convert('gentleman.png'))
-
-with open("sample.pdf","wb") as f:
- f.write(img2pdf.convert('sample.jpg'))
-
-#multiple inputs (variant 1)
-with open("output1.pdf","wb") as f:
- f.write(img2pdf.convert("gentleman.png", "sample.jpg"))
-
-#multiple inputs (variant 2)
-with open("output2.pdf","wb") as f:
- f.write(img2pdf.convert(["gentleman.png", "sample.jpg"]))
-
-#specify paper size (A4)
-a4inpt = (img2pdf.mm_to_pt(210),img2pdf.mm_to_pt(297))
-layout_fun = img2pdf.get_layout_fun(a4inpt)
-with open("paper_size.pdf","wb") as f:
- f.write(img2pdf.convert('sample.jpg', layout_fun=layout_fun))
\ No newline at end of file
diff --git a/python-image-to-pdf/output1.pdf b/python-image-to-pdf/output1.pdf
deleted file mode 100644
index bbb42e7eb..000000000
Binary files a/python-image-to-pdf/output1.pdf and /dev/null differ
diff --git a/python-image-to-pdf/output2.pdf b/python-image-to-pdf/output2.pdf
deleted file mode 100644
index 7a1b17204..000000000
Binary files a/python-image-to-pdf/output2.pdf and /dev/null differ
diff --git a/python-image-to-pdf/paper_size.pdf b/python-image-to-pdf/paper_size.pdf
deleted file mode 100644
index d0e751515..000000000
Binary files a/python-image-to-pdf/paper_size.pdf and /dev/null differ
diff --git a/python-image-to-pdf/readme.rst b/python-image-to-pdf/readme.rst
deleted file mode 100644
index d857eeb48..000000000
--- a/python-image-to-pdf/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/convert-image-to-pdf-using-python/
diff --git a/python-image-to-pdf/sample.jpg b/python-image-to-pdf/sample.jpg
deleted file mode 100644
index 3a52a95df..000000000
Binary files a/python-image-to-pdf/sample.jpg and /dev/null differ
diff --git a/python-image-to-pdf/sample.pdf b/python-image-to-pdf/sample.pdf
deleted file mode 100644
index d8fe3108c..000000000
Binary files a/python-image-to-pdf/sample.pdf and /dev/null differ
diff --git a/python-josephus/python-josephus.py b/python-josephus/python-josephus.py
new file mode 100644
index 000000000..c935af2ea
--- /dev/null
+++ b/python-josephus/python-josephus.py
@@ -0,0 +1,22 @@
+def josephus(num_people, rem_pos):
+ temp_pos = rem_pos - 1
+ people = []
+
+ for i in range(num_people):
+ people.append(i+1)
+
+ iteration = num_people - 1
+
+ while iteration > 0:
+ people.pop(temp_pos)
+ temp_pos += rem_pos - 1
+ if(temp_pos > len(people) - 1):
+ temp_pos = temp_pos % len(people)
+ iteration = iteration - 1
+
+ return people[0]
+
+print('Winner is %d' % josephus(5, 3))
+print('Winner is %d' % josephus(10, 3))
+print('Winner is %d' % josephus(5, 2))
+print('Winner is %d' % josephus(7, 3))
diff --git a/python-josephus/readme.rst b/python-josephus/readme.rst
new file mode 100644
index 000000000..96e513237
--- /dev/null
+++ b/python-josephus/readme.rst
@@ -0,0 +1 @@
+Please follow the tutorial https://roytuts.com/solving-josephus-problem-using-python/
diff --git a/python-login-logout/app.py b/python-login-logout/app.py
deleted file mode 100644
index 5e65b47b6..000000000
--- a/python-login-logout/app.py
+++ /dev/null
@@ -1,4 +0,0 @@
-from flask import Flask
-
-app = Flask(__name__)
-app.secret_key = "secret key"
\ No newline at end of file
diff --git a/python-login-logout/db_config.py b/python-login-logout/db_config.py
deleted file mode 100644
index 71b437668..000000000
--- a/python-login-logout/db_config.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from app import app
-from flaskext.mysql import MySQL
-
-mysql = MySQL()
-
-# MySQL configurations
-app.config['MYSQL_DATABASE_USER'] = 'root'
-app.config['MYSQL_DATABASE_PASSWORD'] = ''
-app.config['MYSQL_DATABASE_DB'] = 'roytuts'
-app.config['MYSQL_DATABASE_HOST'] = 'localhost'
-mysql.init_app(app)
\ No newline at end of file
diff --git a/python-login-logout/main.py b/python-login-logout/main.py
deleted file mode 100644
index 4c479fe79..000000000
--- a/python-login-logout/main.py
+++ /dev/null
@@ -1,50 +0,0 @@
-import pymysql
-from app import app
-from db_config import mysql
-from flask import flash, session, render_template, request, redirect
-from werkzeug import generate_password_hash, check_password_hash
-
-@app.route('/')
-def index():
- if 'email' in session:
- username = session['email']
- return 'Logged in as ' + username + '
' + "click here to logout"
- return "You are not logged in
" + "click here to login"
-
-@app.route('/login')
-def login():
- return render_template('login.html')
-
-@app.route('/submit', methods=['POST'])
-def login_submit():
- _email = request.form['inputEmail']
- _password = request.form['inputPassword']
- # validate the received values
- if _email and _password and request.method == 'POST':
- #check user exists
- conn = mysql.connect()
- cursor = conn.cursor()
- sql = "SELECT * FROM tbl_user WHERE user_email=%s"
- sql_where = (_email,)
- cursor.execute(sql, sql_where)
- row = cursor.fetchone()
- if row:
- if check_password_hash(row[3], _password):
- session['email'] = row[1]
- cursor.close()
- conn.close()
- return redirect('/')
- else:
- flash('Invalid password!')
- return redirect('/login')
- else:
- flash('Invalid email/password!')
- return redirect('/login')
-
-@app.route('/logout')
-def logout():
- session.pop('email', None)
- return redirect('/')
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python-login-logout/readme.rst b/python-login-logout/readme.rst
deleted file mode 100644
index b260d3f9b..000000000
--- a/python-login-logout/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can read tutorial https://www.roytuts.com/python-login-and-logout-example/
diff --git a/python-login-logout/templates/login.html b/python-login-logout/templates/login.html
deleted file mode 100644
index bf14ccdc8..000000000
--- a/python-login-logout/templates/login.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-User Login - Python Flask
-Login
-
- {% with messages = get_flashed_messages() %}
- {% if messages %}
-
- {% for message in messages %}
- - {{ message }}
- {% endfor %}
-
- {% endif %}
- {% endwith %}
-
-
\ No newline at end of file
diff --git a/python-pdf-text-to-audio/readme.rst b/python-pdf-text-to-audio/readme.rst
index fc6ae6587..2ad269f96 100644
--- a/python-pdf-text-to-audio/readme.rst
+++ b/python-pdf-text-to-audio/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/convert-pdf-file-text-to-audio-speech-using-python-and-google-gtts-api/
+Please follow the tutorial https://roytuts.com/convert-pdf-file-text-to-audio-speech-using-python-and-google-gtts-api/
diff --git a/python-pdf-to-image/gentleman-byte.jpg b/python-pdf-to-image/gentleman-byte.jpg
deleted file mode 100644
index cffdd329d..000000000
Binary files a/python-pdf-to-image/gentleman-byte.jpg and /dev/null differ
diff --git a/python-pdf-to-image/gentleman.jpg b/python-pdf-to-image/gentleman.jpg
deleted file mode 100644
index cffdd329d..000000000
Binary files a/python-pdf-to-image/gentleman.jpg and /dev/null differ
diff --git a/python-pdf-to-image/gentleman.pdf b/python-pdf-to-image/gentleman.pdf
deleted file mode 100644
index 47dc2a4d5..000000000
Binary files a/python-pdf-to-image/gentleman.pdf and /dev/null differ
diff --git a/python-pdf-to-image/output1.jpg b/python-pdf-to-image/output1.jpg
deleted file mode 100644
index cffdd329d..000000000
Binary files a/python-pdf-to-image/output1.jpg and /dev/null differ
diff --git a/python-pdf-to-image/output1.pdf b/python-pdf-to-image/output1.pdf
deleted file mode 100644
index bbb42e7eb..000000000
Binary files a/python-pdf-to-image/output1.pdf and /dev/null differ
diff --git a/python-pdf-to-image/output2.jpg b/python-pdf-to-image/output2.jpg
deleted file mode 100644
index 4bd05490e..000000000
Binary files a/python-pdf-to-image/output2.jpg and /dev/null differ
diff --git a/python-pdf-to-image/pdf-to-image.py b/python-pdf-to-image/pdf-to-image.py
deleted file mode 100644
index 3095b8c96..000000000
--- a/python-pdf-to-image/pdf-to-image.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from pdf2image import convert_from_path, convert_from_bytes
-from pdf2image.exceptions import (
- PDFInfoNotInstalledError,
- PDFPageCountError,
- PDFSyntaxError
-)
-
-#images = convert_from_path('sample.pdf')
-#for image in images:
- #image.save('sample.png', 'PNG')
-
-#images = convert_from_path('gentleman.pdf')
-#for image in images:
- #image.save('gentleman.jpg', 'JPEG')
-
-#images = convert_from_bytes(open('gentleman.pdf', 'rb').read())
-#images[0].save('gentleman-byte.jpg', 'JPEG')
-
-#images = convert_from_path('output1.pdf')
-#i = 1
-#for image in images:
- #image.save('output' + str(i) + '.jpg', 'JPEG')
- #i = i + 1
\ No newline at end of file
diff --git a/python-pdf-to-image/readme.rst b/python-pdf-to-image/readme.rst
deleted file mode 100644
index 864bf9fa5..000000000
--- a/python-pdf-to-image/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/convert-pdf-to-image-using-python/
diff --git a/python-pdf-to-image/sample.pdf b/python-pdf-to-image/sample.pdf
deleted file mode 100644
index d8fe3108c..000000000
Binary files a/python-pdf-to-image/sample.pdf and /dev/null differ
diff --git a/python-pdf-to-image/sample.png b/python-pdf-to-image/sample.png
deleted file mode 100644
index 81d9c7105..000000000
Binary files a/python-pdf-to-image/sample.png and /dev/null differ
diff --git a/python-pretty-print-json/input.json b/python-pretty-print-json/input.json
new file mode 100644
index 000000000..5c1a9fd70
--- /dev/null
+++ b/python-pretty-print-json/input.json
@@ -0,0 +1 @@
+{"one":"AAA","two":["BBB","CCC"],"three":{"four":"DDD","five":["EEE","FFF"]}}
diff --git a/python-pretty-print-json/output.json b/python-pretty-print-json/output.json
new file mode 100644
index 000000000..1a5d92b43
--- /dev/null
+++ b/python-pretty-print-json/output.json
@@ -0,0 +1,14 @@
+{
+ "one": "AAA",
+ "two": [
+ "BBB",
+ "CCC"
+ ],
+ "three": {
+ "four": "DDD",
+ "five": [
+ "EEE",
+ "FFF"
+ ]
+ }
+}
diff --git a/python-pretty-print-json/python-pretty-print-json.py b/python-pretty-print-json/python-pretty-print-json.py
new file mode 100644
index 000000000..0d2aebb6b
--- /dev/null
+++ b/python-pretty-print-json/python-pretty-print-json.py
@@ -0,0 +1,18 @@
+import json
+
+#jsn = '{"one":"AAA","two":["BBB","CCC"],"three":{"four":"DDD","five":["EEE","FFF"]}}'
+jsn = "{\"one\":\"AAA\",\"two\":[\"BBB\",\"CCC\"],\"three\":{\"four\":\"DDD\",\"five\":[\"EEE\",\"FFF\"]}}"
+
+parsed_json = json.loads(jsn)
+prettify_json = json.dumps(parsed_json, indent=4)
+#prettify_json = json.dumps(parsed_json, indent=4, sort_keys=True)
+
+print(prettify_json)
+
+
+with open('input.json', 'r') as inf:
+ parsed_json = json.load(inf)
+ prettify_json = json.dumps(parsed_json, indent=4)
+
+ with open('output.json', 'w') as ouf:
+ ouf.write(prettify_json)
diff --git a/python-pretty-print-json/readme.rst b/python-pretty-print-json/readme.rst
new file mode 100644
index 000000000..b7528c74c
--- /dev/null
+++ b/python-pretty-print-json/readme.rst
@@ -0,0 +1 @@
+Please follow the tutorial https://roytuts.com/pretty-print-json-in-python/
diff --git a/python-record-my-voice/readme.rst b/python-record-my-voice/readme.rst
index 8545d6911..aec9108d1 100644
--- a/python-record-my-voice/readme.rst
+++ b/python-record-my-voice/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/python-voice-recording-through-microphone-for-arbitrary-time-using-pyaudio/
+Please follow the tutorial https://roytuts.com/python-voice-recording-through-microphone-for-arbitrary-time-using-pyaudio/
diff --git a/python-van-eck-sequence/python-van-eck-sequence.py b/python-van-eck-sequence/python-van-eck-sequence.py
new file mode 100644
index 000000000..bd1b120b7
--- /dev/null
+++ b/python-van-eck-sequence/python-van-eck-sequence.py
@@ -0,0 +1,15 @@
+num_dict = {}
+next_num = 0
+sequence = ''
+
+for i in range(100):
+ if next_num in num_dict:
+ distance = i - num_dict[next_num]
+ else:
+ distance = 0
+
+ num_dict[next_num] = i
+ sequence += "%d, " % next_num
+ next_num = distance
+
+print(sequence)
diff --git a/python-van-eck-sequence/readme.rst b/python-van-eck-sequence/readme.rst
new file mode 100644
index 000000000..88feccd47
--- /dev/null
+++ b/python-van-eck-sequence/readme.rst
@@ -0,0 +1 @@
+Please follow the tutorial https://roytuts.com/van-eck-sequence-using-python/
diff --git a/python-video-to-gif/readme.rst b/python-video-to-gif/readme.rst
index 129021745..3bd286326 100644
--- a/python-video-to-gif/readme.rst
+++ b/python-video-to-gif/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://roytuts.com/how-to-convert-video-mp4-avi-clips-to-gif-in-python/
+Please follow the tutorial https://roytuts.com/how-to-convert-video-mp4-avi-clips-to-gif-in-python/
diff --git a/python-write-file-content-pdf/readme.rst b/python-write-file-content-pdf/readme.rst
index ad85c8436..01a451627 100644
--- a/python-write-file-content-pdf/readme.rst
+++ b/python-write-file-content-pdf/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/how-to-convert-file-content-into-pdf-document-using-python/
+Please follow the tutorial https://roytuts.com/how-to-convert-file-content-into-pdf-document-using-python/
diff --git a/python-write-html-pdf/readme.rst b/python-write-html-pdf/readme.rst
index 87a1e4419..23c9253a1 100644
--- a/python-write-html-pdf/readme.rst
+++ b/python-write-html-pdf/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/how-to-convert-html-content-into-pdf-document-using-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/how-to-convert-html-content-into-pdf-document-using-python/
diff --git a/python-xml-builder/bookstore2.xml b/python-xml-builder/bookstore2.xml
new file mode 100644
index 000000000..4488b187e
--- /dev/null
+++ b/python-xml-builder/bookstore2.xml
@@ -0,0 +1,15 @@
+
+
+
+
+ Joe
+ Bob
+ Trenton Literary Review Honorable Mention
+
+ 12
+
+
+ 12
+
+
+
diff --git a/python-xml-builder/readme.rst b/python-xml-builder/readme.rst
index 113e418e1..285ba4f00 100644
--- a/python-xml-builder/readme.rst
+++ b/python-xml-builder/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/building-xml-using-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/building-xml-using-python/
diff --git a/python-xml-csv/input.xml b/python-xml-csv/input.xml
deleted file mode 100644
index ca84ea5d9..000000000
--- a/python-xml-csv/input.xml
+++ /dev/null
@@ -1,173 +0,0 @@
-
-
- 119736
- FL
- CLAY COUNTY
- 498960
- 498960
- 498960
- 498960
- 498960
- 792148.9
- 0
- 9979.2
- 0
- 0
- 30.102261
- -81.711777
- Residential
- Masonry
-
-
- 448094
- FL
- CLAY COUNTY
- 1322376.3
- 1322376.3
- 1322376.3
- 1322376.3
- 1322376.3
- 1438163.57
- 0
- 0
- 0
- 0
- 30.063936
- -81.707664
- Residential
- Masonry
-
-
- 206893
- FL
- CLAY COUNTY
- 190724.4
- 190724.4
- 190724.4
- 190724.4
- 190724.4
- 192476.78
- 0
- 0
- 0
- 0
- 30.089579
- -81.700455
- Residential
- Wood
-
-
- 333743
- FL
- CLAY COUNTY
- 0
- 79520.76
- 0
- 0
- 79520.76
- 86854.48
- 0
- 0
- 0
- 0
- 30.063236
- -81.707703
- Residential
- Wood
-
-
- 172534
- FL
- CLAY COUNTY
- 0
- 254281.5
- 0
- 254281.5
- 254281.5
- 246144.49
- 0
- 0
- 0
- 0
- 30.060614
- -81.702675
- Residential
- Wood
-
-
- 785275
- FL
- CLAY COUNTY
- 0
- 515035.62
- 0
- 0
- 515035.62
- 884419.17
- 0
- 0
- 0
- 0
- 30.063236
- -81.707703
- Residential
- Masonry
-
-
- 995932
- FL
- CLAY COUNTY
- 0
- 19260000
- 0
- 0
- 19260000
- 20610000
- 0
- 0
- 0
- 0
- 30.102226
- -81.713882
- Commercial
- Reinforced Concrete
-
-
- 223488
- FL
- CLAY COUNTY
- 328500
- 328500
- 328500
- 328500
- 328500
- 348374.25
- 0
- 16425
- 0
- 0
- 30.102217
- -81.707146
- Residential
- Wood
-
-
- 433512
- FL
- CLAY COUNTY
- 315000
- 315000
- 315000
- 315000
- 315000
- 265821.57
- 0
- 15750
- 0
- 0
- 30.118774
- -81.704613
- Residential
- Wood
-
-
\ No newline at end of file
diff --git a/python-xml-csv/output-string.csv b/python-xml-csv/output-string.csv
deleted file mode 100644
index f8fac719c..000000000
--- a/python-xml-csv/output-string.csv
+++ /dev/null
@@ -1,8 +0,0 @@
-448094, FL, CLAY COUNTY, 1322376.3, 1322376.3, 1322376.3, 1322376.3, 1322376.3, 1438163.57, 0, 0, 0, 0, 30.063936, -81.707664, Residential, Masonry
-206893, FL, CLAY COUNTY, 190724.4, 190724.4, 190724.4, 190724.4, 190724.4, 192476.78, 0, 0, 0, 0, 30.089579, -81.700455, Residential, Wood
-333743, FL, CLAY COUNTY, 0, 79520.76, 0, 0, 79520.76, 86854.48, 0, 0, 0, 0, 30.063236, -81.707703, Residential, Wood
-172534, FL, CLAY COUNTY, 0, 254281.5, 0, 254281.5, 254281.5, 246144.49, 0, 0, 0, 0, 30.060614, -81.702675, Residential, Wood
-785275, FL, CLAY COUNTY, 0, 515035.62, 0, 0, 515035.62, 884419.17, 0, 0, 0, 0, 30.063236, -81.707703, Residential, Masonry
-995932, FL, CLAY COUNTY, 0, 19260000, 0, 0, 19260000, 20610000, 0, 0, 0, 0, 30.102226, -81.713882, Commercial, Reinforced Concrete
-223488, FL, CLAY COUNTY, 328500, 328500, 328500, 328500, 328500, 348374.25, 0, 16425, 0, 0, 30.102217, -81.707146, Residential, Wood
-433512, FL, CLAY COUNTY, 315000, 315000, 315000, 315000, 315000, 265821.57, 0, 15750, 0, 0, 30.118774, -81.704613, Residential, Wood
\ No newline at end of file
diff --git a/python-xml-csv/output.csv b/python-xml-csv/output.csv
deleted file mode 100644
index f8fac719c..000000000
--- a/python-xml-csv/output.csv
+++ /dev/null
@@ -1,8 +0,0 @@
-448094, FL, CLAY COUNTY, 1322376.3, 1322376.3, 1322376.3, 1322376.3, 1322376.3, 1438163.57, 0, 0, 0, 0, 30.063936, -81.707664, Residential, Masonry
-206893, FL, CLAY COUNTY, 190724.4, 190724.4, 190724.4, 190724.4, 190724.4, 192476.78, 0, 0, 0, 0, 30.089579, -81.700455, Residential, Wood
-333743, FL, CLAY COUNTY, 0, 79520.76, 0, 0, 79520.76, 86854.48, 0, 0, 0, 0, 30.063236, -81.707703, Residential, Wood
-172534, FL, CLAY COUNTY, 0, 254281.5, 0, 254281.5, 254281.5, 246144.49, 0, 0, 0, 0, 30.060614, -81.702675, Residential, Wood
-785275, FL, CLAY COUNTY, 0, 515035.62, 0, 0, 515035.62, 884419.17, 0, 0, 0, 0, 30.063236, -81.707703, Residential, Masonry
-995932, FL, CLAY COUNTY, 0, 19260000, 0, 0, 19260000, 20610000, 0, 0, 0, 0, 30.102226, -81.713882, Commercial, Reinforced Concrete
-223488, FL, CLAY COUNTY, 328500, 328500, 328500, 328500, 328500, 348374.25, 0, 16425, 0, 0, 30.102217, -81.707146, Residential, Wood
-433512, FL, CLAY COUNTY, 315000, 315000, 315000, 315000, 315000, 265821.57, 0, 15750, 0, 0, 30.118774, -81.704613, Residential, Wood
\ No newline at end of file
diff --git a/python-xml-csv/readme.rst b/python-xml-csv/readme.rst
deleted file mode 100644
index b4a5e91ab..000000000
--- a/python-xml-csv/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/how-to-convert-xml-to-csv-using-python/
diff --git a/python-xml-csv/sample.csv b/python-xml-csv/sample.csv
deleted file mode 100644
index 999594e6c..000000000
--- a/python-xml-csv/sample.csv
+++ /dev/null
@@ -1,10 +0,0 @@
-policyID,statecode,county,eq_site_limit,hu_site_limit,fl_site_limit,fr_site_limit,tiv_2011,tiv_2012,eq_site_deductible,hu_site_deductible,fl_site_deductible,fr_site_deductible,point_latitude,point_longitude,line,construction,point_granularity
-119736,FL,CLAY COUNTY,498960,498960,498960,498960,498960,792148.9,0,9979.2,0,0,30.102261,-81.711777,Residential,Masonry,1
-448094,FL,CLAY COUNTY,1322376.3,1322376.3,1322376.3,1322376.3,1322376.3,1438163.57,0,0,0,0,30.063936,-81.707664,Residential,Masonry,3
-206893,FL,CLAY COUNTY,190724.4,190724.4,190724.4,190724.4,190724.4,192476.78,0,0,0,0,30.089579,-81.700455,Residential,Wood,1
-333743,FL,CLAY COUNTY,0,79520.76,0,0,79520.76,86854.48,0,0,0,0,30.063236,-81.707703,Residential,Wood,3
-172534,FL,CLAY COUNTY,0,254281.5,0,254281.5,254281.5,246144.49,0,0,0,0,30.060614,-81.702675,Residential,Wood,1
-785275,FL,CLAY COUNTY,0,515035.62,0,0,515035.62,884419.17,0,0,0,0,30.063236,-81.707703,Residential,Masonry,3
-995932,FL,CLAY COUNTY,0,19260000,0,0,19260000,20610000,0,0,0,0,30.102226,-81.713882,Commercial,Reinforced Concrete,1
-223488,FL,CLAY COUNTY,328500,328500,328500,328500,328500,348374.25,0,16425,0,0,30.102217,-81.707146,Residential,Wood,1
-433512,FL,CLAY COUNTY,315000,315000,315000,315000,315000,265821.57,0,15750,0,0,30.118774,-81.704613,Residential,Wood,1
\ No newline at end of file
diff --git a/python-xml-csv/xml-csv.py b/python-xml-csv/xml-csv.py
deleted file mode 100644
index 01165bb1c..000000000
--- a/python-xml-csv/xml-csv.py
+++ /dev/null
@@ -1,33 +0,0 @@
-from xml.etree import ElementTree
-
-tree = ElementTree.parse('input.xml')
-root = tree.getroot()
-
-data = []
-
-for policy in root:
- policyId = policy.find('policyId').text
- statecode = policy.find('statecode').text
- eq_site_limit = policy.find('eq_site_limit').text
- hu_site_limit = policy.find('hu_site_limit').text
- fl_site_limit = policy.find('fl_site_limit').text
- fr_site_limit = policy.find('fr_site_limit').text
- tiv_2011 = policy.find('tiv_2011').text
- tiv_2012 = policy.find('tiv_2012').text
- eq_site_deductible = policy.find('eq_site_deductible').text
- hu_site_deductible = policy.find('hu_site_deductible').text
- fl_site_deductible = policy.find('fl_site_deductible').text
- fr_site_deductible = policy.find('fr_site_deductible').text
- point_latitude = policy.find('point_latitude').text
- point_longitude = policy.find('point_longitude').text
- line = policy.find('line').text
- construction = policy.find('construction').text
- point_granularity = policy.find('point_granularity').text
-
- #print('{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}'.format(policyId, statecode, eq_site_limit, hu_site_limit, fl_site_limit, fr_site_limit, tiv_2011, tiv_2012, eq_site_deductible, hu_site_deductible, fl_site_deductible, fr_site_deductible, point_latitude, point_longitude, line, construction, point_granularity))
-
- data.append('{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}'.format(policyId, statecode, eq_site_limit, hu_site_limit, fl_site_limit, fr_site_limit, tiv_2011, tiv_2012, eq_site_deductible, hu_site_deductible, fl_site_deductible, fr_site_deductible, point_latitude, point_longitude, line, construction, point_granularity))
-
-print (data)
-
-#with open('output.csv', 'w') as f: f.write('\n'.join([row for row in data[1:]]))
\ No newline at end of file
diff --git a/python-xml-csv/xml-string-csv.py b/python-xml-csv/xml-string-csv.py
deleted file mode 100644
index 65dcbbda9..000000000
--- a/python-xml-csv/xml-string-csv.py
+++ /dev/null
@@ -1,208 +0,0 @@
-from xml.etree.ElementTree import XML
-
-input_xml = """
-
- 119736
- FL
- CLAY COUNTY
- 498960
- 498960
- 498960
- 498960
- 498960
- 792148.9
- 0
- 9979.2
- 0
- 0
- 30.102261
- -81.711777
- Residential
- Masonry
-
-
- 448094
- FL
- CLAY COUNTY
- 1322376.3
- 1322376.3
- 1322376.3
- 1322376.3
- 1322376.3
- 1438163.57
- 0
- 0
- 0
- 0
- 30.063936
- -81.707664
- Residential
- Masonry
-
-
- 206893
- FL
- CLAY COUNTY
- 190724.4
- 190724.4
- 190724.4
- 190724.4
- 190724.4
- 192476.78
- 0
- 0
- 0
- 0
- 30.089579
- -81.700455
- Residential
- Wood
-
-
- 333743
- FL
- CLAY COUNTY
- 0
- 79520.76
- 0
- 0
- 79520.76
- 86854.48
- 0
- 0
- 0
- 0
- 30.063236
- -81.707703
- Residential
- Wood
-
-
- 172534
- FL
- CLAY COUNTY
- 0
- 254281.5
- 0
- 254281.5
- 254281.5
- 246144.49
- 0
- 0
- 0
- 0
- 30.060614
- -81.702675
- Residential
- Wood
-
-
- 785275
- FL
- CLAY COUNTY
- 0
- 515035.62
- 0
- 0
- 515035.62
- 884419.17
- 0
- 0
- 0
- 0
- 30.063236
- -81.707703
- Residential
- Masonry
-
-
- 995932
- FL
- CLAY COUNTY
- 0
- 19260000
- 0
- 0
- 19260000
- 20610000
- 0
- 0
- 0
- 0
- 30.102226
- -81.713882
- Commercial
- Reinforced Concrete
-
-
- 223488
- FL
- CLAY COUNTY
- 328500
- 328500
- 328500
- 328500
- 328500
- 348374.25
- 0
- 16425
- 0
- 0
- 30.102217
- -81.707146
- Residential
- Wood
-
-
- 433512
- FL
- CLAY COUNTY
- 315000
- 315000
- 315000
- 315000
- 315000
- 265821.57
- 0
- 15750
- 0
- 0
- 30.118774
- -81.704613
- Residential
- Wood
-
-"""
-
-parsed = XML(input_xml)
-
-#print (parsed)
-
-data = []
-
-for policy in parsed:
- policyId = policy.find('policyId').text
- statecode = policy.find('statecode').text
- eq_site_limit = policy.find('eq_site_limit').text
- hu_site_limit = policy.find('hu_site_limit').text
- fl_site_limit = policy.find('fl_site_limit').text
- fr_site_limit = policy.find('fr_site_limit').text
- tiv_2011 = policy.find('tiv_2011').text
- tiv_2012 = policy.find('tiv_2012').text
- eq_site_deductible = policy.find('eq_site_deductible').text
- hu_site_deductible = policy.find('hu_site_deductible').text
- fl_site_deductible = policy.find('fl_site_deductible').text
- fr_site_deductible = policy.find('fr_site_deductible').text
- point_latitude = policy.find('point_latitude').text
- point_longitude = policy.find('point_longitude').text
- line = policy.find('line').text
- construction = policy.find('construction').text
- point_granularity = policy.find('point_granularity').text
-
- #print('{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}'.format(policyId, statecode, eq_site_limit, hu_site_limit, fl_site_limit, fr_site_limit, tiv_2011, tiv_2012, eq_site_deductible, hu_site_deductible, fl_site_deductible, fr_site_deductible, point_latitude, point_longitude, line, construction, point_granularity))
-
- data.append('{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}'.format(policyId, statecode, eq_site_limit, hu_site_limit, fl_site_limit, fr_site_limit, tiv_2011, tiv_2012, eq_site_deductible, hu_site_deductible, fl_site_deductible, fr_site_deductible, point_latitude, point_longitude, line, construction, point_granularity))
-
-#print (data)
-
-with open('output-string.csv', 'w') as f: f.write('\n'.join([row for row in data[1:]]))
\ No newline at end of file
diff --git a/python-xml-modifier/readme.rst b/python-xml-modifier/readme.rst
deleted file mode 100644
index 28de1dc34..000000000
--- a/python-xml-modifier/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can read tutorial https://www.roytuts.com/modifying-xml-using-python/
\ No newline at end of file
diff --git a/python-xml-modifier/xml_modifier.py b/python-xml-modifier/xml_modifier.py
deleted file mode 100644
index 291249f47..000000000
--- a/python-xml-modifier/xml_modifier.py
+++ /dev/null
@@ -1,32 +0,0 @@
-import xml.etree.ElementTree as ET
-
-#pretty print method
-def indent(elem, level=0):
- i = "\n" + level*" "
- j = "\n" + (level-1)*" "
- if len(elem):
- if not elem.text or not elem.text.strip():
- elem.text = i + " "
- if not elem.tail or not elem.tail.strip():
- elem.tail = i
- for subelem in elem:
- indent(subelem, level+1)
- if not elem.tail or not elem.tail.strip():
- elem.tail = j
- else:
- if level and (not elem.tail or not elem.tail.strip()):
- elem.tail = j
- return elem
-
-tree = ET.parse('bookstore2.xml')
-root = tree.getroot()
-
-#update all price
-for price in root.iter('price'):
- new_price = int(price.text) + 5
- price.text = str(new_price)
- price.set('updated', 'yes')
-
-#write to file
-tree = ET.ElementTree(indent(root))
-tree.write('bookstore2.xml', xml_declaration=True, encoding='utf-8')
\ No newline at end of file
diff --git a/python-xml-parser/bookstore.xml b/python-xml-parser/bookstore.xml
new file mode 100644
index 000000000..bea262040
--- /dev/null
+++ b/python-xml-parser/bookstore.xml
@@ -0,0 +1,56 @@
+
+
+
+
+ Joe
+ Bob
+ Trenton Literary Review Honorable Mention
+
+ 12
+
+
+
+ Mary
+ Bob
+ Selected Short Stories of
+ Mary
+ Bob
+
+
+
+ Britney
+ Bob
+
+ 55
+
+
+ 2.50
+
+
+
+
+ Toni
+ Bob
+ B.A.
+ Ph.D.
+ Pulitzer
+ Still in Trenton
+ Trenton Forever
+
+ 6.50
+
+ It was a dark and stormy night.
+ But then all nights in Trenton seem dark and
+ stormy to someone who has gone through what
+ I have.
+
+ Trenton
+ misery
+
+
+
+
+ Who's Who in Trenton
+ Robert Bob
+
+
diff --git a/python-xml-parser/readme.rst b/python-xml-parser/readme.rst
index afad10d6e..c909d079c 100644
--- a/python-xml-parser/readme.rst
+++ b/python-xml-parser/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/parsing-xml-using-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/parsing-xml-using-python/
diff --git a/python_flask_multiple_files_upload/app.py b/python_flask_multiple_files_upload/app.py
deleted file mode 100644
index d58a47f40..000000000
--- a/python_flask_multiple_files_upload/app.py
+++ /dev/null
@@ -1,8 +0,0 @@
-from flask import Flask
-
-UPLOAD_FOLDER = 'D:/uploads'
-
-app = Flask(__name__)
-app.secret_key = "secret key"
-app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
-app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024
diff --git a/python_flask_multiple_files_upload/main.py b/python_flask_multiple_files_upload/main.py
deleted file mode 100644
index cff123f81..000000000
--- a/python_flask_multiple_files_upload/main.py
+++ /dev/null
@@ -1,33 +0,0 @@
-import os
-#import magic
-import urllib.request
-from app import app
-from flask import Flask, flash, request, redirect, render_template
-from werkzeug.utils import secure_filename
-
-ALLOWED_EXTENSIONS = set(['txt', 'pdf', 'png', 'jpg', 'jpeg', 'gif'])
-
-def allowed_file(filename):
- return '.' in filename and filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS
-
-@app.route('/')
-def upload_form():
- return render_template('upload.html')
-
-@app.route('/', methods=['POST'])
-def upload_file():
- if request.method == 'POST':
- # check if the post request has the files part
- if 'files[]' not in request.files:
- flash('No file part')
- return redirect(request.url)
- files = request.files.getlist('files[]')
- for file in files:
- if file and allowed_file(file.filename):
- filename = secure_filename(file.filename)
- file.save(os.path.join(app.config['UPLOAD_FOLDER'], filename))
- flash('File(s) successfully uploaded')
- return redirect('/')
-
-if __name__ == "__main__":
- app.run()
\ No newline at end of file
diff --git a/python_flask_multiple_files_upload/readme.rst b/python_flask_multiple_files_upload/readme.rst
deleted file mode 100644
index 174cf9c7e..000000000
--- a/python_flask_multiple_files_upload/readme.rst
+++ /dev/null
@@ -1 +0,0 @@
-You can go through the tutorial https://www.roytuts.com/python-flask-multiple-files-upload-example/
diff --git a/python_flask_multiple_files_upload/templates/upload.html b/python_flask_multiple_files_upload/templates/upload.html
deleted file mode 100644
index 6203d5cf7..000000000
--- a/python_flask_multiple_files_upload/templates/upload.html
+++ /dev/null
@@ -1,24 +0,0 @@
-
-Python Flask Multiple Files Upload Example
-Select file(s) to upload
-
- {% with messages = get_flashed_messages() %}
- {% if messages %}
-
- {% for message in messages %}
- - {{ message }}
- {% endfor %}
-
- {% endif %}
- {% endwith %}
-
-
\ No newline at end of file
diff --git a/python_flask_mysql_bootstrap_calendar_events/readme.rst b/python_flask_mysql_bootstrap_calendar_events/readme.rst
index ff1f95163..3b835cc75 100644
--- a/python_flask_mysql_bootstrap_calendar_events/readme.rst
+++ b/python_flask_mysql_bootstrap_calendar_events/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/bootstrap-calendar-events-demo-using-python-flask-mysql/
+Please follow the tutorial https://roytuts.com/bootstrap-calendar-events-demo-using-python-flask-mysql/
diff --git a/read-lines-from-last/SampleTextFile_10kb.txt b/read-lines-from-last/SampleTextFile_10kb.txt
new file mode 100644
index 000000000..e0f98f53f
--- /dev/null
+++ b/read-lines-from-last/SampleTextFile_10kb.txt
@@ -0,0 +1,27 @@
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus condimentum sagittis lacus, laoreet luctus ligula laoreet ut. Vestibulum ullamcorper accumsan velit vel vehicula. Proin tempor lacus arcu. Nunc at elit condimentum, semper nisi et, condimentum mi. In venenatis blandit nibh at sollicitudin. Vestibulum dapibus mauris at orci maximus pellentesque. Nullam id elementum ipsum. Suspendisse cursus lobortis viverra. Proin et erat at mauris tincidunt porttitor vitae ac dui.
+
+Donec vulputate lorem tortor, nec fermentum nibh bibendum vel. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent dictum luctus massa, non euismod lacus. Pellentesque condimentum dolor est, ut dapibus lectus luctus ac. Ut sagittis commodo arcu. Integer nisi nulla, facilisis sit amet nulla quis, eleifend suscipit purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Aliquam euismod ultrices lorem, sit amet imperdiet est tincidunt vel. Phasellus dictum justo sit amet ligula varius aliquet auctor et metus. Fusce vitae tortor et nisi pulvinar vestibulum eget in risus. Donec ante ex, placerat a lorem eget, ultricies bibendum purus. Nam sit amet neque non ante laoreet rutrum. Nullam aliquet commodo urna, sed ullamcorper odio feugiat id. Mauris nisi sapien, porttitor in condimentum nec, venenatis eu urna. Pellentesque feugiat diam est, at rhoncus orci porttitor non.
+
+Nulla luctus sem sit amet nisi consequat, id ornare ipsum dignissim. Sed elementum elit nibh, eu condimentum orci viverra quis. Aenean suscipit vitae felis non suscipit. Suspendisse pharetra turpis non eros semper dictum. Etiam tincidunt venenatis venenatis. Praesent eget gravida lorem, ut congue diam. Etiam facilisis elit at porttitor egestas. Praesent consequat, velit non vulputate convallis, ligula diam sagittis urna, in venenatis nisi justo ut mauris. Vestibulum posuere sollicitudin mi, et vulputate nisl fringilla non. Nulla ornare pretium velit a euismod. Nunc sagittis venenatis vestibulum. Nunc sodales libero a est ornare ultricies. Sed sed leo sed orci pellentesque ultrices. Mauris sollicitudin, sem quis placerat ornare, velit arcu convallis ligula, pretium finibus nisl sapien vel sem. Vivamus sit amet tortor id lorem consequat hendrerit. Nullam at dui risus.
+
+Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed feugiat semper velit consequat facilisis. Etiam facilisis justo non iaculis dictum. Fusce turpis neque, pharetra ut odio eu, hendrerit rhoncus lacus. Nunc orci felis, imperdiet vel interdum quis, porta eu ipsum. Pellentesque dictum sem lacinia, auctor dui in, malesuada nunc. Maecenas sit amet mollis eros. Proin fringilla viverra ligula, sollicitudin viverra ante sollicitudin congue. Donec mollis felis eu libero malesuada, et lacinia risus interdum.
+
+Etiam vitae accumsan augue. Ut urna orci, malesuada ut nisi a, condimentum gravida magna. Nulla bibendum ex in vulputate sagittis. Nulla facilisi. Nullam faucibus et metus ac consequat. Quisque tempor eros velit, id mattis nibh aliquet a. Aenean tempor elit ut finibus auctor. Sed at imperdiet mauris. Vestibulum pharetra non lacus sed pulvinar. Sed pellentesque magna a eros volutpat ullamcorper. In hac habitasse platea dictumst. Donec ipsum mi, feugiat in eros sed, varius lacinia turpis. Donec vulputate tincidunt dui ac laoreet. Sed in eros dui. Pellentesque placerat tristique ligula eu finibus. Proin nec faucibus felis, eu commodo ipsum.
+
+Integer eu hendrerit diam, sed consectetur nunc. Aliquam a sem vitae leo fermentum faucibus quis at sem. Etiam blandit, quam quis fermentum varius, ante urna ultricies lectus, vel pellentesque ligula arcu nec elit. Donec placerat ante in enim scelerisque pretium. Donec et rhoncus erat. Aenean tempor nisi vitae augue tincidunt luctus. Nam condimentum dictum ante, et laoreet neque pellentesque id. Curabitur consectetur cursus neque aliquam porta. Ut interdum nunc nec nibh vestibulum, in sagittis metus facilisis. Pellentesque feugiat condimentum metus. Etiam venenatis quam at ante rhoncus vestibulum. Maecenas suscipit congue pellentesque. Vestibulum suscipit scelerisque fermentum. Nulla iaculis risus ac vulputate porttitor.
+
+Mauris nec metus vel dolor blandit faucibus et vel magna. Ut tincidunt ipsum non nunc dapibus, sed blandit mi condimentum. Quisque pharetra interdum quam nec feugiat. Sed pellentesque nulla et turpis blandit interdum. Curabitur at metus vitae augue elementum viverra. Sed mattis lorem non enim fermentum finibus. Sed at dui in magna dignissim accumsan. Proin tincidunt ultricies cursus. Maecenas tincidunt magna at urna faucibus lacinia.
+
+Quisque venenatis justo sit amet tortor condimentum, nec tincidunt tellus viverra. Morbi risus ipsum, consequat convallis malesuada non, fermentum non velit. Nulla facilisis orci eget ligula mattis fermentum. Aliquam vel velit ultricies, sollicitudin nibh eu, congue velit. Donec nulla lorem, euismod id cursus at, sollicitudin et arcu. Proin vitae tincidunt ipsum. Vivamus elementum eleifend justo, placerat interdum nulla rutrum id.
+
+Phasellus fringilla luctus magna, a finibus justo dapibus a. Nam risus felis, rhoncus eget diam sit amet, congue facilisis nibh. Interdum et malesuada fames ac ante ipsum primis in faucibus. Praesent consequat euismod diam, eget volutpat magna convallis at. Mauris placerat pellentesque imperdiet. Nulla porta scelerisque enim, et scelerisque neque bibendum in. Proin eget turpis nisi. Suspendisse ut est a erat egestas eleifend at euismod arcu. Donec aliquet, nisi sed faucibus condimentum, nisi metus dictum eros, nec dignissim justo odio id nulla. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Maecenas sollicitudin, justo id elementum eleifend, justo neque aliquet nibh, finibus malesuada metus erat eget neque. Suspendisse nec auctor orci. Aenean et vestibulum nulla. Nullam hendrerit augue tristique, commodo metus id, sodales lorem. Etiam feugiat dui est, vitae auctor risus convallis non.
+
+Maecenas turpis enim, consectetur eget lectus eu, hendrerit posuere lacus. Praesent efficitur, felis eget dapibus consectetur, nisi massa dignissim enim, nec semper dolor est eu urna. Nullam ut sodales lorem. Aliquam dapibus faucibus diam. Vestibulum vel magna et dolor gravida imperdiet ut sit amet sem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur elementum metus tincidunt nulla euismod ultricies. Duis elementum nec neque in porttitor. Nulla sagittis lorem elit, et consectetur ante laoreet eu. Maecenas nulla tellus, scelerisque ac erat sed, fermentum dapibus metus. Donec tincidunt fermentum molestie.
+
+Sed consequat mi at maximus faucibus. Pellentesque aliquet tincidunt sapien vel auctor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Praesent accumsan nunc eget leo aliquam, facilisis hendrerit turpis egestas. Morbi in ultricies mauris, a eleifend turpis. Quisque fringilla massa iaculis risus ultrices, sit amet tincidunt dui varius. Quisque maximus porta tristique. Proin tincidunt, turpis ut tempor pretium, lectus ipsum ullamcorper leo, ac tincidunt felis dui non leo. Aenean porta augue ligula, non consequat ipsum aliquet et. Suspendisse ut suscipit ex. Pellentesque vitae lacinia arcu. Curabitur eget tincidunt nulla, non bibendum metus. Nullam mi ipsum, eleifend vitae tortor pulvinar, facilisis sollicitudin ipsum.
+
+Vestibulum molestie risus lorem, at feugiat lorem congue sed. Phasellus ullamcorper laoreet enim, nec aliquam turpis scelerisque et. Etiam dictum metus in elit aliquam dapibus. Vivamus vel lectus velit. Nam sed purus luctus, commodo dui quis, malesuada dui. Nulla porttitor aliquet elit sit amet viverra. Proin tempor nulla urna, non aliquet metus maximus quis. Aliquam ac lectus nec mi aliquam sagittis. Quisque venenatis quam eget nisl tempor, egestas rutrum eros eleifend. Nullam venenatis commodo velit, non tempor mauris fermentum ut. In a metus quis erat cursus sagittis. Donec congue nisl in viverra egestas.
+
+Vestibulum facilisis ligula magna, eu ornare lectus varius et. Mauris facilisis faucibus quam, quis mollis eros convallis non. Interdum et malesuada fames ac ante ipsum primis in faucibus. Praesent sit amet rutrum erat. Suspendisse potenti. Donec lorem mi, sagittis a fringilla sit amet, sagittis bibendum mauris. In in diam et lorem rutrum eleifend a et felis. Sed ac magna quis enim faucibus dictum. Suspendisse blandit enim eu ex laoreet gravida.
+
+Suspendisse sed semper felis. Etiam mattis magna mi, suscipit ullamcorper tellus euismod sed. Aenean congue scelerisque ligula id sodales. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nunc sem lectus, gravida ac dui non, pharetra posuere leo. Maecenas lacus libero, facilisis et elit vitae, commodo facilisis sem. Vivamus id nisl nulla. Integer at maximus dui. Ut a tincidunt lorem. Vivamus vitae ligula vel lacus cursus condimentum. Phasellus quis mauris lobortis, finibus lorem in, vulputate ex. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed faucibus aliquam metus, quis varius elit porttitor id. Vivamus dignissim sollicitudin scelerisque. Morbi tincidunt, dolor quis vehicula consequat, dui diam condimentum nunc, vitae scelerisque odio libero nec ligula. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
diff --git a/read-lines-from-last/readme.rst b/read-lines-from-last/readme.rst
index 04757ea38..309bf4985 100644
--- a/read-lines-from-last/readme.rst
+++ b/read-lines-from-last/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/read-last-n-lines-from-file-using-python/
+Please follow the tutorial https://roytuts.com/read-last-n-lines-from-file-using-python/
diff --git a/real-time-face-detection/haarcascade_frontalface_alt.xml b/real-time-face-detection/haarcascade_frontalface_alt.xml
index 3e86f7d05..ade4b2121 100644
--- a/real-time-face-detection/haarcascade_frontalface_alt.xml
+++ b/real-time-face-detection/haarcascade_frontalface_alt.xml
@@ -24347,3568 +24347,4 @@
0 0 5 3 2.
<_>
5 3 5 3 2.
-
-
- <_>
- 6 6 9 2 -1.
- <_>
- 9 6 3 2 3.
- <_>
-
- <_>
- 4 11 1 3 -1.
- <_>
- 4 12 1 1 3.
- <_>
-
- <_>
- 14 12 6 6 -1.
- <_>
- 14 12 3 6 2.
- <_>
-
- <_>
- 7 0 3 7 -1.
- <_>
- 8 0 1 7 3.
- <_>
-
- <_>
- 9 8 3 3 -1.
- <_>
- 10 8 1 3 3.
- <_>
-
- <_>
- 8 8 3 3 -1.
- <_>
- 9 8 1 3 3.
- <_>
-
- <_>
- 5 10 11 3 -1.
- <_>
- 5 11 11 1 3.
- <_>
-
- <_>
- 5 7 10 1 -1.
- <_>
- 10 7 5 1 2.
- <_>
-
- <_>
- 9 7 3 2 -1.
- <_>
- 10 7 1 2 3.
- <_>
-
- <_>
- 8 7 3 2 -1.
- <_>
- 9 7 1 2 3.
- <_>
-
- <_>
- 11 9 4 2 -1.
- <_>
- 11 9 2 2 2.
- <_>
-
- <_>
- 5 9 4 2 -1.
- <_>
- 7 9 2 2 2.
- <_>
-
- <_>
- 14 10 2 4 -1.
- <_>
- 14 12 2 2 2.
- <_>
-
- <_>
- 7 7 3 2 -1.
- <_>
- 8 7 1 2 3.
- <_>
-
- <_>
- 14 17 6 3 -1.
- <_>
- 14 18 6 1 3.
- <_>
-
- <_>
- 4 5 12 12 -1.
- <_>
- 4 5 6 6 2.
- <_>
- 10 11 6 6 2.
- <_>
-
- <_>
- 6 9 8 8 -1.
- <_>
- 10 9 4 4 2.
- <_>
- 6 13 4 4 2.
- <_>
-
- <_>
- 0 4 15 4 -1.
- <_>
- 5 4 5 4 3.
- <_>
-
- <_>
- 13 2 4 1 -1.
- <_>
- 13 2 2 1 2.
- <_>
-
- <_>
- 4 12 2 2 -1.
- <_>
- 4 13 2 1 2.
- <_>
-
- <_>
- 8 13 4 3 -1.
- <_>
- 8 14 4 1 3.
- <_>
-
- <_>
- 9 13 2 3 -1.
- <_>
- 9 14 2 1 3.
- <_>
-
- <_>
- 13 11 2 3 -1.
- <_>
- 13 12 2 1 3.
- <_>
-
- <_>
- 7 12 4 4 -1.
- <_>
- 7 12 2 2 2.
- <_>
- 9 14 2 2 2.
- <_>
-
- <_>
- 10 11 2 2 -1.
- <_>
- 11 11 1 1 2.
- <_>
- 10 12 1 1 2.
- <_>
-
- <_>
- 8 17 3 2 -1.
- <_>
- 9 17 1 2 3.
- <_>
-
- <_>
- 10 11 2 2 -1.
- <_>
- 11 11 1 1 2.
- <_>
- 10 12 1 1 2.
- <_>
-
- <_>
- 0 17 6 3 -1.
- <_>
- 0 18 6 1 3.
- <_>
-
- <_>
- 10 11 2 2 -1.
- <_>
- 11 11 1 1 2.
- <_>
- 10 12 1 1 2.
- <_>
-
- <_>
- 8 11 2 2 -1.
- <_>
- 8 11 1 1 2.
- <_>
- 9 12 1 1 2.
- <_>
-
- <_>
- 12 5 8 4 -1.
- <_>
- 12 5 4 4 2.
- <_>
-
- <_>
- 0 5 8 4 -1.
- <_>
- 4 5 4 4 2.
- <_>
-
- <_>
- 13 2 4 1 -1.
- <_>
- 13 2 2 1 2.
- <_>
-
- <_>
- 3 2 4 1 -1.
- <_>
- 5 2 2 1 2.
- <_>
-
- <_>
- 10 0 4 2 -1.
- <_>
- 12 0 2 1 2.
- <_>
- 10 1 2 1 2.
- <_>
-
- <_>
- 7 12 3 1 -1.
- <_>
- 8 12 1 1 3.
- <_>
-
- <_>
- 8 11 4 8 -1.
- <_>
- 10 11 2 4 2.
- <_>
- 8 15 2 4 2.
- <_>
-
- <_>
- 9 9 2 2 -1.
- <_>
- 9 10 2 1 2.
- <_>
-
- <_>
- 3 18 15 2 -1.
- <_>
- 3 19 15 1 2.
- <_>
-
- <_>
- 2 6 2 12 -1.
- <_>
- 2 6 1 6 2.
- <_>
- 3 12 1 6 2.
- <_>
-
- <_>
- 9 8 2 3 -1.
- <_>
- 9 9 2 1 3.
- <_>
-
- <_>
- 7 10 3 2 -1.
- <_>
- 8 10 1 2 3.
- <_>
-
- <_>
- 11 11 3 1 -1.
- <_>
- 12 11 1 1 3.
- <_>
-
- <_>
- 6 11 3 1 -1.
- <_>
- 7 11 1 1 3.
- <_>
-
- <_>
- 9 2 4 2 -1.
- <_>
- 11 2 2 1 2.
- <_>
- 9 3 2 1 2.
- <_>
-
- <_>
- 4 12 2 3 -1.
- <_>
- 4 13 2 1 3.
- <_>
-
- <_>
- 2 1 18 3 -1.
- <_>
- 8 1 6 3 3.
- <_>
-
- <_>
- 5 1 4 14 -1.
- <_>
- 7 1 2 14 2.
- <_>
-
- <_>
- 8 16 12 3 -1.
- <_>
- 8 16 6 3 2.
- <_>
-
- <_>
- 1 17 18 3 -1.
- <_>
- 7 17 6 3 3.
- <_>
-
- <_>
- 9 14 2 6 -1.
- <_>
- 9 17 2 3 2.
- <_>
-
- <_>
- 9 12 1 8 -1.
- <_>
- 9 16 1 4 2.
- <_>
-
- <_>
- 9 14 2 3 -1.
- <_>
- 9 15 2 1 3.
- <_>
-
- <_>
- 9 6 2 12 -1.
- <_>
- 9 10 2 4 3.
- <_>
-
- <_>
- 12 9 3 3 -1.
- <_>
- 12 10 3 1 3.
- <_>
-
- <_>
- 0 1 4 8 -1.
- <_>
- 2 1 2 8 2.
- <_>
-
- <_>
- 9 1 6 2 -1.
- <_>
- 12 1 3 1 2.
- <_>
- 9 2 3 1 2.
- <_>
-
- <_>
- 1 3 12 14 -1.
- <_>
- 1 10 12 7 2.
- <_>
-
- <_>
- 8 12 4 2 -1.
- <_>
- 10 12 2 1 2.
- <_>
- 8 13 2 1 2.
- <_>
-
- <_>
- 1 9 10 2 -1.
- <_>
- 1 9 5 1 2.
- <_>
- 6 10 5 1 2.
- <_>
-
- <_>
- 8 15 4 3 -1.
- <_>
- 8 16 4 1 3.
- <_>
-
- <_>
- 6 8 8 3 -1.
- <_>
- 6 9 8 1 3.
- <_>
-
- <_>
- 9 15 5 3 -1.
- <_>
- 9 16 5 1 3.
- <_>
-
- <_>
- 8 7 4 3 -1.
- <_>
- 8 8 4 1 3.
- <_>
-
- <_>
- 7 7 6 2 -1.
- <_>
- 7 8 6 1 2.
- <_>
-
- <_>
- 5 7 8 2 -1.
- <_>
- 5 7 4 1 2.
- <_>
- 9 8 4 1 2.
- <_>
-
- <_>
- 12 9 3 3 -1.
- <_>
- 12 10 3 1 3.
- <_>
-
- <_>
- 4 7 4 2 -1.
- <_>
- 4 8 4 1 2.
- <_>
-
- <_>
- 14 2 6 9 -1.
- <_>
- 14 5 6 3 3.
- <_>
-
- <_>
- 4 9 3 3 -1.
- <_>
- 5 9 1 3 3.
- <_>
-
- <_>
- 12 9 3 3 -1.
- <_>
- 12 10 3 1 3.
- <_>
-
- <_>
- 0 2 6 9 -1.
- <_>
- 0 5 6 3 3.
- <_>
-
- <_>
- 17 3 3 6 -1.
- <_>
- 18 3 1 6 3.
- <_>
-
- <_>
- 0 3 3 6 -1.
- <_>
- 1 3 1 6 3.
- <_>
-
- <_>
- 17 14 1 2 -1.
- <_>
- 17 15 1 1 2.
- <_>
-
- <_>
- 4 9 4 3 -1.
- <_>
- 6 9 2 3 2.
- <_>
-
- <_>
- 12 9 3 3 -1.
- <_>
- 12 10 3 1 3.
- <_>
-
- <_>
- 5 9 3 3 -1.
- <_>
- 5 10 3 1 3.
- <_>
-
- <_>
- 9 5 6 8 -1.
- <_>
- 12 5 3 4 2.
- <_>
- 9 9 3 4 2.
- <_>
-
- <_>
- 5 5 6 8 -1.
- <_>
- 5 5 3 4 2.
- <_>
- 8 9 3 4 2.
- <_>
-
- <_>
- 16 1 4 6 -1.
- <_>
- 16 4 4 3 2.
- <_>
-
- <_>
- 1 0 6 20 -1.
- <_>
- 3 0 2 20 3.
- <_>
-
- <_>
- 12 11 3 2 -1.
- <_>
- 13 11 1 2 3.
- <_>
-
- <_>
- 5 11 3 2 -1.
- <_>
- 6 11 1 2 3.
- <_>
-
- <_>
- 9 4 6 1 -1.
- <_>
- 11 4 2 1 3.
- <_>
-
- <_>
- 0 0 8 3 -1.
- <_>
- 4 0 4 3 2.
- <_>
-
- <_>
- 15 0 2 5 -1.
- <_>
- 15 0 1 5 2.
- <_>
-
- <_>
- 4 1 3 2 -1.
- <_>
- 5 1 1 2 3.
- <_>
-
- <_>
- 7 0 6 15 -1.
- <_>
- 9 0 2 15 3.
- <_>
-
- <_>
- 6 11 3 1 -1.
- <_>
- 7 11 1 1 3.
- <_>
-
- <_>
- 12 0 3 4 -1.
- <_>
- 13 0 1 4 3.
- <_>
-
- <_>
- 5 4 6 1 -1.
- <_>
- 7 4 2 1 3.
- <_>
-
- <_>
- 12 7 3 2 -1.
- <_>
- 12 8 3 1 2.
- <_>
-
- <_>
- 0 1 4 6 -1.
- <_>
- 0 4 4 3 2.
- <_>
-
- <_>
- 12 7 3 2 -1.
- <_>
- 12 8 3 1 2.
- <_>
-
- <_>
- 2 16 3 3 -1.
- <_>
- 2 17 3 1 3.
- <_>
-
- <_>
- 13 8 6 10 -1.
- <_>
- 16 8 3 5 2.
- <_>
- 13 13 3 5 2.
- <_>
-
- <_>
- 0 9 5 2 -1.
- <_>
- 0 10 5 1 2.
- <_>
-
- <_>
- 12 11 2 2 -1.
- <_>
- 13 11 1 1 2.
- <_>
- 12 12 1 1 2.
- <_>
-
- <_>
- 3 15 3 3 -1.
- <_>
- 3 16 3 1 3.
- <_>
-
- <_>
- 12 7 3 2 -1.
- <_>
- 12 8 3 1 2.
- <_>
-
- <_>
- 5 7 3 2 -1.
- <_>
- 5 8 3 1 2.
- <_>
-
- <_>
- 9 5 9 9 -1.
- <_>
- 9 8 9 3 3.
- <_>
-
- <_>
- 5 0 3 7 -1.
- <_>
- 6 0 1 7 3.
- <_>
-
- <_>
- 5 2 12 5 -1.
- <_>
- 9 2 4 5 3.
- <_>
-
- <_>
- 6 11 2 2 -1.
- <_>
- 6 11 1 1 2.
- <_>
- 7 12 1 1 2.
- <_>
-
- <_>
- 15 15 3 2 -1.
- <_>
- 15 16 3 1 2.
- <_>
-
- <_>
- 2 15 3 2 -1.
- <_>
- 2 16 3 1 2.
- <_>
-
- <_>
- 14 12 6 8 -1.
- <_>
- 17 12 3 4 2.
- <_>
- 14 16 3 4 2.
- <_>
-
- <_>
- 2 8 15 6 -1.
- <_>
- 7 8 5 6 3.
- <_>
-
- <_>
- 2 2 18 17 -1.
- <_>
- 8 2 6 17 3.
- <_>
-
- <_>
- 5 1 4 1 -1.
- <_>
- 7 1 2 1 2.
- <_>
-
- <_>
- 5 2 12 5 -1.
- <_>
- 9 2 4 5 3.
- <_>
-
- <_>
- 3 2 12 5 -1.
- <_>
- 7 2 4 5 3.
- <_>
-
- <_>
- 4 9 12 4 -1.
- <_>
- 10 9 6 2 2.
- <_>
- 4 11 6 2 2.
- <_>
-
- <_>
- 5 15 6 2 -1.
- <_>
- 5 15 3 1 2.
- <_>
- 8 16 3 1 2.
- <_>
-
- <_>
- 10 14 2 3 -1.
- <_>
- 10 15 2 1 3.
- <_>
-
- <_>
- 0 13 20 2 -1.
- <_>
- 0 13 10 1 2.
- <_>
- 10 14 10 1 2.
- <_>
-
- <_>
- 4 9 12 8 -1.
- <_>
- 10 9 6 4 2.
- <_>
- 4 13 6 4 2.
- <_>
-
- <_>
- 8 13 3 6 -1.
- <_>
- 8 16 3 3 2.
- <_>
-
- <_>
- 10 12 2 2 -1.
- <_>
- 10 13 2 1 2.
- <_>
-
- <_>
- 9 12 2 2 -1.
- <_>
- 9 12 1 1 2.
- <_>
- 10 13 1 1 2.
- <_>
-
- <_>
- 4 11 14 4 -1.
- <_>
- 11 11 7 2 2.
- <_>
- 4 13 7 2 2.
- <_>
-
- <_>
- 8 5 4 2 -1.
- <_>
- 8 6 4 1 2.
- <_>
-
- <_>
- 10 10 6 3 -1.
- <_>
- 12 10 2 3 3.
- <_>
-
- <_>
- 2 14 1 2 -1.
- <_>
- 2 15 1 1 2.
- <_>
-
- <_>
- 13 8 6 12 -1.
- <_>
- 16 8 3 6 2.
- <_>
- 13 14 3 6 2.
- <_>
-
- <_>
- 1 8 6 12 -1.
- <_>
- 1 8 3 6 2.
- <_>
- 4 14 3 6 2.
- <_>
-
- <_>
- 10 0 6 10 -1.
- <_>
- 12 0 2 10 3.
- <_>
-
- <_>
- 5 11 8 4 -1.
- <_>
- 5 11 4 2 2.
- <_>
- 9 13 4 2 2.
- <_>
-
- <_>
- 10 16 8 4 -1.
- <_>
- 14 16 4 2 2.
- <_>
- 10 18 4 2 2.
- <_>
-
- <_>
- 7 7 6 6 -1.
- <_>
- 9 7 2 6 3.
- <_>
-
- <_>
- 10 2 4 10 -1.
- <_>
- 10 2 2 10 2.
- <_>
-
- <_>
- 6 1 4 9 -1.
- <_>
- 8 1 2 9 2.
- <_>
-
- <_>
- 12 19 2 1 -1.
- <_>
- 12 19 1 1 2.
- <_>
-
- <_>
- 1 2 4 9 -1.
- <_>
- 3 2 2 9 2.
- <_>
-
- <_>
- 7 5 6 4 -1.
- <_>
- 9 5 2 4 3.
- <_>
-
- <_>
- 9 4 2 4 -1.
- <_>
- 9 6 2 2 2.
- <_>
-
- <_>
- 14 5 2 8 -1.
- <_>
- 14 9 2 4 2.
- <_>
-
- <_>
- 7 6 5 12 -1.
- <_>
- 7 12 5 6 2.
- <_>
-
- <_>
- 14 6 2 6 -1.
- <_>
- 14 9 2 3 2.
- <_>
-
- <_>
- 4 6 2 6 -1.
- <_>
- 4 9 2 3 2.
- <_>
-
- <_>
- 8 15 10 4 -1.
- <_>
- 13 15 5 2 2.
- <_>
- 8 17 5 2 2.
- <_>
-
- <_>
- 6 18 2 2 -1.
- <_>
- 7 18 1 2 2.
- <_>
-
- <_>
- 11 3 6 2 -1.
- <_>
- 11 4 6 1 2.
- <_>
-
- <_>
- 2 0 16 6 -1.
- <_>
- 2 2 16 2 3.
- <_>
-
- <_>
- 11 3 6 2 -1.
- <_>
- 11 4 6 1 2.
- <_>
-
- <_>
- 4 11 10 3 -1.
- <_>
- 4 12 10 1 3.
- <_>
-
- <_>
- 11 3 6 2 -1.
- <_>
- 11 4 6 1 2.
- <_>
-
- <_>
- 3 3 6 2 -1.
- <_>
- 3 4 6 1 2.
- <_>
-
- <_>
- 16 0 4 7 -1.
- <_>
- 16 0 2 7 2.
- <_>
-
- <_>
- 0 14 9 6 -1.
- <_>
- 0 16 9 2 3.
- <_>
-
- <_>
- 9 16 3 3 -1.
- <_>
- 9 17 3 1 3.
- <_>
-
- <_>
- 4 6 6 2 -1.
- <_>
- 6 6 2 2 3.
- <_>
-
- <_>
- 15 11 1 3 -1.
- <_>
- 15 12 1 1 3.
- <_>
-
- <_>
- 5 5 2 3 -1.
- <_>
- 5 6 2 1 3.
- <_>
-
- <_>
- 10 9 2 2 -1.
- <_>
- 10 10 2 1 2.
- <_>
-
- <_>
- 3 1 4 3 -1.
- <_>
- 5 1 2 3 2.
- <_>
-
- <_>
- 16 0 4 7 -1.
- <_>
- 16 0 2 7 2.
- <_>
-
- <_>
- 0 0 20 1 -1.
- <_>
- 10 0 10 1 2.
- <_>
-
- <_>
- 15 11 1 3 -1.
- <_>
- 15 12 1 1 3.
- <_>
-
- <_>
- 0 4 3 4 -1.
- <_>
- 1 4 1 4 3.
- <_>
-
- <_>
- 16 3 3 6 -1.
- <_>
- 16 5 3 2 3.
- <_>
-
- <_>
- 1 3 3 6 -1.
- <_>
- 1 5 3 2 3.
- <_>
-
- <_>
- 6 2 12 6 -1.
- <_>
- 12 2 6 3 2.
- <_>
- 6 5 6 3 2.
- <_>
-
- <_>
- 8 10 4 3 -1.
- <_>
- 8 11 4 1 3.
- <_>
-
- <_>
- 4 2 14 6 -1.
- <_>
- 11 2 7 3 2.
- <_>
- 4 5 7 3 2.
- <_>
-
- <_>
- 9 11 2 3 -1.
- <_>
- 9 12 2 1 3.
- <_>
-
- <_>
- 15 13 2 3 -1.
- <_>
- 15 14 2 1 3.
- <_>
-
- <_>
- 8 12 4 3 -1.
- <_>
- 8 13 4 1 3.
- <_>
-
- <_>
- 15 11 1 3 -1.
- <_>
- 15 12 1 1 3.
- <_>
-
- <_>
- 7 13 5 2 -1.
- <_>
- 7 14 5 1 2.
- <_>
-
- <_>
- 7 12 6 3 -1.
- <_>
- 7 13 6 1 3.
- <_>
-
- <_>
- 5 11 4 4 -1.
- <_>
- 5 13 4 2 2.
- <_>
-
- <_>
- 11 4 3 3 -1.
- <_>
- 12 4 1 3 3.
- <_>
-
- <_>
- 6 4 3 3 -1.
- <_>
- 7 4 1 3 3.
- <_>
-
- <_>
- 16 5 3 6 -1.
- <_>
- 17 5 1 6 3.
- <_>
-
- <_>
- 3 6 12 7 -1.
- <_>
- 7 6 4 7 3.
- <_>
-
- <_>
- 16 5 3 6 -1.
- <_>
- 17 5 1 6 3.
- <_>
-
- <_>
- 3 13 2 3 -1.
- <_>
- 3 14 2 1 3.
- <_>
-
- <_>
- 16 5 3 6 -1.
- <_>
- 17 5 1 6 3.
- <_>
-
- <_>
- 1 5 3 6 -1.
- <_>
- 2 5 1 6 3.
- <_>
-
- <_>
- 1 9 18 1 -1.
- <_>
- 7 9 6 1 3.
- <_>
-
- <_>
- 0 9 8 7 -1.
- <_>
- 4 9 4 7 2.
- <_>
-
- <_>
- 12 11 8 2 -1.
- <_>
- 12 12 8 1 2.
- <_>
-
- <_>
- 0 11 8 2 -1.
- <_>
- 0 12 8 1 2.
- <_>
-
- <_>
- 9 13 2 3 -1.
- <_>
- 9 14 2 1 3.
- <_>
-
- <_>
- 4 10 12 4 -1.
- <_>
- 4 10 6 2 2.
- <_>
- 10 12 6 2 2.
- <_>
-
- <_>
- 9 3 3 7 -1.
- <_>
- 10 3 1 7 3.
- <_>
-
- <_>
- 7 2 3 5 -1.
- <_>
- 8 2 1 5 3.
- <_>
-
- <_>
- 9 12 4 6 -1.
- <_>
- 11 12 2 3 2.
- <_>
- 9 15 2 3 2.
- <_>
-
- <_>
- 8 7 3 6 -1.
- <_>
- 9 7 1 6 3.
- <_>
-
- <_>
- 15 4 4 2 -1.
- <_>
- 15 5 4 1 2.
- <_>
-
- <_>
- 8 7 3 3 -1.
- <_>
- 9 7 1 3 3.
- <_>
-
- <_>
- 14 2 6 4 -1.
- <_>
- 14 4 6 2 2.
- <_>
-
- <_>
- 7 16 6 1 -1.
- <_>
- 9 16 2 1 3.
- <_>
-
- <_>
- 15 13 2 3 -1.
- <_>
- 15 14 2 1 3.
- <_>
-
- <_>
- 8 7 3 10 -1.
- <_>
- 9 7 1 10 3.
- <_>
-
- <_>
- 11 10 2 6 -1.
- <_>
- 11 12 2 2 3.
- <_>
-
- <_>
- 6 10 4 1 -1.
- <_>
- 8 10 2 1 2.
- <_>
-
- <_>
- 10 9 2 2 -1.
- <_>
- 10 10 2 1 2.
- <_>
-
- <_>
- 8 9 2 2 -1.
- <_>
- 8 10 2 1 2.
- <_>
-
- <_>
- 12 7 2 2 -1.
- <_>
- 13 7 1 1 2.
- <_>
- 12 8 1 1 2.
- <_>
-
- <_>
- 5 7 2 2 -1.
- <_>
- 5 7 1 1 2.
- <_>
- 6 8 1 1 2.
- <_>
-
- <_>
- 13 0 3 14 -1.
- <_>
- 14 0 1 14 3.
- <_>
-
- <_>
- 4 0 3 14 -1.
- <_>
- 5 0 1 14 3.
- <_>
-
- <_>
- 13 4 3 14 -1.
- <_>
- 14 4 1 14 3.
- <_>
-
- <_>
- 9 14 2 3 -1.
- <_>
- 9 15 2 1 3.
- <_>
-
- <_>
- 8 14 4 3 -1.
- <_>
- 8 15 4 1 3.
- <_>
-
- <_>
- 4 2 3 16 -1.
- <_>
- 5 2 1 16 3.
- <_>
-
- <_>
- 7 2 8 10 -1.
- <_>
- 7 7 8 5 2.
- <_>
-
- <_>
- 6 14 7 3 -1.
- <_>
- 6 15 7 1 3.
- <_>
-
- <_>
- 9 2 10 12 -1.
- <_>
- 14 2 5 6 2.
- <_>
- 9 8 5 6 2.
- <_>
-
- <_>
- 6 7 8 2 -1.
- <_>
- 6 8 8 1 2.
- <_>
-
- <_>
- 8 13 4 6 -1.
- <_>
- 8 16 4 3 2.
- <_>
-
- <_>
- 6 6 1 3 -1.
- <_>
- 6 7 1 1 3.
- <_>
-
- <_>
- 16 2 4 6 -1.
- <_>
- 16 4 4 2 3.
- <_>
-
- <_>
- 6 6 4 2 -1.
- <_>
- 6 6 2 1 2.
- <_>
- 8 7 2 1 2.
- <_>
-
- <_>
- 16 2 4 6 -1.
- <_>
- 16 4 4 2 3.
- <_>
-
- <_>
- 0 2 4 6 -1.
- <_>
- 0 4 4 2 3.
- <_>
-
- <_>
- 9 6 2 6 -1.
- <_>
- 9 6 1 6 2.
- <_>
-
- <_>
- 3 4 6 10 -1.
- <_>
- 3 9 6 5 2.
- <_>
-
- <_>
- 9 5 2 6 -1.
- <_>
- 9 5 1 6 2.
- <_>
-
- <_>
- 3 13 2 3 -1.
- <_>
- 3 14 2 1 3.
- <_>
-
- <_>
- 13 13 3 2 -1.
- <_>
- 13 14 3 1 2.
- <_>
-
- <_>
- 2 16 10 4 -1.
- <_>
- 2 16 5 2 2.
- <_>
- 7 18 5 2 2.
- <_>
-
- <_>
- 5 6 10 6 -1.
- <_>
- 10 6 5 3 2.
- <_>
- 5 9 5 3 2.
- <_>
-
- <_>
- 7 14 1 3 -1.
- <_>
- 7 15 1 1 3.
- <_>
-
- <_>
- 14 16 6 3 -1.
- <_>
- 14 17 6 1 3.
- <_>
-
- <_>
- 5 4 3 3 -1.
- <_>
- 5 5 3 1 3.
- <_>
-
- <_>
- 7 4 10 3 -1.
- <_>
- 7 5 10 1 3.
- <_>
-
- <_>
- 0 4 5 4 -1.
- <_>
- 0 6 5 2 2.
- <_>
-
- <_>
- 13 11 3 9 -1.
- <_>
- 13 14 3 3 3.
- <_>
-
- <_>
- 4 11 3 9 -1.
- <_>
- 4 14 3 3 3.
- <_>
-
- <_>
- 9 7 2 1 -1.
- <_>
- 9 7 1 1 2.
- <_>
-
- <_>
- 5 0 6 17 -1.
- <_>
- 7 0 2 17 3.
- <_>
-
- <_>
- 10 3 6 3 -1.
- <_>
- 10 3 3 3 2.
- <_>
-
- <_>
- 2 2 15 4 -1.
- <_>
- 7 2 5 4 3.
- <_>
-
- <_>
- 8 2 8 2 -1.
- <_>
- 12 2 4 1 2.
- <_>
- 8 3 4 1 2.
- <_>
-
- <_>
- 8 1 3 6 -1.
- <_>
- 8 3 3 2 3.
- <_>
-
- <_>
- 9 17 2 2 -1.
- <_>
- 9 18 2 1 2.
- <_>
-
- <_>
- 0 0 2 14 -1.
- <_>
- 1 0 1 14 2.
- <_>
-
- <_>
- 12 0 7 3 -1.
- <_>
- 12 1 7 1 3.
- <_>
-
- <_>
- 1 14 1 2 -1.
- <_>
- 1 15 1 1 2.
- <_>
-
- <_>
- 14 12 2 8 -1.
- <_>
- 15 12 1 4 2.
- <_>
- 14 16 1 4 2.
- <_>
-
- <_>
- 1 0 7 3 -1.
- <_>
- 1 1 7 1 3.
- <_>
-
- <_>
- 14 12 2 8 -1.
- <_>
- 15 12 1 4 2.
- <_>
- 14 16 1 4 2.
- <_>
-
- <_>
- 6 0 8 12 -1.
- <_>
- 6 0 4 6 2.
- <_>
- 10 6 4 6 2.
- <_>
-
- <_>
- 6 1 8 9 -1.
- <_>
- 6 4 8 3 3.
- <_>
-
- <_>
- 5 2 2 2 -1.
- <_>
- 5 3 2 1 2.
- <_>
-
- <_>
- 13 14 6 6 -1.
- <_>
- 16 14 3 3 2.
- <_>
- 13 17 3 3 2.
- <_>
-
- <_>
- 0 17 20 2 -1.
- <_>
- 0 17 10 1 2.
- <_>
- 10 18 10 1 2.
- <_>
-
- <_>
- 10 3 2 6 -1.
- <_>
- 11 3 1 3 2.
- <_>
- 10 6 1 3 2.
- <_>
-
- <_>
- 5 12 6 2 -1.
- <_>
- 8 12 3 2 2.
- <_>
-
- <_>
- 10 7 6 13 -1.
- <_>
- 10 7 3 13 2.
- <_>
-
- <_>
- 5 15 10 5 -1.
- <_>
- 10 15 5 5 2.
- <_>
-
- <_>
- 10 4 4 10 -1.
- <_>
- 10 4 2 10 2.
- <_>
-
- <_>
- 5 7 2 1 -1.
- <_>
- 6 7 1 1 2.
- <_>
-
- <_>
- 10 3 6 7 -1.
- <_>
- 10 3 3 7 2.
- <_>
-
- <_>
- 4 3 6 7 -1.
- <_>
- 7 3 3 7 2.
- <_>
-
- <_>
- 1 7 18 5 -1.
- <_>
- 7 7 6 5 3.
- <_>
-
- <_>
- 3 17 4 3 -1.
- <_>
- 5 17 2 3 2.
- <_>
-
- <_>
- 8 14 12 6 -1.
- <_>
- 14 14 6 3 2.
- <_>
- 8 17 6 3 2.
- <_>
-
- <_>
- 0 13 20 4 -1.
- <_>
- 0 13 10 2 2.
- <_>
- 10 15 10 2 2.
- <_>
-
- <_>
- 4 5 14 2 -1.
- <_>
- 11 5 7 1 2.
- <_>
- 4 6 7 1 2.
- <_>
-
- <_>
- 1 2 10 12 -1.
- <_>
- 1 2 5 6 2.
- <_>
- 6 8 5 6 2.
- <_>
-
- <_>
- 6 1 14 3 -1.
- <_>
- 6 2 14 1 3.
- <_>
-
- <_>
- 8 16 2 3 -1.
- <_>
- 8 17 2 1 3.
- <_>
-
- <_>
- 9 17 3 2 -1.
- <_>
- 10 17 1 2 3.
- <_>
-
- <_>
- 5 15 4 2 -1.
- <_>
- 5 15 2 1 2.
- <_>
- 7 16 2 1 2.
- <_>
-
- <_>
- 10 15 1 3 -1.
- <_>
- 10 16 1 1 3.
- <_>
-
- <_>
- 8 16 4 4 -1.
- <_>
- 8 16 2 2 2.
- <_>
- 10 18 2 2 2.
- <_>
-
- <_>
- 6 11 8 6 -1.
- <_>
- 6 14 8 3 2.
- <_>
-
- <_>
- 2 13 5 2 -1.
- <_>
- 2 14 5 1 2.
- <_>
-
- <_>
- 13 14 6 6 -1.
- <_>
- 16 14 3 3 2.
- <_>
- 13 17 3 3 2.
- <_>
-
- <_>
- 1 9 18 4 -1.
- <_>
- 7 9 6 4 3.
- <_>
-
- <_>
- 13 14 6 6 -1.
- <_>
- 16 14 3 3 2.
- <_>
- 13 17 3 3 2.
- <_>
-
- <_>
- 0 2 1 6 -1.
- <_>
- 0 4 1 2 3.
- <_>
-
- <_>
- 5 0 15 20 -1.
- <_>
- 5 10 15 10 2.
- <_>
-
- <_>
- 1 14 6 6 -1.
- <_>
- 1 14 3 3 2.
- <_>
- 4 17 3 3 2.
- <_>
-
- <_>
- 8 14 4 6 -1.
- <_>
- 10 14 2 3 2.
- <_>
- 8 17 2 3 2.
- <_>
-
- <_>
- 7 11 2 1 -1.
- <_>
- 8 11 1 1 2.
- <_>
-
- <_>
- 9 17 3 2 -1.
- <_>
- 10 17 1 2 3.
- <_>
-
- <_>
- 8 17 3 2 -1.
- <_>
- 9 17 1 2 3.
- <_>
-
- <_>
- 12 14 4 6 -1.
- <_>
- 14 14 2 3 2.
- <_>
- 12 17 2 3 2.
- <_>
-
- <_>
- 4 14 4 6 -1.
- <_>
- 4 14 2 3 2.
- <_>
- 6 17 2 3 2.
- <_>
-
- <_>
- 13 14 2 6 -1.
- <_>
- 14 14 1 3 2.
- <_>
- 13 17 1 3 2.
- <_>
-
- <_>
- 5 14 2 6 -1.
- <_>
- 5 14 1 3 2.
- <_>
- 6 17 1 3 2.
- <_>
-
- <_>
- 7 0 6 12 -1.
- <_>
- 7 4 6 4 3.
- <_>
-
- <_>
- 0 7 12 2 -1.
- <_>
- 4 7 4 2 3.
- <_>
-
- <_>
- 10 3 3 13 -1.
- <_>
- 11 3 1 13 3.
- <_>
-
- <_>
- 7 3 3 13 -1.
- <_>
- 8 3 1 13 3.
- <_>
-
- <_>
- 10 8 6 3 -1.
- <_>
- 10 9 6 1 3.
- <_>
-
- <_>
- 3 11 3 2 -1.
- <_>
- 4 11 1 2 3.
- <_>
-
- <_>
- 13 12 6 8 -1.
- <_>
- 16 12 3 4 2.
- <_>
- 13 16 3 4 2.
- <_>
-
- <_>
- 7 6 6 5 -1.
- <_>
- 9 6 2 5 3.
- <_>
-
- <_>
- 17 11 2 7 -1.
- <_>
- 17 11 1 7 2.
- <_>
-
- <_>
- 3 13 8 2 -1.
- <_>
- 7 13 4 2 2.
- <_>
-
- <_>
- 6 9 8 3 -1.
- <_>
- 6 10 8 1 3.
- <_>
-
- <_>
- 4 3 4 3 -1.
- <_>
- 4 4 4 1 3.
- <_>
-
- <_>
- 11 3 4 3 -1.
- <_>
- 11 4 4 1 3.
- <_>
-
- <_>
- 1 4 17 12 -1.
- <_>
- 1 8 17 4 3.
- <_>
-
- <_>
- 11 3 4 3 -1.
- <_>
- 11 4 4 1 3.
- <_>
-
- <_>
- 4 8 6 3 -1.
- <_>
- 4 9 6 1 3.
- <_>
-
- <_>
- 12 3 5 3 -1.
- <_>
- 12 4 5 1 3.
- <_>
-
- <_>
- 1 11 2 7 -1.
- <_>
- 2 11 1 7 2.
- <_>
-
- <_>
- 15 12 2 8 -1.
- <_>
- 16 12 1 4 2.
- <_>
- 15 16 1 4 2.
- <_>
-
- <_>
- 4 8 11 3 -1.
- <_>
- 4 9 11 1 3.
- <_>
-
- <_>
- 9 13 6 2 -1.
- <_>
- 12 13 3 1 2.
- <_>
- 9 14 3 1 2.
- <_>
-
- <_>
- 6 13 4 3 -1.
- <_>
- 6 14 4 1 3.
- <_>
-
- <_>
- 9 12 3 3 -1.
- <_>
- 10 12 1 3 3.
- <_>
-
- <_>
- 5 3 3 3 -1.
- <_>
- 5 4 3 1 3.
- <_>
-
- <_>
- 9 4 2 3 -1.
- <_>
- 9 5 2 1 3.
- <_>
-
- <_>
- 0 2 16 3 -1.
- <_>
- 0 3 16 1 3.
- <_>
-
- <_>
- 15 12 2 8 -1.
- <_>
- 16 12 1 4 2.
- <_>
- 15 16 1 4 2.
- <_>
-
- <_>
- 3 12 2 8 -1.
- <_>
- 3 12 1 4 2.
- <_>
- 4 16 1 4 2.
- <_>
-
- <_>
- 14 13 3 6 -1.
- <_>
- 14 15 3 2 3.
- <_>
-
- <_>
- 3 13 3 6 -1.
- <_>
- 3 15 3 2 3.
- <_>
-
- <_>
- 6 5 10 2 -1.
- <_>
- 11 5 5 1 2.
- <_>
- 6 6 5 1 2.
- <_>
-
- <_>
- 2 14 14 6 -1.
- <_>
- 2 17 14 3 2.
- <_>
-
- <_>
- 10 14 1 3 -1.
- <_>
- 10 15 1 1 3.
- <_>
-
- <_>
- 4 16 2 2 -1.
- <_>
- 4 16 1 1 2.
- <_>
- 5 17 1 1 2.
- <_>
-
- <_>
- 10 6 2 3 -1.
- <_>
- 10 7 2 1 3.
- <_>
-
- <_>
- 0 17 20 2 -1.
- <_>
- 0 17 10 1 2.
- <_>
- 10 18 10 1 2.
- <_>
-
- <_>
- 13 6 1 3 -1.
- <_>
- 13 7 1 1 3.
- <_>
-
- <_>
- 8 13 3 2 -1.
- <_>
- 9 13 1 2 3.
- <_>
-
- <_>
- 12 2 3 3 -1.
- <_>
- 13 2 1 3 3.
- <_>
-
- <_>
- 3 18 2 2 -1.
- <_>
- 3 18 1 1 2.
- <_>
- 4 19 1 1 2.
- <_>
-
- <_>
- 9 16 3 4 -1.
- <_>
- 10 16 1 4 3.
- <_>
-
- <_>
- 6 6 1 3 -1.
- <_>
- 6 7 1 1 3.
- <_>
-
- <_>
- 13 1 5 2 -1.
- <_>
- 13 2 5 1 2.
- <_>
-
- <_>
- 7 14 6 2 -1.
- <_>
- 7 14 3 1 2.
- <_>
- 10 15 3 1 2.
- <_>
-
- <_>
- 11 3 3 4 -1.
- <_>
- 12 3 1 4 3.
- <_>
-
- <_>
- 1 13 12 6 -1.
- <_>
- 5 13 4 6 3.
- <_>
-
- <_>
- 14 11 5 2 -1.
- <_>
- 14 12 5 1 2.
- <_>
-
- <_>
- 2 15 14 4 -1.
- <_>
- 2 15 7 2 2.
- <_>
- 9 17 7 2 2.
- <_>
-
- <_>
- 3 7 14 2 -1.
- <_>
- 10 7 7 1 2.
- <_>
- 3 8 7 1 2.
- <_>
-
- <_>
- 1 11 4 2 -1.
- <_>
- 1 12 4 1 2.
- <_>
-
- <_>
- 14 0 6 14 -1.
- <_>
- 16 0 2 14 3.
- <_>
-
- <_>
- 4 11 1 3 -1.
- <_>
- 4 12 1 1 3.
- <_>
-
- <_>
- 14 0 6 14 -1.
- <_>
- 16 0 2 14 3.
- <_>
-
- <_>
- 1 10 3 7 -1.
- <_>
- 2 10 1 7 3.
- <_>
-
- <_>
- 8 12 9 2 -1.
- <_>
- 8 13 9 1 2.
- <_>
-
- <_>
- 0 6 20 1 -1.
- <_>
- 10 6 10 1 2.
- <_>
-
- <_>
- 8 4 4 4 -1.
- <_>
- 8 4 2 4 2.
- <_>
-
- <_>
- 0 0 2 2 -1.
- <_>
- 0 1 2 1 2.
- <_>
-
- <_>
- 5 3 10 9 -1.
- <_>
- 5 6 10 3 3.
- <_>
-
- <_>
- 15 2 4 10 -1.
- <_>
- 15 2 2 10 2.
- <_>
-
- <_>
- 8 2 2 7 -1.
- <_>
- 9 2 1 7 2.
- <_>
-
- <_>
- 7 4 12 1 -1.
- <_>
- 11 4 4 1 3.
- <_>
-
- <_>
- 3 4 9 1 -1.
- <_>
- 6 4 3 1 3.
- <_>
-
- <_>
- 15 10 1 4 -1.
- <_>
- 15 12 1 2 2.
- <_>
-
- <_>
- 4 10 6 4 -1.
- <_>
- 7 10 3 4 2.
- <_>
-
- <_>
- 15 9 1 6 -1.
- <_>
- 15 12 1 3 2.
- <_>
-
- <_>
- 7 17 6 3 -1.
- <_>
- 7 18 6 1 3.
- <_>
-
- <_>
- 14 3 2 16 -1.
- <_>
- 15 3 1 8 2.
- <_>
- 14 11 1 8 2.
- <_>
-
- <_>
- 4 9 1 6 -1.
- <_>
- 4 12 1 3 2.
- <_>
-
- <_>
- 12 1 5 2 -1.
- <_>
- 12 2 5 1 2.
- <_>
-
- <_>
- 6 18 4 2 -1.
- <_>
- 6 18 2 1 2.
- <_>
- 8 19 2 1 2.
- <_>
-
- <_>
- 2 4 16 10 -1.
- <_>
- 10 4 8 5 2.
- <_>
- 2 9 8 5 2.
- <_>
-
- <_>
- 6 5 1 10 -1.
- <_>
- 6 10 1 5 2.
- <_>
-
- <_>
- 4 8 15 2 -1.
- <_>
- 9 8 5 2 3.
- <_>
-
- <_>
- 1 8 15 2 -1.
- <_>
- 6 8 5 2 3.
- <_>
-
- <_>
- 9 5 3 6 -1.
- <_>
- 9 7 3 2 3.
- <_>
-
- <_>
- 5 7 8 2 -1.
- <_>
- 9 7 4 2 2.
- <_>
-
- <_>
- 9 11 2 3 -1.
- <_>
- 9 12 2 1 3.
- <_>
-
- <_>
- 1 0 16 3 -1.
- <_>
- 1 1 16 1 3.
- <_>
-
- <_>
- 11 2 7 2 -1.
- <_>
- 11 3 7 1 2.
- <_>
-
- <_>
- 5 1 10 18 -1.
- <_>
- 5 7 10 6 3.
- <_>
-
- <_>
- 17 4 3 2 -1.
- <_>
- 18 4 1 2 3.
- <_>
-
- <_>
- 8 13 1 3 -1.
- <_>
- 8 14 1 1 3.
- <_>
-
- <_>
- 3 14 14 6 -1.
- <_>
- 3 16 14 2 3.
- <_>
-
- <_>
- 0 2 3 4 -1.
- <_>
- 1 2 1 4 3.
- <_>
-
- <_>
- 12 1 5 2 -1.
- <_>
- 12 2 5 1 2.
- <_>
-
- <_>
- 3 1 5 2 -1.
- <_>
- 3 2 5 1 2.
- <_>
-
- <_>
- 10 13 2 3 -1.
- <_>
- 10 14 2 1 3.
- <_>
-
- <_>
- 8 13 2 3 -1.
- <_>
- 8 14 2 1 3.
- <_>
-
- <_>
- 14 12 2 3 -1.
- <_>
- 14 13 2 1 3.
- <_>
-
- <_>
- 7 2 2 3 -1.
- <_>
- 7 3 2 1 3.
- <_>
-
- <_>
- 5 6 10 4 -1.
- <_>
- 10 6 5 2 2.
- <_>
- 5 8 5 2 2.
- <_>
-
- <_>
- 9 13 1 6 -1.
- <_>
- 9 16 1 3 2.
- <_>
-
- <_>
- 10 12 2 2 -1.
- <_>
- 11 12 1 1 2.
- <_>
- 10 13 1 1 2.
- <_>
-
- <_>
- 4 12 2 3 -1.
- <_>
- 4 13 2 1 3.
- <_>
-
- <_>
- 14 4 6 6 -1.
- <_>
- 14 6 6 2 3.
- <_>
-
- <_>
- 8 17 2 3 -1.
- <_>
- 8 18 2 1 3.
- <_>
-
- <_>
- 16 4 4 6 -1.
- <_>
- 16 6 4 2 3.
- <_>
-
- <_>
- 0 4 4 6 -1.
- <_>
- 0 6 4 2 3.
- <_>
-
- <_>
- 14 6 2 3 -1.
- <_>
- 14 6 1 3 2.
- <_>
-
- <_>
- 4 9 8 1 -1.
- <_>
- 8 9 4 1 2.
- <_>
-
- <_>
- 8 12 4 3 -1.
- <_>
- 8 13 4 1 3.
- <_>
-
- <_>
- 5 12 10 6 -1.
- <_>
- 5 14 10 2 3.
- <_>
-
- <_>
- 11 12 1 2 -1.
- <_>
- 11 13 1 1 2.
- <_>
-
- <_>
- 8 15 4 2 -1.
- <_>
- 8 16 4 1 2.
- <_>
-
- <_>
- 6 9 8 8 -1.
- <_>
- 10 9 4 4 2.
- <_>
- 6 13 4 4 2.
- <_>
-
- <_>
- 7 12 4 6 -1.
- <_>
- 7 12 2 3 2.
- <_>
- 9 15 2 3 2.
- <_>
-
- <_>
- 10 11 3 1 -1.
- <_>
- 11 11 1 1 3.
- <_>
-
- <_>
- 9 7 2 10 -1.
- <_>
- 9 7 1 5 2.
- <_>
- 10 12 1 5 2.
- <_>
-
- <_>
- 8 0 6 6 -1.
- <_>
- 10 0 2 6 3.
- <_>
-
- <_>
- 3 11 2 6 -1.
- <_>
- 3 13 2 2 3.
- <_>
-
- <_>
- 16 12 1 2 -1.
- <_>
- 16 13 1 1 2.
- <_>
-
- <_>
- 1 14 6 6 -1.
- <_>
- 1 14 3 3 2.
- <_>
- 4 17 3 3 2.
- <_>
-
- <_>
- 13 1 3 6 -1.
- <_>
- 14 1 1 6 3.
- <_>
-
- <_>
- 8 8 2 2 -1.
- <_>
- 8 9 2 1 2.
- <_>
-
- <_>
- 9 9 3 3 -1.
- <_>
- 10 9 1 3 3.
- <_>
-
- <_>
- 8 7 3 3 -1.
- <_>
- 8 8 3 1 3.
- <_>
-
- <_>
- 14 0 2 3 -1.
- <_>
- 14 0 1 3 2.
- <_>
-
- <_>
- 1 0 18 9 -1.
- <_>
- 7 0 6 9 3.
- <_>
-
- <_>
- 11 5 4 15 -1.
- <_>
- 11 5 2 15 2.
- <_>
-
- <_>
- 5 5 4 15 -1.
- <_>
- 7 5 2 15 2.
- <_>
-
- <_>
- 14 0 2 3 -1.
- <_>
- 14 0 1 3 2.
- <_>
-
- <_>
- 4 0 2 3 -1.
- <_>
- 5 0 1 3 2.
- <_>
-
- <_>
- 11 12 2 2 -1.
- <_>
- 12 12 1 1 2.
- <_>
- 11 13 1 1 2.
- <_>
-
- <_>
- 7 12 2 2 -1.
- <_>
- 7 12 1 1 2.
- <_>
- 8 13 1 1 2.
- <_>
-
- <_>
- 12 0 3 4 -1.
- <_>
- 13 0 1 4 3.
- <_>
-
- <_>
- 4 11 3 3 -1.
- <_>
- 4 12 3 1 3.
- <_>
-
- <_>
- 12 7 4 2 -1.
- <_>
- 12 8 4 1 2.
- <_>
-
- <_>
- 8 10 3 2 -1.
- <_>
- 9 10 1 2 3.
- <_>
-
- <_>
- 9 9 3 2 -1.
- <_>
- 10 9 1 2 3.
- <_>
-
- <_>
- 8 9 3 2 -1.
- <_>
- 9 9 1 2 3.
- <_>
-
- <_>
- 12 0 3 4 -1.
- <_>
- 13 0 1 4 3.
- <_>
-
- <_>
- 5 0 3 4 -1.
- <_>
- 6 0 1 4 3.
- <_>
-
- <_>
- 4 14 12 4 -1.
- <_>
- 10 14 6 2 2.
- <_>
- 4 16 6 2 2.
- <_>
-
- <_>
- 8 13 2 3 -1.
- <_>
- 8 14 2 1 3.
- <_>
-
- <_>
- 10 10 3 8 -1.
- <_>
- 10 14 3 4 2.
- <_>
-
- <_>
- 8 10 4 8 -1.
- <_>
- 8 10 2 4 2.
- <_>
- 10 14 2 4 2.
- <_>
-
- <_>
- 10 8 3 1 -1.
- <_>
- 11 8 1 1 3.
- <_>
-
- <_>
- 9 12 1 6 -1.
- <_>
- 9 15 1 3 2.
- <_>
-
- <_>
- 10 8 3 1 -1.
- <_>
- 11 8 1 1 3.
- <_>
-
- <_>
- 7 8 3 1 -1.
- <_>
- 8 8 1 1 3.
- <_>
-
- <_>
- 5 2 15 14 -1.
- <_>
- 5 9 15 7 2.
- <_>
-
- <_>
- 2 1 2 10 -1.
- <_>
- 2 1 1 5 2.
- <_>
- 3 6 1 5 2.
- <_>
-
- <_>
- 14 14 2 3 -1.
- <_>
- 14 15 2 1 3.
- <_>
-
- <_>
- 2 7 3 3 -1.
- <_>
- 3 7 1 3 3.
- <_>
-
- <_>
- 17 4 3 3 -1.
- <_>
- 17 5 3 1 3.
- <_>
-
- <_>
- 0 4 3 3 -1.
- <_>
- 0 5 3 1 3.
- <_>
-
- <_>
- 13 5 6 2 -1.
- <_>
- 16 5 3 1 2.
- <_>
- 13 6 3 1 2.
- <_>
-
- <_>
- 4 19 12 1 -1.
- <_>
- 8 19 4 1 3.
- <_>
-
- <_>
- 12 12 2 4 -1.
- <_>
- 12 14 2 2 2.
- <_>
-
- <_>
- 3 15 1 3 -1.
- <_>
- 3 16 1 1 3.
- <_>
-
- <_>
- 11 16 6 4 -1.
- <_>
- 11 16 3 4 2.
- <_>
-
- <_>
- 2 10 3 10 -1.
- <_>
- 3 10 1 10 3.
- <_>
-
- <_>
- 12 8 2 4 -1.
- <_>
- 12 8 1 4 2.
- <_>
-
- <_>
- 6 8 2 4 -1.
- <_>
- 7 8 1 4 2.
- <_>
-
- <_>
- 10 14 2 3 -1.
- <_>
- 10 14 1 3 2.
- <_>
-
- <_>
- 5 1 10 3 -1.
- <_>
- 10 1 5 3 2.
- <_>
-
- <_>
- 10 7 3 2 -1.
- <_>
- 11 7 1 2 3.
- <_>
-
- <_>
- 5 6 9 2 -1.
- <_>
- 8 6 3 2 3.
- <_>
-
- <_>
- 9 8 2 2 -1.
- <_>
- 9 9 2 1 2.
- <_>
-
- <_>
- 2 11 16 6 -1.
- <_>
- 2 11 8 3 2.
- <_>
- 10 14 8 3 2.
- <_>
-
- <_>
- 12 7 2 2 -1.
- <_>
- 13 7 1 1 2.
- <_>
- 12 8 1 1 2.
- <_>
-
- <_>
- 9 5 2 3 -1.
- <_>
- 9 6 2 1 3.
- <_>
-
- <_>
- 9 7 3 2 -1.
- <_>
- 10 7 1 2 3.
- <_>
-
- <_>
- 5 1 8 12 -1.
- <_>
- 5 7 8 6 2.
- <_>
-
- <_>
- 13 5 2 2 -1.
- <_>
- 13 6 2 1 2.
- <_>
-
- <_>
- 5 5 2 2 -1.
- <_>
- 5 6 2 1 2.
- <_>
-
- <_>
- 12 4 3 3 -1.
- <_>
- 12 5 3 1 3.
- <_>
-
- <_>
- 4 14 2 3 -1.
- <_>
- 4 15 2 1 3.
- <_>
-
- <_>
- 12 4 3 3 -1.
- <_>
- 12 5 3 1 3.
- <_>
-
- <_>
- 5 4 3 3 -1.
- <_>
- 5 5 3 1 3.
- <_>
-
- <_>
- 9 14 2 6 -1.
- <_>
- 10 14 1 3 2.
- <_>
- 9 17 1 3 2.
- <_>
-
- <_>
- 8 14 3 2 -1.
- <_>
- 9 14 1 2 3.
- <_>
-
- <_>
- 9 5 6 6 -1.
- <_>
- 11 5 2 6 3.
- <_>
-
- <_>
- 5 5 6 6 -1.
- <_>
- 7 5 2 6 3.
- <_>
-
- <_>
- 13 13 1 2 -1.
- <_>
- 13 14 1 1 2.
- <_>
-
- <_>
- 0 2 10 2 -1.
- <_>
- 0 3 10 1 2.
- <_>
-
- <_>
- 13 13 1 2 -1.
- <_>
- 13 14 1 1 2.
- <_>
-
- <_>
- 5 7 2 2 -1.
- <_>
- 5 7 1 1 2.
- <_>
- 6 8 1 1 2.
- <_>
-
- <_>
- 13 5 2 7 -1.
- <_>
- 13 5 1 7 2.
- <_>
-
- <_>
- 6 13 1 2 -1.
- <_>
- 6 14 1 1 2.
- <_>
-
- <_>
- 11 0 3 7 -1.
- <_>
- 12 0 1 7 3.
- <_>
-
- <_>
- 0 3 2 16 -1.
- <_>
- 0 3 1 8 2.
- <_>
- 1 11 1 8 2.
- <_>
-
- <_>
- 11 0 3 7 -1.
- <_>
- 12 0 1 7 3.
- <_>
-
- <_>
- 6 0 3 7 -1.
- <_>
- 7 0 1 7 3.
- <_>
-
- <_>
- 11 16 8 4 -1.
- <_>
- 11 16 4 4 2.
- <_>
-
- <_>
- 1 16 8 4 -1.
- <_>
- 5 16 4 4 2.
- <_>
-
- <_>
- 13 5 2 7 -1.
- <_>
- 13 5 1 7 2.
- <_>
-
- <_>
- 5 5 2 7 -1.
- <_>
- 6 5 1 7 2.
- <_>
-
- <_>
- 18 6 2 14 -1.
- <_>
- 18 13 2 7 2.
- <_>
-
- <_>
- 6 10 3 4 -1.
- <_>
- 6 12 3 2 2.
- <_>
-
- <_>
- 14 7 1 2 -1.
- <_>
- 14 8 1 1 2.
- <_>
-
- <_>
- 0 1 18 6 -1.
- <_>
- 0 1 9 3 2.
- <_>
- 9 4 9 3 2.
- <_>
-
- <_>
- 14 7 1 2 -1.
- <_>
- 14 8 1 1 2.
- <_>
-
- <_>
- 0 6 2 14 -1.
- <_>
- 0 13 2 7 2.
- <_>
-
- <_>
- 17 0 3 12 -1.
- <_>
- 18 0 1 12 3.
- <_>
-
- <_>
- 0 6 18 3 -1.
- <_>
- 0 7 18 1 3.
- <_>
-
- <_>
- 6 0 14 16 -1.
- <_>
- 6 8 14 8 2.
- <_>
-
- <_>
- 0 0 3 12 -1.
- <_>
- 1 0 1 12 3.
- <_>
-
- <_>
- 13 0 3 7 -1.
- <_>
- 14 0 1 7 3.
- <_>
-
- <_>
- 5 7 1 2 -1.
- <_>
- 5 8 1 1 2.
- <_>
-
- <_>
- 14 4 6 6 -1.
- <_>
- 14 6 6 2 3.
- <_>
-
- <_>
- 5 7 7 2 -1.
- <_>
- 5 8 7 1 2.
- <_>
-
- <_>
- 8 6 6 9 -1.
- <_>
- 8 9 6 3 3.
- <_>
-
- <_>
- 5 4 6 1 -1.
- <_>
- 7 4 2 1 3.
- <_>
-
- <_>
- 13 0 6 4 -1.
- <_>
- 16 0 3 2 2.
- <_>
- 13 2 3 2 2.
- <_>
-
- <_>
- 1 2 18 12 -1.
- <_>
- 1 6 18 4 3.
- <_>
-
- <_>
- 3 2 17 12 -1.
- <_>
- 3 6 17 4 3.
- <_>
-
- <_>
- 5 14 7 3 -1.
- <_>
- 5 15 7 1 3.
- <_>
-
- <_>
- 10 14 1 3 -1.
- <_>
- 10 15 1 1 3.
- <_>
-
- <_>
- 3 14 3 3 -1.
- <_>
- 3 15 3 1 3.
- <_>
-
- <_>
- 14 4 6 6 -1.
- <_>
- 14 6 6 2 3.
- <_>
-
- <_>
- 0 4 6 6 -1.
- <_>
- 0 6 6 2 3.
- <_>
-
- <_>
- 12 5 4 3 -1.
- <_>
- 12 6 4 1 3.
- <_>
-
- <_>
- 4 5 4 3 -1.
- <_>
- 4 6 4 1 3.
- <_>
-
- <_>
- 18 0 2 6 -1.
- <_>
- 18 2 2 2 3.
- <_>
-
- <_>
- 8 1 4 9 -1.
- <_>
- 10 1 2 9 2.
- <_>
-
- <_>
- 6 6 8 2 -1.
- <_>
- 6 6 4 2 2.
- <_>
-
- <_>
- 6 5 4 2 -1.
- <_>
- 6 5 2 1 2.
- <_>
- 8 6 2 1 2.
- <_>
-
- <_>
- 10 5 2 3 -1.
- <_>
- 10 6 2 1 3.
- <_>
-
- <_>
- 9 5 1 3 -1.
- <_>
- 9 6 1 1 3.
- <_>
-
- <_>
- 9 10 2 2 -1.
- <_>
- 9 11 2 1 2.
- <_>
-
- <_>
- 0 8 4 3 -1.
- <_>
- 0 9 4 1 3.
- <_>
-
- <_>
- 6 0 8 6 -1.
- <_>
- 6 3 8 3 2.
- <_>
-
- <_>
- 1 0 6 4 -1.
- <_>
- 1 0 3 2 2.
- <_>
- 4 2 3 2 2.
- <_>
-
- <_>
- 13 0 3 7 -1.
- <_>
- 14 0 1 7 3.
- <_>
-
- <_>
- 9 16 2 2 -1.
- <_>
- 9 17 2 1 2.
- <_>
-
- <_>
- 11 4 6 10 -1.
- <_>
- 11 9 6 5 2.
- <_>
-
- <_>
- 0 10 19 2 -1.
- <_>
- 0 11 19 1 2.
- <_>
-
- <_>
- 9 5 8 9 -1.
- <_>
- 9 8 8 3 3.
- <_>
-
- <_>
- 4 0 3 7 -1.
- <_>
- 5 0 1 7 3.
- <_>
-
- <_>
- 8 6 4 12 -1.
- <_>
- 10 6 2 6 2.
- <_>
- 8 12 2 6 2.
- <_>
-
- <_>
- 0 2 6 4 -1.
- <_>
- 0 4 6 2 2.
- <_>
-
- <_>
- 8 15 4 3 -1.
- <_>
- 8 16 4 1 3.
- <_>
-
- <_>
- 8 0 3 7 -1.
- <_>
- 9 0 1 7 3.
- <_>
-
- <_>
- 9 5 3 4 -1.
- <_>
- 10 5 1 4 3.
- <_>
-
- <_>
- 8 5 3 4 -1.
- <_>
- 9 5 1 4 3.
- <_>
-
- <_>
- 7 6 6 1 -1.
- <_>
- 9 6 2 1 3.
- <_>
-
- <_>
- 7 14 4 4 -1.
- <_>
- 7 14 2 2 2.
- <_>
- 9 16 2 2 2.
- <_>
-
- <_>
- 13 14 4 6 -1.
- <_>
- 15 14 2 3 2.
- <_>
- 13 17 2 3 2.
- <_>
-
- <_>
- 7 8 1 8 -1.
- <_>
- 7 12 1 4 2.
- <_>
-
- <_>
- 16 0 2 8 -1.
- <_>
- 17 0 1 4 2.
- <_>
- 16 4 1 4 2.
- <_>
-
- <_>
- 2 0 2 8 -1.
- <_>
- 2 0 1 4 2.
- <_>
- 3 4 1 4 2.
- <_>
-
- <_>
- 6 1 14 3 -1.
- <_>
- 6 2 14 1 3.
- <_>
-
- <_>
- 7 9 3 10 -1.
- <_>
- 7 14 3 5 2.
- <_>
-
- <_>
- 9 14 2 2 -1.
- <_>
- 9 15 2 1 2.
- <_>
-
- <_>
- 7 7 6 8 -1.
- <_>
- 7 11 6 4 2.
- <_>
-
- <_>
- 9 7 3 6 -1.
- <_>
- 9 10 3 3 2.
- <_>
-
- <_>
- 7 13 3 3 -1.
- <_>
- 7 14 3 1 3.
- <_>
-
- <_>
- 9 9 2 2 -1.
- <_>
- 9 10 2 1 2.
- <_>
-
- <_>
- 0 1 18 2 -1.
- <_>
- 6 1 6 2 3.
- <_>
-
- <_>
- 7 1 6 14 -1.
- <_>
- 7 8 6 7 2.
- <_>
-
- <_>
- 1 9 18 1 -1.
- <_>
- 7 9 6 1 3.
- <_>
-
- <_>
- 9 7 2 2 -1.
- <_>
- 9 7 1 2 2.
- <_>
-
- <_>
- 9 3 2 9 -1.
- <_>
- 10 3 1 9 2.
- <_>
-
- <_>
- 18 14 2 3 -1.
- <_>
- 18 15 2 1 3.
- <_>
-
- <_>
- 7 11 3 1 -1.
- <_>
- 8 11 1 1 3.
- <_>
-
- <_>
- 10 8 3 4 -1.
- <_>
- 11 8 1 4 3.
- <_>
-
- <_>
- 7 14 3 6 -1.
- <_>
- 8 14 1 6 3.
- <_>
-
- <_>
- 10 8 3 4 -1.
- <_>
- 11 8 1 4 3.
- <_>
-
- <_>
- 7 8 3 4 -1.
- <_>
- 8 8 1 4 3.
- <_>
-
- <_>
- 7 9 6 9 -1.
- <_>
- 7 12 6 3 3.
- <_>
-
- <_>
- 0 14 2 3 -1.
- <_>
- 0 15 2 1 3.
- <_>
-
- <_>
- 11 12 1 2 -1.
- <_>
- 11 13 1 1 2.
- <_>
-
- <_>
- 4 3 8 3 -1.
- <_>
- 8 3 4 3 2.
- <_>
-
- <_>
- 0 4 20 6 -1.
- <_>
- 0 4 10 6 2.
- <_>
-
- <_>
- 9 14 1 3 -1.
- <_>
- 9 15 1 1 3.
- <_>
-
- <_>
- 8 14 4 3 -1.
- <_>
- 8 15 4 1 3.
- <_>
-
- <_>
- 0 15 14 4 -1.
- <_>
- 0 17 14 2 2.
- <_>
-
- <_>
- 1 14 18 6 -1.
- <_>
- 1 17 18 3 2.
- <_>
-
- <_>
- 0 0 10 6 -1.
- <_>
- 0 0 5 3 2.
- <_>
- 5 3 5 3 2.
diff --git a/real-time-face-detection/readme.rst b/real-time-face-detection/readme.rst
index 72191e6d2..05217726c 100644
--- a/real-time-face-detection/readme.rst
+++ b/real-time-face-detection/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/real-time-face-detection-in-webcam-using-python/
+Please follow the tutorial https://roytuts.com/real-time-face-detection-in-webcam-using-python/
diff --git a/real_time_eye_detection/readme.rst b/real_time_eye_detection/readme.rst
index 81cbd3dd5..8cbe87ce1 100644
--- a/real_time_eye_detection/readme.rst
+++ b/real_time_eye_detection/readme.rst
@@ -1 +1 @@
-You can go through the tutorial https://www.roytuts.com/real-time-eye-detection-in-webcam-using-python-3/
+Please follow the tutorial https://roytuts.com/real-time-eye-detection-in-webcam-using-python-3/
diff --git a/retrive-forgotten-password/readme.rst b/retrive-forgotten-password/readme.rst
index 414d8d4ea..942a7fa21 100644
--- a/retrive-forgotten-password/readme.rst
+++ b/retrive-forgotten-password/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/check-saved-password-in-wifi-network/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/check-saved-password-in-wifi-network/
diff --git a/see-yourself-camera/readme.rst b/see-yourself-camera/readme.rst
index 1416097f6..67b58966e 100644
--- a/see-yourself-camera/readme.rst
+++ b/see-yourself-camera/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/see-yourself-in-webcam-using-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/see-yourself-in-webcam-using-python/
diff --git a/see-yourself/readme.rst b/see-yourself/readme.rst
new file mode 100644
index 000000000..67b58966e
--- /dev/null
+++ b/see-yourself/readme.rst
@@ -0,0 +1 @@
+Please follow the tutorial https://roytuts.com/see-yourself-in-webcam-using-python/
diff --git a/see-yourself/see-yourself.py b/see-yourself/see-yourself.py
new file mode 100644
index 000000000..5d8b7a11d
--- /dev/null
+++ b/see-yourself/see-yourself.py
@@ -0,0 +1,26 @@
+from imutils.video import VideoStream
+import cv2
+
+# grab the reference to the webcam
+vs = VideoStream(src=0).start()
+
+# keep looping
+while True:
+ # grab the current frame
+ frame = vs.read()
+
+ # if we are viewing a video and we did not grab a frame,
+ # then we have reached the end of the video
+ if frame is None:
+ break
+
+ # show the frame to our screen
+ cv2.imshow("Frame", frame)
+ key = cv2.waitKey(1) & 0xFF
+
+ # if the 'q' or ESC key is pressed, stop the loop
+ if key == ord("q") or key == 27:
+ break
+
+# close all windows
+cv2.destroyAllWindows()
diff --git a/wifi-connected-users/readme.rst b/wifi-connected-users/readme.rst
index 70b9c6e01..52badff08 100644
--- a/wifi-connected-users/readme.rst
+++ b/wifi-connected-users/readme.rst
@@ -1 +1 @@
-You can read tutorial https://www.roytuts.com/find-all-users-connected-to-wifi-network-using-python/
\ No newline at end of file
+Please follow the tutorial https://roytuts.com/find-all-users-connected-to-wifi-network-using-python/