1 def loadTestsFromTestCase(self, testCaseClass) #Look at name analysis: from TestCase Find test set--So, it's our def Use cases loaded into testSuit inside
2 def loadTestsFromModule(self, module, *args, pattern=None, **kws) #Look at the name analysis: find the test set from the module, then the module>class>test_method>Add to ...
Posted on Sat, 20 Jun 2020 23:24:34 -0400 by vinpkl
Get ip address resolution home
Time: April 29, 2013
If you need to reissue, please indicate the above ...
Posted on Sat, 20 Jun 2020 03:51:03 -0400 by esscher
1, Course objectives
2, Interpretation of details
Linked list structure: like a chain, a link is a data point.
Single chain structure
Double chain structure
Circular list structure
Features of linked list:
python implementation of linked list
Time complexity of v ...
Posted on Sat, 20 Jun 2020 03:20:15 -0400 by rohanm02
Python project alien invasion
This project is a project that our teacher asked us to do after contacting Python for one semester. Of course, it was just contacted. It must have been written in accordance with the book. During this period, there were many mistakes, many rewrites and many changes. It to ...
Posted on Fri, 19 Jun 2020 06:46:49 -0400 by ignorant
Author: Tyan Blog: noahsnail.com | CSDN | A brief book
0. Test environment
There are two ways to format strings in Python: one is to format strings with the% operator, and the other is to use the str.format() for string formatting, this article mainly introduces str.format() mode, which is more mainstr ...
Posted on Fri, 19 Jun 2020 05:15:58 -0400 by biodrux
Define a class
Method * * init()**
Python automatically runs this method whenever a new instance is created. In this method name, there are two underscores at the beginning and the end, which is a convention to avoid name conflicts between Python default methods and ordinary methods.
Posted on Fri, 19 Jun 2020 04:09:39 -0400 by vertmonkee
In the market software, we often see the options of ex right and re right. We choose different options, and the price of the stock in the software will change accordingly.
In the quantitative trading, we have developed a trading strategy, which needs to be tested back in the historical market data, so we should choose to remove the right or res ...
Posted on Fri, 19 Jun 2020 03:32:56 -0400 by jbrill
After continuous learning, the early generation of simple smart home central control system has been completed, and the functions filled in when applying for the project have been completed, but some functions are not implemented with Wio Terminal (on the one hand, because the code volume is too large, ...
Posted on Thu, 18 Jun 2020 03:12:19 -0400 by paparts
1. Construction of keras environment
Install tensorflow first, and then install keras (note that the version of tensorflow and keras should match)
Reduce the version of keras, install the new version directly, and the old version will be uninstalled automatically
pip install keras==2.2.5 -i https://pypi ...
Posted on Thu, 18 Jun 2020 01:55:22 -0400 by tomhath
Recently, I've been dealing with the reading and processing of data sets. It's inevitable to use the knowledge points of file processing in python. Although some functions and knowledge points know what's going on, they don't feel that they have a solid grasp. Therefore, I plan to sort ou ...
Posted on Thu, 18 Jun 2020 01:14:11 -0400 by k_ind