Windows Service with Python 3.5 and pyinstaller
- Python 3.5.x
- Visual C++ Build Tools 2015
- PyInstaller 3.2
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| #!/bin/bash | |
| set -eu -o pipefail | |
| # ----------------------------------------------------------------------------- | |
| export LANG=en_US.UTF-8 | |
| export BORG_PASSPHRASE='' | |
| MAIN_USER="johndoe" | |
| MAIN_HOMEDIR="$(getent passwd ${MAIN_USER} | cut -f 6 -d ':')" |
Windows Service with Python 3.5 and pyinstaller