Python 3.7.0 + Django 2.0.4 pits encountered using django-celery

First of all, you know that Django is a synchronization framework. In order to speed up user response time and improve user experience. So I decided to use asynchronous tasks to perform some tasks in the background. In addition to asynchronous tasks, celery can also start timing tasks to facilitate scheduling. Packages to be ins ...

Posted by forgun on Wed, 20 Mar 2019 15:39:25 -0700

The use of python verification code recognition library pytesseract

Author's environment centos7 Python 3 pytesseract is only an implementation interface of tesseract-ocr. So we need to install tesseract-ocr (the well-known open source OCR recognition engine).   Dependent installation yum install-y automake autoconf libtool gcc gcc-c++ yum install-y libpng-devel libjpeg-devel libtiff-devel giflib-devel ...

Posted by slawrence10 on Wed, 06 Mar 2019 17:51:24 -0800

Converting word document to pdf and pdf file to jpg in Ubuntu environment

Environment building Using the language Python 3 Install imagemagick(pdf to jpg is internal need to call this tool)     apt-get install imagemagick Install libreoffice (this tool is used to convert word documents into pdf files)     apt-get install libreoffice Install python wand, PIL Library     pip install wand     pip install ...

Posted by TheLostGuru on Tue, 05 Feb 2019 23:27:16 -0800

One minute package management tool, take installing jdk as an example (centos, ubuntu, alpine, python pip, node)

One sentence to explain what package management tools are It's Android's app store. Each major distribution of linux comes with its own package management tools. Now take installing jdk as an example to illustrate their command-line usage. ubuntu 14.04 (dibian system) root@552b680ba26a:/# apt update ...

Posted by solee on Sun, 03 Feb 2019 19:09:16 -0800

Compile source code and install Greenplum database

Article directory Summary Download source packages Install some common dependencies Install c++ 11 Start compilation Install according to the normal steps of green plus Some details Summary Greenplum's binary files and RPM package files have limited download channels. Sometimes it may not be easy to download the correspo ...

Posted by nazariah on Sat, 02 Feb 2019 16:21:16 -0800

Python crawler introductory tutorial 14-100 All IT eBooks multithreaded crawling

Written in front For a crawler enthusiast, there is more or less a little bit of collecting addiction - finding good pictures, finding good books, finding all kinds of things that can be stored on the computer, all like to crawl it down in batches. And then, yeah, that's it. Then slowly forget it. Crawler analysis Open th ...

Posted by tommyda on Wed, 30 Jan 2019 09:15:14 -0800

Python Crawls New Pen-Fun Pavilion Novels

Python crawls the novel of the New Pen Fun Pavilion and saves it in the TXT file This article I wrote is a program written by Python crawling fiction, which is the first program I wrote independently among Python crawlers. I also encountered some difficulties in the middle, but finally solved it. This program is very simple, t ...

Posted by matthew_ellis24 on Mon, 28 Jan 2019 08:21:16 -0800

Using PySide2 to develop Maya Plug-in Series I: QT Designer to design GUI, pyside-uic to convert. ui file to. py file

Preliminary preparation: Install python: https://www.python.org/downloads/ Install PySide2: After installing python, there is a / script folder in the installation directory with pip.exe, cmd execution: pip install PySide, pip install PySide2 (note: Python 2.x corresponds to PySide, Python 3.x corresponds to PySide2) Start the QT Designer: 1. S ...

Posted by mmitdnn on Tue, 22 Jan 2019 14:00:13 -0800

The use of pip in python (requests/virtualenv/json)

1. How to install related packages using pip pip install package==1.8.0 # specified version pip install Package The latest stable version pip install package name >= 1.4 # Minimum version that meets the criteria pip list --outdated pip install --upgrade package # update package pip install --upgrade -i https://pypi.doubanio.com/simple/ pa ...

Posted by CaptianChaos on Mon, 07 Jan 2019 08:18:11 -0800

rest/flask/nginx/uwsgi/supervisor

Thank you for the original author http://www.cnblogs.com/Ray-liang/p/4173923.html?Utm_source=tuicool&utm_medium=referral My deployment plan is: Web server adopts uwsgi host Flask Using Supervisor to Refer to uwsgi as a Routine Startup Service Reverse proxy based on Nginx First, Aliyun servers can be remot ...

Posted by ahmedkl on Thu, 03 Jan 2019 15:51:10 -0800