Port mappings are associated with containers
In addition to network access, docker provides two capabilities to meet the basic requirements of service access: one is to allow mapping of service ports applied within containers to local host hosts, and the other is to enable quick access through container names between multiple containers throug ...
Posted by n1tr0b on Fri, 13 Mar 2020 11:16:24 -0700
1. Eliminate if...else
2. Reflection mechanism
3. getattr Details
These two days, we are optimizing Tencent's cloud migration platform. SmartMS When using the middleware (go2cloud_api). Some of the interfaces ...
Posted by hhheng on Fri, 13 Mar 2020 09:52:31 -0700
ndarray understands multidimensional arrays
ndim, shape and dtype properties
Index and slice
Transpose = = = transpose
ndarray data type conversion = = = astype
Reading text file
Common functions of np
ceil and flo ...
Posted by V_dirt_God on Fri, 13 Mar 2020 09:23:37 -0700
1, java calls python with no result and no error.
2, java calls python to output garbled code
3, java output string wrapping problem
In the recent learning process, java programs are needed to call python projects, all of which are win10 systems
python project is ...
Posted by jck on Fri, 13 Mar 2020 05:22:04 -0700
Using python to make simple game cases
Editing environment: Python 3.7
1. Sequence application - word guessing game
2. Object oriented design application licensing game
3. Graphic interface design - guessing digital games
4.Tkinter graphic drawing - Graphic licensing program
5.Python image processing -- characte ...
Posted by raven_web on Fri, 13 Mar 2020 04:15:39 -0700
3. Magic method
Python's objects naturally have some magical methods. They are always surrounded by double underscores. They are everything of object-oriented python. They are special methods that can add magic to your class. If your object implements (overloads) one of these methods, then this method will be called by Python in a special case. ...
Posted by suspect on Fri, 13 Mar 2020 03:08:30 -0700
Part I: pandas package
1, Introduction to pandas
pandas: a set of tools for analyzing structured data in python.
Based on numpy: providing high performance matrix operation
Graph library matplotlib: provide data visualization
2, pandas basic operation
1. Creation and basic operation o ...
Posted by pepperface on Wed, 11 Mar 2020 02:32:37 -0700
In python reduce / map / filter The three functions are easy to confuse. Although using functions to operate on elements in iterators or sequences, the applicable scenarios are different;
1, map function
Features of map function: perform the same operation on each element in the iterator or sequence (for example, + 1 for each element, etc.), a ...
Posted by acey99 on Tue, 10 Mar 2020 20:01:22 -0700
Artificial intelligence is on fire, so is tensorflow. Google has launched TensorFlow Lite for mobile, which should be familiar with as an android development. Today's goal is to be able to deploy the deep learning framework on the mobile side. Since Android can also run tensorflow, why don' ...
Posted by GroundZeroStudios on Tue, 10 Mar 2020 05:28:19 -0700
The introduction of in-depth learning is handwritten digit recognition, which is the same as the first helloworld of our language
You, the most basic and the least white, should start with the Keras framework. The background of the Keras framework i ...
Posted by xsgatour on Tue, 10 Mar 2020 02:57:55 -0700