Skip to content

Commit 090c80d

Browse files
committed
Updated README.md
Signed-off-by: Pankaj Biradar <[email protected]>
1 parent 24303c3 commit 090c80d

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

Diff for: BasicPythonScripts/Random Email Generator/README.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
1-
# This is a Python Script which generates random email addresses using random library
1+
# This is a Python Script which generates random email addresses with domains based on user input
2+
3+
## Libraries used:
4+
- Random
5+
- CSV
6+
- Progressbar
7+
- String
28

3-
## Requirements
49

5-
## For this script to run you need to have progressbar package installed
10+
## Requirements
611

7-
## Run the command in terminal to install package
12+
## For this script to run install requirements file
813

914
```python
10-
pip install progressbar
15+
pip install -r requirements.txt
1116
```
1217
## Run the program using command
1318

1419
```
1520
$ python random_email_generator.py
1621
```
22+
## Output
23+
![output](Images/RandomEmail.png)
24+
1725
Contributed by [Pankaj]('https://github.com/pankaj892')

Diff for: BasicPythonScripts/Random Email Generator/random_email_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def getcount():
1818
def makeEmail():
1919
extensions = ['com','net','org','gov']
2020
domains = ['gmail','yahoo','comcast','verizon','charter','hotmail','outlook','frontier']
21-
21+
2222
finalext = extensions[random.randint(0,len(extensions)-1)]
2323
finaldom = domains[random.randint(0,len(domains)-1)]
2424

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
progressbar33==2.4

0 commit comments

Comments
 (0)