用法:
connect()
將本地管理器對象連接到遠程管理器進程:
>>> from multiprocessing.managers import BaseManager >>> m = BaseManager(address=('127.0.0.1', 50000), authkey=b'abc') >>> m.connect()
相關用法
- Python multiprocessing.managers.BaseManager.get_server用法及代碼示例
- Python multiprocessing.managers.BaseProxy._callmethod用法及代碼示例
- Python multiprocessing.managers.Namespace用法及代碼示例
- Python multiprocessing.Value用法及代碼示例
- Python multiprocessing.Process用法及代碼示例
- Python multiprocessing.freeze_support用法及代碼示例
- Python numpy ma.MaskedArray.view用法及代碼示例
- Python matplotlib.patches.Rectangle用法及代碼示例
- Python matplotlib.pyplot.step()用法及代碼示例
- Python math.cos()用法及代碼示例
- Python math.cosh()用法及代碼示例
- Python math.acosh()用法及代碼示例
- Python matplotlib.axes.Axes.pie()用法及代碼示例
- Python statistics median_high()用法及代碼示例
- Python map()用法及代碼示例
- Python math.fmod()用法及代碼示例
- Python statistics median_low()用法及代碼示例
- Python statistics median()用法及代碼示例
- Python math.fsum()用法及代碼示例
- Python numpy ma.sort用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 multiprocessing.managers.BaseManager.connect。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。