Skip to content

Commit f0b1cee

Browse files
committed
README updated with Standalone Executable information
1 parent f90a2f0 commit f0b1cee

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,24 @@ python T3_Scraper.py
3838
- `ENGLISH_ONLY_REGEX`: Set to `True` to filter for English-only trends based on regex patterns.
3939
- `TWEET_MAX_CHARS`: The character limit for hashtags (default is 280).
4040

41+
## Creating a Standalone Executable
42+
43+
To create a standalone executable from the Python script using PyInstaller:
44+
45+
1. Install PyInstaller:
46+
47+
```bash
48+
pip install pyinstaller
49+
```
50+
51+
2. Navigate to the directory containing your script and run the following command:
52+
53+
```bash
54+
pyinstaller --onefile T3_Scraper.py
55+
```
56+
57+
This will generate a standalone executable in the `dist` directory. You can run this executable without needing to install Python or any dependencies on the target machine.
58+
4159
## Notes
4260

4361
- Ensure you have the Chrome WebDriver installed. You can use the WebDriver Manager to automatically handle this.

0 commit comments

Comments
 (0)