[Solved] Converting a large ASCII to CSV file in python or java or something else on Linux or Win7

If you are absolutely certain that each entry is 92 lines long: from itertools import izip import csv with open(‘data.txt’) as inf, open(‘data.csv’,’wb’) as outf: lines = (line[2:].rstrip() for line in inf) rows = (data[1:89] for data in izip(*([lines]*92))) csv.writer(outf).writerows(rows) 1 solved Converting a large ASCII to CSV file in python or java or something … Read more

[Solved] Convert Ascii “1” to hex thats non printable and cannot be seen on network traffic [closed]

Either use real encryption and decryption between your source and destination (implementation will vary depending on how you are sending the data) or just obfuscate a bit by adding a known value to the hex that is ‘only’ known by the source and destination (probably best to modulo this by 127) – essentially this is … Read more

[Solved] Python: ASCII letters slicing and concatenation [closed]

I think you are misunderstanding the “:” notation for the lists. upper[:3] gives the first 3 characters from upper whereas upper[3:] gives you the whole list but the 3 first characters. In the end you end up with : upperNew = upper[:3] + upper[3:] = ‘ABC’ + ‘DEFGHIJKLMNOPQRSTUVWXYZ’ When you sum them into upperNew, you … Read more