16
Programming / Python - File usage
« on: July 10, 2016, 17:25:35 »
So,
I'm quite good with python already,
But I need to know how to use pythons file usage thing, (Where you bring in the file normally using)
file = open('FILENNAME.txt, 'r'')
Yeah, that ^
And my problem is,
How do I use two files one holding usernames and the next holding passwords, and use them so I can successfully get prompt to log-in when the right username and the right password are entered.
If you need any more info about it just ask,
Also if you need help with python, just PM.
-Arigato
I'm quite good with python already,
But I need to know how to use pythons file usage thing, (Where you bring in the file normally using)
file = open('FILENNAME.txt, 'r'')
Yeah, that ^
And my problem is,
How do I use two files one holding usernames and the next holding passwords, and use them so I can successfully get prompt to log-in when the right username and the right password are entered.
If you need any more info about it just ask,
Also if you need help with python, just PM.
-Arigato
Follow @SLO_MMORPG