Feb-05-2017, 01:37 AM
I can't get it. How is this different from writing a simple loop?
Is it possible to have a script call itself?
|
Feb-05-2017, 01:37 AM
I can't get it. How is this different from writing a simple loop?
Feb-05-2017, 04:12 AM
(This post was last modified: Feb-05-2017, 04:13 AM by treycoxiii.)
(Feb-05-2017, 01:37 AM)wavic Wrote: I can't get it. How is this different from writing a simple loop? in my script i connect to a server and send requests. if the requests become to frequent it bans my ip. using a vpn, spoof ips, and this idea of killing and reviving my program it is able to send fresh requests with a different spoof. when i looped the code w/out killing it first the server would recognize what was happening so it would just ban my ip for a longer period of time. For some reason when i killed the program and restarted it this ban would not occur so i needed the program to terminate then restart itself so that i could get around this ban problem i was having
Feb-05-2017, 05:14 AM
You can delay requests. Or you do your request, sys.exit() the program and run it again from a bash script.
#!/bin/bash while : do python3 ./super-duper.py sleep 2 done |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Is possible to run the python command to call python script on linux? | cuten222 | 6 | 2,303 |
Jan-30-2024, 09:05 PM Last Post: DeaD_EyE |
|
Call a bash script from within a Python programme | Pedroski55 | 6 | 3,523 |
Dec-06-2021, 01:53 PM Last Post: DeaD_EyE |
|
Using VBA to Call a Python script causes error in pyodbc connector | pcarra | 1 | 3,880 |
Jun-11-2019, 04:14 PM Last Post: pcarra |
|
How to call a variable declared in a function in another python script | lravikumarvsp | 2 | 3,598 |
Jun-04-2018, 08:45 AM Last Post: Larz60+ |
|
How to call one python script and use its output in another python script | lravikumarvsp | 3 | 34,449 |
May-16-2018, 02:08 AM Last Post: lravikumarvsp |
|
Python cmd function call from script | John_O | 10 | 12,059 |
Feb-18-2017, 04:45 PM Last Post: John_O |
|
Windows: python script call over ssh -> output | jb7731 | 2 | 6,369 |
Feb-08-2017, 01:13 PM Last Post: jb7731 |