No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am very new to VB.NET, I want to create a Forms Application to load a text file that has lets say 50 lines, some of the lines are identical and those are grouped together and some same format but different make up. Have it loads it into a text … |
|
I had recently made a .bat file that read a couple lines from file.txt and assigned them as variables then went through the execution of the bat which ended up deleting the original file.txt and writing the new values to a new file.txt. Now I want to convert this to … |
|
I've done a bit of searching but didn't come up with anything. Is there a way to use multiple placeholders and then use a list with as it assignment. i.e. [CODE] l = [1,2,3] l2 =['blah',50] print('%i isnt %i isnt %i which isnt %i' %(l[:],l2[1]))[/CODE] So if the first list … |
|
Ok, I'm pretty new to Python.... What I need to do is set up a couple tuples like so: [CODE]users = ('user1','user2','user3') passw = ('pass1','pass2','pass3')[/CODE] I then am asking the user for their username and password to compare to the tuples. The only way I could think to do that … |