Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- ubuntu
- STM32F4
- Android
- JSON
- Python
- flask
- IOT
- RUBY
- orange pi
- python3
- BLE
- 개발환경
- rails
- 아두이노
- Raspberry Pi
- 라즈베리파이
- Beacon
- uno
- nano
- 오렌지파이
- mqtt
- Raspberry Pi 3
- Server
- dht11
- Arduino
- Nginx
- odroid-x2
- parser
- ruby on rails
- java
Archives
- Today
- Total
목록multiprocessing (1)
[熱情]
python multiprocessing
python 3.5 from multiprocessing import Process import time import os def func1(data): for i in range(0, 10): print(data) def func2(): for i in range(0, 10): print("bye~!") def func3(): print('module name : ', __name__) if hasattr(os, 'getppid'): print('parent process : ', os.getppid()) print('process id : ', os.getpid()) if __name__ == "__main__": proc1 = Process(target=func1, args=("hello",)) p..
Programming/python
2017. 1. 24. 17:57