Created
June 6, 2019 21:04
-
-
Save mainframed/72df2642a4643ddff4e391dffb780d1b to your computer and use it in GitHub Desktop.
Generate fake credit card profiles for DB2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from faker import Faker | |
fake = Faker() | |
for i in xrange(1000000): | |
x = fake.credit_card_full().splitlines() | |
a = fake.address().splitlines() | |
print x[1] + " " + x[2] + ' ' + x[3].split()[1] + " " + a[0] + " " + a[1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment