Introduction to TensorFlow (1) correction of some small mistakes
Recently, in-depth learning, I borrowed the TensorFlow practical Google in-depth learning framework from the library and looked at it curtly. Recently, Bi set needs to find a PDF version on the Internet and chew it carefully. I found that there are some errors in the code of this book, which need to be slightly modified. Otherwise, ...
Posted by deveed on Fri, 03 Apr 2020 22:09:01 +0200
Python learning notes (7) Python string (4)
Input and output
Input function raw Ou input (Python 3: input)
1 >>> raw_input("Please enter a letter") #A function to get the input
2 Please enter a letter A
3 'A'
4 >>>
5 >>> name = raw_input("Please input your name:") #The input is assigned to a variable
6 Please input your name:tom
7 >>> name
8 ' ...
Posted by ThinkGeekness on Fri, 03 Apr 2020 03:48:34 +0200
python module sys module
sys.argv
Command line parameter list, the first parameter is the path of the program itself
Create a script named sys.argv.py
import sys
print(sys.argv)
The script is followed by two test names test1 and test2
C:\Users\wefbn>python F:\python\test\bin\bin.py test1 test2
Result
['F:\\python\\test\\bin\\bin.py', 'test1', 'test2']
sys.path()
...
Posted by bradles on Thu, 02 Apr 2020 15:57:44 +0200
windows environment installation of Openresty data
◆ 1. Download the windows version of openresty:
http://openresty.org/cn/download.html
◆ 2. Unzip to the directory to be installed (for example: unzip to the root directory of disk D):
D:\openresty-1.13.6.1-win32>dir
Driver D The volume in does not have a label.
The serial number of the volume is A25B-3CEA
D:\openres ...
Posted by heminfotech on Wed, 01 Apr 2020 23:58:25 +0200
Detailed explanation of various properties of WebView
When opening a web page, the system browser will not be called, but will be displayed in this WebView:
mWebView.setWebViewClient(new WebViewClient(){
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
});
Calling JavaScript ...
Posted by tmharrison on Wed, 01 Apr 2020 19:06:40 +0200
VSPE virtual serial port shutdown blue screen (BSOD) solution
The solution to the problem of VSPE blue screen
This article is just to solve the blue screen problem I encountered. Not everyone will encounter the blue screen caused by this operation, nor VSPE will have the blue screen problem.
VSPE(Virtual Serial Ports Emulator Version 0.938 (June 26, 2010))
Blue screen repr ...
Posted by marginalboy on Wed, 01 Apr 2020 00:34:13 +0200
4, Create, delete, copy, move directory
1 create directory
Use: mkdir [options] [Directory...]
(1) Create folder a at the root
mkdir /a
ls /a
(2) Create multiple directories
mkdir a b c
(3) Create multi-level directory, eg: create b under a directory, create c under b Directory
mkdir -p a/b/c/d
ls -R a
2 delete directory
rmdir can only delete the blank directory. If there is a ...
Posted by Kitty on Mon, 30 Mar 2020 16:10:54 +0200
5000+Picture Find Your Favorite TA, Python Crawler+Face Score
Preface
Text and pictures of the text come from the network for learning and communication purposes only. They do not have any commercial use. Copyright is owned by the original author. If you have any questions, please contact us in time for processing.
Author: Luo Luopan
PS: If you need Python learning materials for your child, click on t ...
Posted by miob on Sat, 28 Mar 2020 10:02:46 +0100
opencv calls Nu book / zxing CPP to identify QR code
Environment installation: 1. The source code of zxing CPP and the lib generated after the source code compilation. My version is V1.0.8. The compilation method is as follows: https://www.cnblogs.com/zhenjin-huaxiazongdai/p/12545959.html . Zxing CPP project path: https://github.com/nu-book/zxing-cpp 2. Visual Studio 2017 installation https://vi ...
Posted by AnarchistX on Thu, 26 Mar 2020 05:15:22 +0100
Compiling python project into EXE
Preface
After python is compiled into an EXE file, it can be used independently. Pro testing, a complex python project contains multiple packages and multiple modules, which can generate exe files.
objective
Compile the whole python project into a single EXE or a single directory with EXE file under windows
tool
PyInstaller (windows, source cod ...
Posted by fodder on Thu, 19 Mar 2020 15:11:16 +0100