First Python script

  1. learn what is api
  2. Jailbreak pycharm
  3. install requests on pycharm
  4. write first request: get, post
  5. MFA login: need to parameter mechanismId and SessionId
    • know how to check response, (json.cn),
    • know some data type and operate them (list, dict...)
  6. Cannot create role using Post, need to replace resopnd to session (sth about session...)
  7. paramater some values that would change
  8. write method into different file
  9. write class: login, create role
  10. write main method and the define parameters

finally, thanks Zoe very much, yeah, long way, i still need to good good study...

上一篇:【数据结构与算法笔记04】对图搜索策略的一些思考(包括DFS和BFS)


下一篇:第28篇 js中let和var