 Django、Vue 和Element UI 前后端原理论述支持语义化版本控制(Semantic Versioning),开发者可以在 package.json 文件中声明模块的版本范围,以确保在安装依赖时不会引入不兼容的版本。 四、开发环境 Pycharm 使用非社区版本,我用的最新版本 (release 版) 在安装过程中,有的安装包在太老的版本中安装不成功。 社区版本不提供 Add Configuration 功能,导致前端环境服务配置及启动不能配置成 Docker 运行时的文件存储在 C 盘,这是由 Docker 自身的设计决定的,不能更改。 但是,你可以更改 Docker 数据文件夹的路径,使其在非 C 盘。步骤如下: 然后启动 Docker Desktop。这样,Docker 数据文件夹的路径就被更改到了非 C 盘。 35 《51 测试天地》七十四 www.51testing.com 4、继续执行命令,如果顺利的话会出现下图界面 # 进入安装包目录 程序是基于函数的返回值 None 判断是否出现某个功能按钮,实现停等程序响应: # 等待 img 出现在程序界面,默认等待 30 秒 def waitOccur(img, n=30): for i in range(n): m1 = pyautogui.screenshot(region=(截图区域左上角 X 轴坐标, 截图区域左上角 Y 轴坐标,截图区域 的宽度, 截图区域的高度)) loc0 码力 | 61 页 | 6.84 MB | 1 年前3 Django、Vue 和Element UI 前后端原理论述支持语义化版本控制(Semantic Versioning),开发者可以在 package.json 文件中声明模块的版本范围,以确保在安装依赖时不会引入不兼容的版本。 四、开发环境 Pycharm 使用非社区版本,我用的最新版本 (release 版) 在安装过程中,有的安装包在太老的版本中安装不成功。 社区版本不提供 Add Configuration 功能,导致前端环境服务配置及启动不能配置成 Docker 运行时的文件存储在 C 盘,这是由 Docker 自身的设计决定的,不能更改。 但是,你可以更改 Docker 数据文件夹的路径,使其在非 C 盘。步骤如下: 然后启动 Docker Desktop。这样,Docker 数据文件夹的路径就被更改到了非 C 盘。 35 《51 测试天地》七十四 www.51testing.com 4、继续执行命令,如果顺利的话会出现下图界面 # 进入安装包目录 程序是基于函数的返回值 None 判断是否出现某个功能按钮,实现停等程序响应: # 等待 img 出现在程序界面,默认等待 30 秒 def waitOccur(img, n=30): for i in range(n): m1 = pyautogui.screenshot(region=(截图区域左上角 X 轴坐标, 截图区域左上角 Y 轴坐标,截图区域 的宽度, 截图区域的高度)) loc0 码力 | 61 页 | 6.84 MB | 1 年前3
 Django Q Documentation
Release 0.7.10from django_q.tasks import async_iter, result # set up a list of arguments for math.floor iter = [i for i in range(100)] # async iter them id=async_iter('math.floor',iter) # wait for the collated result from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 67 页 | 518.39 KB | 1 年前3 Django Q Documentation
Release 0.7.10from django_q.tasks import async_iter, result # set up a list of arguments for math.floor iter = [i for i in range(100)] # async iter them id=async_iter('math.floor',iter) # wait for the collated result from django_q.tasks import Iter i = Iter('math.copysign') # add some arguments i.append(1, -1) i.append(2, -1) i.append(3, -1) # run it i.run() # get the results print(i.result()) [-1.0, -2.0, -3.0] keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 67 页 | 518.39 KB | 1 年前3
 Django Q Documentation
Release 0.7.14broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 527.40 KB | 1 年前3 Django Q Documentation
Release 0.7.14broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 527.40 KB | 1 年前3
 Django Q Documentation
Release 0.7.12broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 527.33 KB | 1 年前3 Django Q Documentation
Release 0.7.12broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 527.33 KB | 1 年前3
 Django Q Documentation
Release 0.7.18broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 516.84 KB | 1 年前3 Django Q Documentation
Release 0.7.18broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 516.84 KB | 1 年前3
 Django Q Documentation
Release 0.7.15broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 528.16 KB | 1 年前3 Django Q Documentation
Release 0.7.15broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 528.16 KB | 1 年前3
 Django Q Documentation
Release 0.7.16broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 516.76 KB | 1 年前3 Django Q Documentation
Release 0.7.16broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 516.76 KB | 1 年前3
 Django Q Documentation
Release 0.8.0broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 506.27 KB | 1 年前3 Django Q Documentation
Release 0.8.0broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 506.27 KB | 1 年前3
 Django Q Documentation
Release 0.7.17broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 516.85 KB | 1 年前3 Django Q Documentation
Release 0.7.17broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 516.85 KB | 1 年前3
 Django Q Documentation
Release 0.7.13broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 527.33 KB | 1 年前3 Django Q Documentation
Release 0.7.13broker = get_broker() # async a hundred functions under a group label for i in range(100): async('math.frexp', i, group='frexp', cached=True, broker=broker) # wait from django_q.tasks import async from django_q.brokers import get_broker broker = get_broker() for i in range(50): async('math.modf', 2.5, broker=broker) Tip If you are using django-redis [https://github keyword: # result group example from django_q.tasks import async, result_group for i in range(4): async('math.modf', i, group='modf') # wait until the group has 4 results result = result_group('modf'0 码力 | 73 页 | 527.33 KB | 1 年前3
共 94 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10














