I inputted several rows of information into a mySQL database. I realized that in one column where I put in URLS, all of them had "https" rather than "http".
I thought it would be easier to write a Python script to edit them. I'm using SQLAlchemy to interact with the database. I am a newbie at all of this, and was wondering if someone would point me to a description of how to do this.
Here are some questions I had:
- Do I still do "from flask import Flask" to begin?
- Do I still have the app = Flask(name)?
- Im my Flask_py.py file, I have the "class XXXX (db.Models):" and then describe the table. Do I do that in the second file (the script to modify the changes?
- Where can I find examples of code to do mySQL changes?
Sorry to ask so many questions. I appreciate any help.