본문 바로가기

Developing..72

Multithreading in Python - Qthread threading은 gui가 종료되어도 자신의 일을 마칠 때까지 쓰레드가 돌아가는 반면에, QThread는 gui가 꺼지면, 같이 쓰레드가 종료됩니다. source : realpython.com/python-pyqt-qthread/ Use PyQt's QThread to Prevent Freezing GUIs – Real Python In this step-by-step tutorial, you’ll learn how to prevent freezing GUIs by offloading long-running tasks to worker QThreads in PyQt. realpython.com 2021. 2. 5.
Data Handling in Python - Json Import the json package. Read the data with load() or loads(). Process the data. Write the altered data with dump() or dumps(). # 용어 serialization : The process of encoding JSON This term refers to the transformation of data into a series of bytes (hence serial) to be stored or transmitted across a network. deserialization : the reciprocal process of decoding data that has been stored or deliver.. 2021. 2. 5.
Data Handling in Python - MySQL 다룰 내용 Connect your Python app with a MySQL database Bring data from a MySQL database into Python for further analysis Execute SQL queries from your Python application Handle exceptions while accessing the database Prevent SQL injection attacks on your application 출처 : realpython.com/python-mysql/ Python and MySQL Database: A Practical Introduction – Real Python In this tutorial, you'll learn how.. 2021. 2. 5.
Concurrency in python- Async IO 출처 : realpython.com/async-io-python/ Async IO in Python: A Complete Walkthrough – Real Python This tutorial will give you a firm grasp of Python’s approach to async IO, which is a concurrent programming design that has received dedicated support in Python, evolving rapidly from Python 3.4 through 3.7 (and probably beyond). realpython.com 2021. 2. 5.