Fiddler was introduced to inspect browsing.
Go to browsing → browse any site → inspect in Fiddler.
What is a Batch (.bat) file and how to run it:
A batch file is essentially a text file that contains a sequence of commands for a computer operating system. It's called a "batch" file because it batches (or bundles) into a single file a set of commands that would otherwise need to be run individually at the command prompt. We can create a batch file to execute any/multiple python script/s.
@echo off
python "E:\\Python\\[RegQueExe.py](<http://regqueexe.py/>)"
pause
Here, ‘echo off’ turns off the echoing or display of commands as they are executed. The python script ‘RegQueExe.py’ is the file (must be written with complete location, also directory name should not have any whitespace eg my code
is not recommended, my_code
or myCode
is recommended.) I want to make a batch file. We use ‘pause’ to keep the command prompt window open until I press a key.
Task scheduler (Windows):
Task Scheduler is a component of Microsoft Windows that provides the ability to schedule the launch of programs or scripts at predefined times or after specified time intervals. It's a tool that automates the execution of tasks on the computer without user intervention.
We can schedule a .bat file to run automatically on a specific time.
<aside>
💡 To know more about any command:
dir /?
</aside>
We can use the schedule library. First, we'll need to install it:
pip install schedule
And then setting up a scheduling script like below:
import schedule
import time
import os
Google for more.