open locker box api
{
"device_id": "2100017334",
"lock_address": "",
"lock_status": "",
"msg_style": "2",
"msg_data": {
"status_num": 1,
"lock_status_list": [
open locker box api
{
"device_id": "2100017334",
"lock_address": "",
"lock_status": "",
"msg_style": "2",
"msg_data": {
"status_num": 1,
"lock_status_list": [
from pathlib import Path | |
from PyPDF2 import PdfMerger, PdfWriter, PdfReader | |
OUTPUT_FILE_NAME = 'Out File Name' | |
PDF_FILES = Path(f'/absolue_path/{OUTPUT_FILE_NAME}/').resolve() | |
PDF_FILE = PDF_FILES / f'{OUTPUT_FILE_NAME}.pdf' | |
def sort_by_enumeration(file): |
.cm-green { | |
background-image: linear-gradient(30deg,#16d6d9,#96cc29); | |
} | |
.cm-blue { | |
background-image: linear-gradient(30deg,#009cf3,#16d6d9); | |
} | |
.cm-pink { | |
background-image: linear-gradient(30deg,#ff2277,#7a288c); |
from multiprocessing.managers import BaseManager | |
class QueueManager(BaseManager): | |
pass |
I hereby claim:
To claim this, I am signing this object:
Georgian Script Casing in Python 3.7 and Unicode 11
The problem is in all versions starting with python 3.7, let's go back a little and follow what happened. So with the new version of Unicode 11 (June 5, 2018) we have some major changes for the Georgian script. Georgian was considered a monocameral (non-casing) script. Therefore, Georgian letters were gc=Lo (Letter, Other) and starting from the version Unicode 11.0, those Georgian letters are now gc=Ll (Letter, Lowercase). In python 3.7 first release (June 27, 2018), we have implementation of Unicode 11 and manipulation on the Georgian scripts (capitalize, titlecasing, uppercase) gives us strange symbols on the output.
ex. shown below
Python 3.7.5 (default, Oct 17 2019, 12:21:00)
from django.template import Library | |
register = Library() | |
@register.filter(is_safe=True) | |
def intdivide(value, separator=','): | |
""" | |
Convert an integer to a string containing specific separator every three digits. |
import bson | |
from pymongo import MongoClient | |
def dump(collections, conn, db_name, path): | |
""" | |
MongoDB Dump |
# docs for more information see the official HPLIP project site here. | |
# https://developers.hp.com/hp-linux-imaging-and-printing | |
# Step 1. Update Fedora Linux | |
# Simply run dnf command: | |
$ sudo dnf upgrade | |
# Step 2. Search for HPLIP software |