如何添加自定义python模块

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

如何添加自定义python模块

testing_forPython
这个可以添加我自定义的模块吗?或者我不想用他本身的HTTPClient  我想直接使用python的requests库来请求,可以吗?如何做到?
Reply | Threaded
Open this post in threaded view
|

Re: 如何添加自定义python模块

littleboy
第三方库好像都不行哎,只支持标准库,grinder描述是这样的
zhm
Reply | Threaded
Open this post in threaded view
|

Re: 如何添加自定义python模块

zhm
In reply to this post by testing_forPython
请问你后来是如何解决的?貌似只能在lib中导入单个的py文件,无法导入整个模块
Reply | Threaded
Open this post in threaded view
|

Re: 如何添加自定义python模块

junoyoon
Administrator
Yes... it's jython not python. U can not use native python module in grinder.
I highly recommend you to use groovy if you are not satisfied with basic feture.
with groovy and maven, you can use almost unlimited libraries.