Skip to content

Commit e848a5d

Browse files
committed
Removed priting of every line
1 parent a1d738e commit e848a5d

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

formatter.py

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,3 @@
1-
# with open("test.txt", "r") as myfile:
2-
# text=myfile.read()
3-
4-
# output_text = text.split(" ")
5-
6-
# with open("Output.txt", "w",) as outfile:
7-
# for line in output_text:
8-
# outfile.write('"'+ line + '"')
9-
10-
# s = "username:password"
11-
# s2 ="wolfdo65gtornado:salmontiger223"
12-
# result = "".join(itertools.takewhile(lambda x : x!=':' , s))
13-
# result2 = "".join(itertools.takewhile(lambda y : y=="!", s2))
14-
15-
# text ="username:password"
16-
# left_text = text.partition(":")[0]
17-
18-
# left_text = None
19-
20-
# print(left_text)
21-
221
import itertools
232
import sys
243
import os
@@ -50,24 +29,7 @@
5029

5130
format = '"' + username + '"' + semicolon + '"' + password + '"'
5231
outputFile.write(format + "\n")
53-
print(format)
5432

55-
# f.write(format + "\n")
5633
line = f.readline().splitlines()
57-
58-
# print(format, end='')
59-
# f.write(format)
6034

6135
f.close()
62-
# while line != '': # The EOF char is an empty string
63-
# # line.split(':')
64-
# # print(line.split(':'), end='"')
65-
# # line = reader.readline()
66-
67-
68-
# # format = '"' + username + '"' + semicolon + '"' + password + '"'
69-
# print(x)
70-
# print(format, end="")
71-
# line = f.readline()
72-
73-
# function

0 commit comments

Comments
 (0)