Skip to main content

A little function to create a batch file on your desktop to run your script.

from CreateBat import create_batch_file_on_desktop

create_batch_file_on_desktop()

#After calling the function, filedialog.askopenfilename will ask for the .py file



output:





Do you want to add parameters? (e.g: --path=C:\Users )>? --check

If you want to keep the console open after executing the script, press: "y" ?>? y



Batchfile written to:

C:\Users\Gamer\Desktop\_bs4dfscraping.bat

_____________________

    @echo off

    C:

    cd "C:\Users\Gamer\anaconda3\envs\dfdir"

    echo Activating dfdir

    CALL activate dfdir

    echo Starting Python C:\Users\Gamer\anaconda3\envs\dfdir\bs4dfscraping.py

    CALL "C:\Users\Gamer\anaconda3\envs\dfdir\python.exe" -i "C:\Users\Gamer\anaconda3\envs\dfdir\bs4dfscraping.py" --check

    

Out[3]: 'C:\\Users\\Gamer\\Desktop\\_bs4dfscraping.bat'

Metadata

Release files for CreateBat 0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CreateBat 0.21
File Size Uploaded Provenance Actions
CreateBat-0.21.tar.gz 4.1 kB Without provenance Details for CreateBat-0.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for CreateBat 0.21
File Interpreter ABI Platform Actions
CreateBat-0.21-py3-none-any.whl Python 3 none any Details for CreateBat-0.21-py3-none-any.whl

Total release size: 9.6 kB

Release files / CreateBat-0.21.tar.gz

Download URL CreateBat-0.21.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b65550fdb349887b3be273bfa2d1a057d96cf518ab64067bd6a3f97df545c025
BLAKE2b-256 checksum
How to use checksums
cd765031ae92aa1be779e177b2db4bec4f523727397ef546257c8fa51f4f2b73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / CreateBat-0.21-py3-none-any.whl

Download URL CreateBat-0.21-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49a91d0315c2988a82956ca54f0911685877f6cc30e0dbb5145a659c5925fcc2
BLAKE2b-256 checksum
How to use checksums
8b99346353ae7e223c01bc4b5617722bbeb80a5fec87f05d183472683eda13c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Security for CreateBat 0.21

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.21 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page