Create a Python Replit App
- Select
Create App from the home screen.
- Navigate to the Choose a Template tab.
- Type “Python” in the template search field and select it as shown below:

- Select
Create App.
Install the official client library
To install the client library, follow the one-click setup or package manager instructions below.- One-click setup
- upm
- pip
Access the App Storage tool
- Navigate to the App Storage tab.
- Select the
Commands view in the App Storage tab.

Create a bucket
Before storing objects, you must create a bucket. Follow the steps below to create a new bucket:- Navigate to the App Storage tool
- Select Create new bucket
- Enter a name for the bucket in the Name field
- Select Create bucket
Add and run the example code
Delete the object
To remove thefile.txt file from the bucket,
-
Replace the content of
main.pywith the following code: - Select Run to execute the example code.
-
Navigate to the Console tab to view the output, which should resemble the output below:
-
Verify that the
file.txtobject no longer appears in the bucket.
Next steps
To learn more about Replit App Storage, see the following resources:- App Storage: Learn more about the App Storage feature and workspace tool
- App Storage Python SDK: Learn about the
Clientclass and its methods