C # call external exe (2021.4.15)
C # call external exe
In the development process of C#Windows form application, for example, to make a large system and integrate the functions of many other applications, we can use the existing executable exe program to enrich and improve the system.
1. Call external exe (no parameters passed in)
QQ.exe
1.1 call QQ by CMD Exe (no ...
Added by Dustin013 on Mon, 07 Mar 2022 17:07:13 +0200
Some knowledge points of Django - rich text - cache - image upload - Middleware - aspect oriented programming, etc
Static file configuration
In setting At the bottom of Py is a folder called static, which is mainly used to load some resources used in the template for global use This static file is mainly used to configure CSS, HTML, images, font files, etc
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR,'static')
]
After that, ...
Added by GoSharks on Mon, 07 Mar 2022 15:58:46 +0200
Django project practice ---- realize the logic of sending SMS verification code and verify whether the picture verification code is correct (verification code 2 ends)
To realize the function of sending SMS verification code, we need to use a third-party library. Here we use Ronglian cloud
Use Ronglian cloud to build applications
Build a new application Just check the SMS verification code After the creation is successful, click application management to view it Account ID and account Token Application ...
Added by run2web on Mon, 07 Mar 2022 15:45:22 +0200
Programming topic + database topic summary
Programming problem
prices = {
'AAPL': 191.88,
'GOOG': 1186.96,
'IBM': 149.24,
'ORCL': 48.44,
'ACN': 166.89,
'FB': 208.09,
'SYMC': 21.29
}
1. Some stock codes (keys) and prices (values) are saved in the dictionary. Use one line of code to find the stock with the highest price and output the stock code. (5 poin ...
Added by gregtel on Mon, 07 Mar 2022 14:20:06 +0200
Deep learning notes -- pytorch data processing toolbox
Introduction to torchvision
There are four functional modules in torchvision: model, datasets, transforms and utils. Using datasets, you can download some classic datasets. Here we will focus on how to use the ImageFolder of datasets to process custom datasets, and how to use transforms to preprocess and enhance source data.
transforms
transfo ...
Added by blue-genie on Mon, 07 Mar 2022 13:34:28 +0200
[actual measurement] speed comparison of string search in Python and C + +
Full format link: https://blog.imakiseki.cf/2022/03/07/techdev/python-cpp-string-find-perf-test/
background
Recently, in preparation for an algorithm competition, the language mistakenly chose python, so we had no choice but to start language migration for common scenes. The scene of string search appears from time to time in the algorithm co ...
Added by MBDesktop on Mon, 07 Mar 2022 11:44:22 +0200
Python concurrent programming - IO model, blocking IO, non blocking IO, multiplexing, asynchronous IO, IO model comparison, selectors module, review network and concurrency knowledge points
Daily test
Brief description of deadlock
Which queues have you used
This paper expounds the concept and basic use of process pool and thread pool
What is a collaborative process and how to implement it simply
summary
"""
Multithreading under multi process
Reuse process under multithreading
Maximum length can improve the efficiency ...
Added by nels on Mon, 07 Mar 2022 06:24:42 +0200
Concurrent programming - paramiko remote control module, virus attack principle, dll injection
paramiko module
Introduction: paramiko is a module for remote control. Using this module, you can operate commands or files on the remote server. It is worth mentioning that the remote management inside fabric and ansible is realized by using paramiko. 2. Download and install
pip3 install paramiko #In Python 3
In python2
pycrypto,beca ...
Added by mshallop on Mon, 07 Mar 2022 06:14:16 +0200
Machine Learning A-Z learning notes 16 Thompson sampling algorithm
Machine Learning A-Z learning notes 16 Thompson sampling algorithm
1. Simple principle
This paper continues to talk about a reinforcement learning algorithm called Thompson sampling algorithm. The mathematical theoretical basis of this algorithm is Bayesian inference. Let's talk about the basic principle of this algorithm first, also taking t ...
Added by drunknbass on Mon, 07 Mar 2022 06:13:19 +0200
Summary vue2 0 and vue3 The difference between 0 allows you to get started quickly
1:vue3. Difference between 0 and 2.0
2.0 bidirectional data binding
Vue2.0 uses object defineProperty
Principle: by using object Defineproperty to hijack the getter and setter operations of object properties, and send a notification when the data changes
// data
let data = {
title: '',
// Backup data
_data: {}
}
// Define properties ...
Added by gusaps on Mon, 07 Mar 2022 02:22:06 +0200