GithubHelp home page GithubHelp logo

huzefamehidpurwala / supplier-python-sql Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 17 KB

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: MIT License

Python 100.00%
automation mysql mysql-database python python-automation python-mysql-connector python-script

supplier-python-sql's Introduction

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! โ€๐ŸŽ“

supplier-python-sql's People

Contributors

huzefamehidpurwala avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.