My AI Prompt Engineering Experience #5 - Chat GPT + Replit

Richard Saunders

Replit
Prompt Writer
GitHub
ChatGPT
GitHub
Visual Studio Code

To simplify what I'm doing on this project, I wanted to see if I could use the code generated in Chat GPT into Replit. Replit is an IDE system that allows developers to create and run their code on the platform. During my JavaScript days, this was what I would use to run code.



Building Goals

  1. Create python scripts with Chat GPT
  2. Place the scripts on Replit to test if they are working
  3. Store the correct scripts on VSCode
  4. Upload the files on GitHub



Create Python Scripts with Chat GPT

After learning the basics of Python, I wanted to know how to actually create scripts with the programming language. Coding scripts can be ran and be used for...pretty much whatever the developer is thinking.



Chat GPT creates a simple python script after running the prompt.



Another important thing to remember is the extra parameters after the main command "Create a simple Python script". Because while Chat GPT is good for a NLP, you'll still have to give it the right parameters and restrictions for it to work properly.



Place the scripts on Replit to test if they are working



After placing the code on Replit, Chat GPT has created a simple Hello World script.



Even though it is a simple Hello World script, this is a great way for people to see how code can be generated through Chat GPT. In future projects, I can see myself making more complex scripts, but for now I want to keep it simple.



Storing Scripts on VSCode

I want to store this simple Hello World script onto Visual Studio Code. The reason why is because I want to place them in GitHub for other projects.



This is just a simple Hello World script, so I'm only copying and pasting one line of code!





Go to File + Save As to save the script.



Now that we've gotten that done, we can now place the script as a GitHub repository.









Upload the files on GitHub



I just realized I have 27 repositories on GitHub. Time to make it 28!



Step 1: New Repository

Step 2: Click Upload Existing File

Step 3: Upload your code to the repository.



And just like that, we've learned that we can Use Chat GPT > Replit > GitHub to create, test, run, and store code. I can't wait to see what else can be learned with Chat GPT as this was a great first step.



If Chat GPT can create scripts like this, chances are I can use it for more complex projects or development goals. It can also be used for more coding languages such as C++, JavaScript, and even Web3 coding languages such as Solidity.



I want to continue on this AI Prompt Engineering Journey because I want to obtain a job/client that will help me grow within this field. The more posts I create, the happier I am showcasing my skills to everyone.

I'm not the best prompt engineer or developer out there, but I will continue to sharpen my skillsets. So expect to see more posts in the near future.



Partner With Richard
View Services

More Projects by Richard