GUI - Notepad project

Notepad project development """ Developing Notepad software """ # -*- coding: utf-8 -*- from tkinter import * from tkinter.colorchooser import * from tkinter.filedialog import * from tkinter.messagebox import * class Application(Frame): def __init__(self,master=None): super().__init__(mas ...

Posted by phphunger on Sat, 19 Oct 2019 10:35:09 -0700

Data Cleaning and Simple Analysis

Data analysis case sharing, for learning and use, data volume is relatively small, data source for the hook, July 8th, area, data analysis post, is so little, yes. demand The crawled data were cleaned and further analyzed by python. tool python3,pycharm Data cleaning First analyze the target file ...

Posted by larissahn on Mon, 07 Oct 2019 04:02:47 -0700

sqlalchemy related operations (ORM)

Environment: Python 3.7, pycharm ORM(Object-Relational-Mapper) Object Relational Mapping (ORM) is a technology that allows you to query and manipulate data from a database using object-oriented paradigms. sqlalchemy is one of the libraries (frameworks) that implement ORM technology. advantage Simplify development because it automatically perfo ...

Posted by ppowell on Mon, 30 Sep 2019 22:09:17 -0700

How easy is it for someone who can write linux commands once with python to get into the factory?

You've seen this book 2000 words of admonition, for those who want to learn Python, I suggest you look after your collection! Should all readers of the book be a little impressed by a command?Yes, it is the ls command that is often used in linux. I mentioned how to improve my python capabilities in this article?Find projects to write directly, ...

Posted by mslinuz on Sat, 21 Sep 2019 18:44:41 -0700

[Python 3 Reptiles] It's over soon -- use Celery to speed up your reptiles

I. Write in front In Last blog As mentioned in the article, Celery can be used to speed up the crawling of web crawlers, which contains a large number of network requests. So, this blog will specifically talk about how to use Celery to speed up our crawlers!   II. Knowledge Supplement 1.class celery.group The group class represents the cre ...

Posted by tapdancingtenor on Sun, 25 Aug 2019 21:31:50 -0700

PyQt5 Streamlined Regular Expressions Test Kit

PyQt5 Streamlined Regular Expressions Test Kithttps://pan.baidu.com/s/1e50u0YVswrqeB3PS_JqulA Disk LinkFirst we open QtDesigner to create a Dialog window As follows:Step 1: Call out three layouts first, pull out the following three red boxes in Layouts (of course, this cloth can also be omitted, directly get the following documents, and ...

Posted by jbalanski on Fri, 23 Aug 2019 02:38:18 -0700

python crawler crawls webpage pictures

Articles Catalogue Preface Knowledge content Dead work start 1. Browser opens destination page and F12 Analysis page structure 2. Crawling page elements through Beautiful Soup 3. Save pictures Preface When doing crawling, first of all, we ...

Posted by expert_21 on Tue, 20 Aug 2019 23:17:07 -0700

Python uses PyQt5 to write a simple serial assistant

STM32 has been studying SCM for a long time, and has also done some projects. It has always wanted to use PC to transmit data between PC and SCM. Using serial assistant is the most direct way of communication, but serial assistant is not suitable ...

Posted by non_zero on Mon, 19 Aug 2019 00:45:16 -0700

Python-day16 (formal learning)

Catalog Modular What is a module? Four Forms of Modules Why use modules How to use modules import from...import... similarities and differences Cyclic Import Problem Solution 1. 2. Module Search Path random module ...

Posted by buraks78 on Thu, 15 Aug 2019 01:46:23 -0700

Python Crawler lxml Library

1. lxml Library lxml is an HTML/XML parser whose main function is to parse and extract HTML/XML data. Like regular, lxml is implemented in C and is a high-performance Python HTML/XML parser that allows us to quickly locate specific elements and ...

Posted by vicky57t on Tue, 13 Aug 2019 18:41:13 -0700