Skip to content

mangalji/Use_of_faker_library_module_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

This is my project description and script of "how to run my project"

Firstly you have the python with latest version in your system.

Now you need any of text editor(i used SUBLIME as a text editor). Then, save your file with .py extension(like myfile.py).
Now Download the MySQL WorkBench database in your system. And register here, create the account and connect it with your system by using his commands.

After all of these:

install the mysql connector in your system:

  • open the terminal
  • go to the folder where your file is located or which folder you created for this project.
  • now create the virtual environment in your folder:
    • type: python -m venv .
    • here the mean of venv is: v for virtual and env for environment.
    • after create the venv we need to activate it.
    • use: source /bin/activate
    • if you need to deactivate you write just deactivate.
  • after venv creation we run the command:
    • pip install mysql-connector-python
    • say every yes Y for accept the T&C.

My code generates fake data using faker module. So, we need to download the faker module also.

after these activities, we need to going install the faker module:

  • run the commands in terminal in your folder directory in venv:
  • pip install faker

if you did all of these action: write my code in the file.

About

This is for my project files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages