sudo apt-get install python3-setuptools
sudo easy_install3 pip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 比如我们需要让test.py在后台挂着,而不出现命令行窗口,那么可以使用以下命令: | |
| start /min python test.py | |
| linux下面: | |
| nohup python test.py & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ################################################################################ | |
| ### OpenCV2 Installation Script ### | |
| ################################################################################ | |
| # Source code at https://github.com/arthurbeggs/scripts # | |
| ################################################################################ | |
| # # | |
| # Feel free to copy and modify this file. Giving me credit for it is your # | |
| # choice, but please keep references to other people's work, which I don't # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # This program prints all hcn (highly composite numbers) <= MAXN (=10**18) | |
| # | |
| # The value of MAXN can be changed arbitrarily. When MAXN = 10**100, the | |
| # program needs less than one second to generate the list of hcn. | |
| from math import log | |
| MAXN = 10**18 |
NewerOlder