This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from zeep import Client | |
| from zeep.transports import Transport | |
| from zeep.wsse.username import UsernameToken | |
| import json | |
| url = "https://example.com/Service.svc?wsdl" | |
| client = Client(url, wsse=UsernameToken("username", "password")) | |
| reponse = client.service.MyService(request={"CountryCode": "MEX", "ClientCode": 0000}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from threading import Thread | |
| import random | |
| import time | |
| import requests | |
| def send_configurations(n=1, n2=2): | |
| time.sleep(random.randint(1, 10)) | |
| print(n) | |
| for n in range(10): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| old_token = '' | |
| new_token = '' | |
| h = { | |
| 'Authorization': 'Bearer ' + old_token | |
| } | |
| tracks = [] | |
| index = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def testWord(word, word_new): | |
| isGreater = len(word_new) > len(word) + 1 | |
| isLower = len(word_new) < len(word) - 1 | |
| if isGreater or isLower: | |
| return False | |
| if len(word_new) > len(word): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(u,p,l,i,f,t,b,j){u['UpLiftPlatformObject']=f;u[f]=u[f]||function() {(u[f].q=u[f].q||[]).push(arguments)},u[f].l=1*new Date();b=p.createElement(l),j=p.getElementsByTagName(l)[0];b.async=1;b.src=i+'?id='+t;j.parentNode.insertBefore(b,j);var o=window.location.host.match(/[w-]+.w{2,3}(:d+)?$/);if(o)o=o[0];u[f]('create',t,o)})(window,document,'script','https://cdn.uplift-platform.com/a/up.js','up','UP-12766233-1') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(u,p,l,i,f,t,b,j){u['UpLiftPlatformObject']=f;u[f]=u[f]||function() {(u[f].q=u[f].q||[]).push(arguments)},u[f].l=1*new Date();b=p.createElement(l),j=p.getElementsByTagName(l)[0];b.async=1;b.src=i+'?id='+t;j.parentNode.insertBefore(b,j);var o=window.location.host.match(/[w-]+.w{2,3}(:d+)?$/);if(o)o=o[0];u[f]('create',t,o)})(window,document,'script','https://cdn.uplift-platform.com/a/up.js','up','UP-79113567-10') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(u,p,l,i,f,t,b,j){u['UpLiftPlatformObject']=f;u[f]=u[f]||function() {(u[f].q=u[f].q||[]).push(arguments)},u[f].l=1*new Date();b=p.createElement(l),j=p.getElementsByTagName(l)[0];b.async=1;b.src=i+'?id='+t;j.parentNode.insertBefore(b,j);var o=window.location.host.match(/[w-]+.w{2,3}(:d+)?$/);if(o)o=o[0];u[f]('create',t,o)})(window,document,'script','https://cdn.uplift-platform.com/a/up.js','up','UP-57912505-1') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(u,p,l,i,f,t,o,b,j){u['UpLiftPlatformObject']=f;u[f]=u[f]||function(){ | |
| (u[f].q=u[f].q||[]).push(arguments)},u[f].l=1*new Date();b=p.createElement(l), | |
| j=p.getElementsByTagName(l)[0];b.async=1;b.src=i+'?id='+t; | |
| j.parentNode.insertBefore(b,j);o=u.location.host.match(/[\w-]+\.\w{2,3}(:\d+)?$/); | |
| if(o)o=o[0];u[f]('create',t,o)})(window,document,'script','https://cdn.uplift-platform.com/a/up.js', | |
| 'up','UP-81257396-1'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(u,p,l,i,f,t,o,b,j){u['UpLiftPlatformObject']=f;u[f]=u[f]||function(){ | |
| (u[f].q=u[f].q||[]).push(arguments)},u[f].l=1*new Date();b=p.createElement(l), | |
| j=p.getElementsByTagName(l)[0];b.async=1;b.src=i+'?id='+t; | |
| j.parentNode.insertBefore(b,j);o=u.location.host.match(/[\w-]+\.\w{2,3}(:\d+)?$/); | |
| if(o)o=o[0];u[f]('create',t,o)})(window,document,'script','https://cdn.uplift-platform.com/a/up.js', | |
| 'up','UP-79113567-13'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function(u,p,l,i,f,t,o,b,j){u['UpLiftPlatformObject']=f;u[f]=u[f]||function(){ | |
| (u[f].q=u[f].q||[]).push(arguments)},u[f].l=1*new Date();b=p.createElement(l), | |
| j=p.getElementsByTagName(l)[0];b.async=1;b.src=i+'?id='+t; | |
| j.parentNode.insertBefore(b,j);o=u.location.host.match(/[\w-]+\.\w{2,3}(:\d+)?$/); | |
| if(o)o=o[0];u[f]('create',t,o)})(window,document,'script','https://cdn.uplift-platform.com/a/up.js', | |
| 'up','UP-73285543-1'); |