Quick Development of GUI Programs Using PyQt5 in Windows Environment--Configuration of Pycharm

Environment Configuration Install PyQt5 Installation using pip makes it easier to use Pycharm and search directly. In addition to pyqt5, there are pyqt5-tools, which contain some commonly used tools for pyqt5. pip install pyqt5 -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com pip install pyqt5-tools -i http://mirrors ...

Posted by jlh3590 on Thu, 09 Jan 2020 19:36:37 +0100

[Python3] Encryption and decryption of RSA and signature/signature verification implementation--using pycrytodome

Introduction to Crypto Package: Pycrypto, pycrytodome, and crypto are one thing. Crypto's name on python is pycrypto. It is a third-party library, but updates have been stopped, so installing this library is not recommended. Installation of Python version 3.6 or above under windows is cumbersome (I am Python 3.7, the attempt to install was unsu ...

Posted by Jax2 on Tue, 07 Jan 2020 08:59:02 +0100

3 minutes to teach you how to make a simple word cloud with python

First you need to install three packages: #Installation: pip install matplotlib #Installation: pip install jieba #Install pip install wordcloud 1. Make a word cloud of the English alphabet Design sketch: Code implementation: import matplotlib.pyplot as plt import jieba from wordcloud import WordCloud # 1. Read txt text data text = open(r'te ...

Posted by Spoiler on Mon, 06 Jan 2020 07:05:32 +0100

Air flow FAQ

@[toc] Air flow FAQ Installation problem 1. ERROR "Python setup. Py XXX" appears during installation. Question: First, you need to update pip Version required'pip install --upgrade pip' command. Second is setuptools The version is too old, so there are the following problems Command "python setup.py egg_info" failed with error code ...

Posted by ryanthegecko on Sun, 29 Dec 2019 18:31:02 +0100

Chapter One Nine: Easily complete the installation of fabric s block chains

Catalog 1 Preface 2 Operating system environment settings 2.1 Host and Operating System 2.2 Set Host Name 2.3 Setting up DNS 2.4 Close the firewall 2.5 Turn off selinux 2.6 Turn off swap 3 Operating system software installation 4 Install docker 5 Install docker-compose 5.1 jsonschema version mismatch 5.2 cffi version mismatch 5.3 dnspython ver ...

Posted by Dream$of$uccess on Tue, 24 Dec 2019 19:33:15 +0100

keras from entry to abandonment (4)

Last time I talked about the example of two classification, today I will explore the problem of multi classification actual combat Introduction to iris data set Iris data set is a commonly used experimental data set of classification, which is collected by Fisher, 1936. Iris, also known as iris flower data set, is a kind of mu ...

Posted by stirton on Sun, 08 Dec 2019 15:41:00 +0100

Oauth2.0 social ABCD micro blog third party login

Third party login of python website, social auth app Django module, The social auth app Django module is a third-party login OAuth2 protocol module for Django At present, the popular third-party login adopts OAuth2 protocol   Installation:   pip install social-auth-app-django     settings.py configuration: INSTALLED_APPS = [ 'django.cont ...

Posted by topflight on Sat, 07 Dec 2019 22:39:49 +0100

Cygwin configuration summary

Cygwin is A large collection of GNU and open source tools that provide features similar to Linux distributions on Windows DLL (cygwin1.dll), which provides a large number of POSIX API functions. Cygwin is not A method of running a local Linux Application on Windows. If you want the application to run on Windows, you must rebuild the applicat ...

Posted by wenxi on Sat, 07 Dec 2019 05:11:35 +0100

Connect ssh using paramiko

paramiko Paramiko is a module for remote control that allows command or file operations on remote servers. It is worth noting that remote management within fabric s and ansible is achieved using paramiko. install pip install paramiko Module usage Execute Command - User Name + Password #!/usr/bin/env python #coding:utf-8 import paramiko # Cre ...

Posted by headrush on Thu, 05 Dec 2019 04:15:51 +0100

Ubuntu 18.04 install TensorFlow-GPU 1.13.1 based on NVIDIA 2080

Ubuntu 18.04 install TensorFlow-GPU 1.13.1 based on NVIDIA 2080 Official documents Note that the versions correspond one by onehttps://tensorflow.google.cn/install/source Other please refer to Ubuntu 16.04 installation of tensorflow GPU based on NVIDIA 1080Ti Installation environment System: Ubuntu 18.04.02 desktop Video card: NVIDIA GeForce ...

Posted by mckooter on Tue, 03 Dec 2019 03:53:56 +0100