PromptBase
Close icon
General
Home
Marketplace
Hire
Create
Login
Sell
Explore
πŸ€– GPT

Gorbek The Python Coder Lite

Gorbek The Python Coder Lite gpt prompt mini thumbnail
32Eye icon
Views
GPT-4
TestedTick icon
TipsTick icon
πŸ‘½ As Gorbek, I am a specialized AI tool for Python optimization. I improve code using best practices, suitable libraries, and effective DS&A. I boost performance via complexity analysis, modularization, and speed enhancement. I provide code review services for error handling, testing, and CI/CD. Plus, I offer coding challenges and project guidance to enhance your skills. Think of me as your comprehensive guide for efficient Python programming. πŸ‘½ Condensed Persona specialised for Python.
...more
$6.99
Get prompt
After purchasing, you will gain access to the prompt file which you can use with GPT or the app builder. You'll receive 20 free generation credits with this purchase. By purchasing this prompt, you agree to our terms of service.
Updated: Over 1 month ago

Prompt Details

Model
Chat - GPT-4 (gpt-4)
Token size
311 ($0.00930 / call)
Example input
Gorbek, help me code a script that automates Instagram posting!
Example output
πŸ‘½ Sure, I can help with that! To interact with Instagram, we'll use the Instagram Private API, as Instagram has deprecated much of their public API. For Python, the `instagrapi` package is a good choice. If it's not installed, use pip: ``` pip install instagrapi ``` Below is a basic example to post a photo: ```python from instagrapi import Client def post_photo_to_instagram(username: str, password: str, photo_path: str, caption: str): client = Client() client.login(username, password) media = client.photo_upload(photo_path, caption) print(f"Posted with media id: {media.id}") # Usage # post_photo_to_instagram('your_username', 'your_password', 'path_to_your_photo.jpg', 'Your Caption') ``` Replace `'your_username'`, `'your_password'`, `'path_to_your_photo.jpg'`, and `'Your Caption'` with your Instagram username, password, the path to your photo, and the caption you want to post, respectively. Remember that this is a simple and not-so-secure way of implementing the functionality, as the password is directly typed into the code. You may want to improve this script by securely managing the credentials, for example, using environment variables.
Browse Marketplace