Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
18 views15 pages

101 ChatGPT Code Interpreter Prompts

Uploaded by

niftstudent
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views15 pages

101 ChatGPT Code Interpreter Prompts

Uploaded by

niftstudent
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

20/09/2023, 03:01 101 ChatGPT Code Interpreter Prompts

🖥️
101 ChatGPT Code Interpreter
Prompts
💡 👋 Hey there,
I'm Max, the creator of this resource!
Check out Ultimate ChatGPT Guide as well as My Free Resources!
Subscribe to my newsletter TheLazyMarketer to receive the latest
updates, digital resources, and giveaways every Monday at 9:05am.
Thank you for downloading this guide - I hope you enjoy!!

Table of Content(s) - lol is it content or


contents?
⚙️ (Prompts 1-14) Converting Files
🎨 (Prompts 15-44) Graph Aesthetics
🔧 (Prompts 45-68) Analysing Data
🔧 (Prompts 69-101) Analysing Code
https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 1/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

Converting Files (PDF, MP4, PNG, etc.)

#1. Converting BMP Image to PDF


Prompt: Convert the provided BMP image into a PDF format.
#2. Changing Song to MP3
Prompt: Convert the given song to the MP3 audio format.
#3. Converting Text to SRT File (Subtitles)
Prompt: Convert the provided text into an SRT file format for subtitles.
#4. Converting FLAC Audio File to OGG
Prompt: Convert the FLAC audio file to the OGG format.
#5. Converting MP4 to GIF
Prompt: Convert the provided MP4 video into a GIF image format.
#6. Converting PDF Document to Text
Prompt: Convert the given PDF document into plain text format.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 2/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#7. Converting Video File to AVI


Prompt: Convert the provided video file to the AVI format.
#8. Converting Picture to ASCII Art
Prompt: Convert the given picture into ASCII art representation.
#9. Converting PNG to JPEG
Prompt: Convert the PNG image to the JPEG format.
#10. Converting TIFF Image to PDF
Prompt: Convert the TIFF image to the PDF format.
#11. Converting TIFF Image to PNG Format
Prompt: Convert the TIFF image to the PNG format.
#12. Converting TXT File to Word Document
Prompt: Convert the TXT file to a Word document format.
#13. Converting WAV File to AAC
Prompt: Convert the WAV audio file to the AAC format.
#14. Converting WAV File to MP3
Prompt: Convert the WAV audio file to the MP3 format.

GRAPH AESTHETICS

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 3/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#15 - Adding Vignette Effect to an Image


Prompt: Write a code snippet that adds a vignette effect to the given image.
#16 - Adding Border to an Image
Prompt: Implement a code snippet that adds a border around the provided image.
#17 - Overlaying Text on an Image
Prompt: Write a code snippet to overlay text onto the given image.
#18 - Applying Gradient Overlay to an Image
Prompt: Implement a code snippet to apply a gradient overlay to the provided
image.
#19 - Applying Vintage Filter to a Photo
Prompt: Write a code snippet that applies a vintage filter to the given photo.
#20 - Applying Artistic Effects to an Image
Prompt: Implement a code snippet to apply artistic effects, such as an oil painting
effect, to the image.
#21 - Determining Image Aspect Ratio
Prompt: Write a code snippet to determine and output the aspect ratio of the
image.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 4/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#22 - Breaking Down Image into Separate Parts or Objects


Prompt: Implement a code snippet to break down the image into its individual
parts or objects.
#23 - Modifying Image with Filters and Adjustments
Prompt: Write a code snippet to modify the image using filters,
brightness/contrast adjustments, or other image processing techniques.
#24 - Converting Image Color Scheme to Grayscale
Prompt: Implement a code snippet to convert the image's color scheme from RGB
to grayscale.
#25 - Transforming Image to Cartoon-like Appearance
Prompt: Write a code snippet to transform the image to have a cartoon-like
appearance.
#26 - Changing Image to Sepia Tone
Prompt: Implement a code snippet to change the image to sepia tone.
#27 - Combining Two Images
Prompt: Write a code snippet to combine two images together.
#28 - Comparing Image Similarities or Differences
Prompt: Implement a code snippet to compare the provided image with another
one for similarities or differences.
#29 - Converting Image to Black and White
Prompt: Write a code snippet to convert the image to black and white.
#30 - Cropping Image to Square Format (1080x1080)
Prompt: Implement a code snippet to crop the image to a square format with
dimensions 1080x1080 pixels.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 5/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#31 - Cropping Image to Vertical Format (1080x1920)


Prompt: Write a code snippet to crop the image to a vertical format with
dimensions 1080x1920 pixels.
#32 - Cropping Image without Distorting Aspect Ratio
Prompt: Implement a code snippet to crop the image while maintaining its original
aspect ratio.
#33 - Enhancing Image Quality using Sharpening Techniques
Prompt: Write a code snippet to enhance the image quality using sharpening
techniques.
#34 - Examining Image Texture for Image Processing Tasks
Prompt: Implement a code snippet to examine the image's texture for use in image
processing tasks.
#35 - Using Edge Detection to Find Image Boundaries
Prompt: Write a code snippet to use edge detection algorithms to find the
boundaries in the image.
#36 - Inverting Colors of an Image
Prompt: Implement a code snippet to invert the colors of the provided image.
#37 - Identifying Main Colors and Objects in an Image
Prompt: Write a code snippet to identify the main colors and objects in the image.
#38 - Extracting Image Metadata (e.g., Creation Date, Last Modified)
Prompt: Implement a code snippet to extract image metadata, such as the
creation date or last modification timestamp.
#39 - Removing Noise from an Image using a Filter

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 6/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

Prompt: Write a code snippet to remove noise from the image using a filter or
noise reduction technique.
#40 - Resizing Image while Preserving Aspect Ratio
Prompt: Implement a code snippet to resize the image to a specified pixel
dimension while preserving its aspect ratio.
#41 - Resizing Image to Specific Dimensions
Prompt: Write a code snippet to resize the image to specific dimensions (insert
desired pixel values).
#42 - Flipping or Rotating an Image
Prompt: Implement a code snippet to flip or rotate the image.
#43 - Transforming Photo into Color Palette and Exporting as PNG
Prompt: Write a code snippet to transform the photo into a color palette and
export it as a PNG file.
#44 - Applying Watermark to Image for Copyright Protection
Prompt: Implement a code snippet to apply a watermark to the image for
copyright protection purposes.

ANALYZING DATA

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 7/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#45 - Analyzing Data: Extracting Insights from the Dataset


Prompt: Identify and provide insights from analyzing the dataset, presenting them
in a meaningful way.
#46 - Analyzing Data: Implementing an ARIMA Model for Future Price Prediction
Prompt: Develop and implement an ARIMA model using the dataset to predict
future prices.
#47 - Analyzing Data: Interpolating Missing Values in the Dataset
Prompt: Fill in the missing values in the dataset by employing interpolation
techniques.
#48 - Analyzing Data: Key Takeaway from Analyzing the Dataset
Prompt: Summarize the most significant lesson or key takeaway derived from
analyzing the dataset.
#49 - Analyzing Data: Loading and Previewing Dataset
Prompt: Load and preview the dataset, giving an initial overview of its contents.
#50 - Analyzing Data: Performing Sentiment Analysis on Textual Data
Prompt: Conduct sentiment analysis on the textual data within the dataset.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 8/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#51 - Analyzing Data: Plotting Histogram of Daily Returns


Prompt: Generate a histogram to visualize the distribution of daily returns within
the dataset.
#52 - Analyzing Data: Plotting Bollinger Bands
Prompt: Create a plot displaying Bollinger Bands based on the dataset.
#53 - Analyzing Data: Plotting Closing Price Trends
Prompt: Create a visualization to display the trends in the closing prices over time.
#54 - Analyzing Data: Predicting Future Values using the Dataset
Prompt: Utilize the dataset to make predictions about future values or outcomes.
#55 - Analyzing Data: Determining Duration of Fastest Price Decrease
Prompt: Calculate the duration of the fastest price decrease, measuring the time
between the highest and lowest points.
#56 - Analyzing Data: Determining Duration of Fastest Price Increase
Prompt: Calculate the duration of the fastest price increase, measuring the time
between the lowest and highest points.
#57 - Analyzing Data: Enumerating Insights Derived from Dataset Analysis
Prompt: Provide a numbered list of insights derived from analyzing the dataset.
#58 - Analyzing Data: Concise Recap of Dataset in One Sentence
Prompt: Summarize the dataset concisely in a single sentence.
#59 - Analyzing Data: Conducting Regression Analysis on the Dataset
Prompt: Perform a regression analysis on the dataset to identify relationships or
correlations.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 9/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#60 - Analyzing Data: Calculating Rolling Sum over a 7-Day Window


Prompt: Compute the rolling sum over a 7-day window for the dataset.
#61 - Analyzing Data: Segmenting the Data and Creating a Table
Prompt: Segment the dataset and present the information in a table format.
#62 - Analyzing Data: Testing for Stationarity using Augmented Dickey-Fuller Test
Prompt: Test for stationarity in the dataset using the Augmented Dickey-Fuller
test.
#63 - Analyzing Data: Performing Statistical Hypothesis Test on the Dataset
Prompt: Conduct a statistical hypothesis test on the dataset to verify or refute a
hypothesis.
#64 - Analyzing Data: Listing Top 10 Key Findings
Prompt: Provide a list of the top 10 key findings obtained from analyzing the
dataset.
#65 - Analyzing Data: Visualizing Top Trends in a Graphical Format
Prompt: Present the top trends observed in the dataset in a visually appealing
format.
#66 - Analyzing Data: Composing an Article based on the Dataset
Prompt: Write an article discussing the insights and findings derived from
analyzing the dataset.
#67 - Analyzing Data: Creating Visual Charts based on the Data
Prompt: Generate visually informative charts based on the dataset to aid in data
exploration and understanding.
#68 - Analyzing Data: Generating a Visual Word Cloud Representation

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 10/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

Prompt: Create a visual word cloud representation based on the dataset to


visualize word frequencies or themes.

ANALYZING CODING

#69. Analyzing Code: How Complex is this Code?


Prompt: Evaluate the complexity of the code and provide an assessment of its
overall complexity.
#70. Analyzing Code: Memory Usage Analysis
Prompt: Analyze the memory usage of the script and provide insights into its
memory consumption.
#71. Code Style Analysis: PEP8 Compliance Check
Prompt: Verify if the code follows the PEP8 style guidelines and provide feedback
on any style violations.
#72. Creating a Style Guide for the Code
Prompt: Develop a style guide based on the code, outlining the recommended
coding conventions and best practices.
#73. Creating a Unit Test for a Specific Function or Method
Prompt: Write a unit test to verify the correctness and functionality of a specific
function or method.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 11/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#74. Visualizing Code Execution: Flowchart or Diagram


Prompt: Create a flowchart or diagram to visually represent the execution flow of
the code.
#75. Identifying Classes and Methods in the Code
Prompt: Identify and explain any classes present in the code, along with their
respective methods.
#76. Explaining Code Functionality
Prompt: Provide an explanation of how the code works, highlighting its main
functionality and logic.
#77. Explaining Specific Sections or Lines of Code
Prompt: Explain the purpose and functionality of specific sections or lines of code
in the script.
#78. Understanding Complex Data Structures in the Code
Prompt: Describe any complex data structures used in the code and explain their
purpose and usage.
#79. Extracting Function Definitions from the Code
Prompt: Extract and list all the function definitions present in the code.
#80. Analyzing Code for Errors and Inefficiencies
Prompt: Analyze the code for potential errors or inefficiencies and provide
recommendations for improvement.
#81. Identifying Error-Prone Code Lines
Prompt: Identify the lines of code that are most likely to throw exceptions or
encounter errors.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 12/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

#82. Identifying Potential Security Issues in the Code


Prompt: Identify any potential security vulnerabilities or risks in the code and
suggest mitigation strategies.
#83. Executing Specific Functions or Methods in the Code
Prompt: Run specific functions or methods in the code with given inputs (if
applicable) and provide the resulting output.
#84. Estimating Script Runtime with Certain Inputs
Prompt: Provide an estimate of how long the script will take to execute with
specific input parameters.
#85. Identifying Code Smells in the Script
Prompt: Identify any code smells or anti-patterns present in the code and suggest
improvements.
#86. Identifying Multithreading or Multiprocessing Opportunities
Prompt: Identify any potential opportunities for implementing multithreading or
multiprocessing in the code.
#87. Identifying Dependencies of the Script
Prompt: Identify and list the dependencies or external modules used in the code.
#88. Explaining the Main Algorithm(s) in the Code
Prompt: Identify the main algorithm(s) used in the code and provide an
explanation of how they work.
#89. Identifying Opportunities for Code Refactoring
Prompt: Identify opportunities to refactor the code for improved readability,
maintainability, or performance.
#90. Identifying Unused Variables or Functions in the Code

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 13/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

Prompt: Identify any variables or functions in the code that are unused or
redundant.
#91. Understanding the Key Purpose of the Code
Prompt: Determine and explain the key purpose or objective of the code.
#92. Listing Imported Modules in the Code
Prompt: Identify and list all the modules imported in the code.
#93. Modifying the Code to Implement New Functionality
Prompt: Modify the code to implement a new function or adjust the existing logic
as specified.
#94. Analyzing Time Complexity of an Algorithm
Prompt: Provide a time complexity analysis for a specific algorithm implemented in
the code.
#95. Code Review: Efficiency and Improvement Suggestions
Prompt: Review the code for efficiency and suggest improvements or
optimizations.
#96. Optimizing and Refactoring the Code
Prompt: Suggest ways to optimize or refactor the code for better performance or
readability.
#97. Code Review: Identifying Areas for Improvement
Prompt: Review the code and provide feedback on areas that can be improved,
including coding style, logic, or structure.
#98. Testing the Code with Different Input Parameters
Prompt: Test the code with various input parameters to ensure its functionality
and identify any potential issues or bugs.

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 14/15
20/09/2023, 03:02 101 ChatGPT Code Interpreter Prompts

https://seed-gorilla-37c.notion.site/101-ChatGPT-Code-Interpreter-Prompts-14a371d5afe745ef82261b637be8cea5 15/15

You might also like