Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This project helps learn basics of python, connecting Python to MySQL and automating the repetitive tasks like inserting multiple rows of data. It is more focused to learn MySQL, there are multiple MySQL query questions answered to learn and understand SQL queries better with knowing the functionalities of keys and constraints on the fields.

License

Notifications You must be signed in to change notification settings

huzefamehidpurwala/Supplier-Python-SQL

Repository files navigation

Supplier-SQL

Read about this repository here.

Start working with the project

  1. Clone this repository by git clone https://github.com/huzefamehidpurwala/Supplier-Python-SQL.git.

  2. After successfully cloning the repository change directory by cd Supplier-Python-SQL.

  3. (Optional) Create virtual environment for the project by python3 -m venv Supplier-Python-SQL_venv.

    • If using linux and get any error then install the python3-venv package sudo apt install -y python3.<version>-venv here, <version> should be replaced by the current version of python installed in the system. For ex: sudo apt install -y python3.8-venv. Now re-execute the above command.
  4. (Necessary if used the above 3rd point) Activate the environment:

    • for windows Supplier-Python-SQL_venv\Scripts\activate
    • for linux Supplier-Python-SQL_venv/bin/activate
  5. Install necessary python modules by pip install mysql-connector-python.

  6. Open main.py in editing mode:

    • Windows notepad main.py
    • Linux nano main.py

    Enter the "username" and "password" of the mysql having major rights for editing the tables and databases accordingly and save the file.

  7. Now execute the python script by python main.py.

Now you have your database and tables ready to solve SQL Challenge! β€πŸŽ“

About

This project helps learn basics of python, connecting Python to MySQL and automating the repetitive tasks like inserting multiple rows of data. It is more focused to learn MySQL, there are multiple MySQL query questions answered to learn and understand SQL queries better with knowing the functionalities of keys and constraints on the fields.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /