Mistři v programování na #hovnokod

Python #398

response = conn.getresponse()
data = response.read()
s_list = list(data)
i, j = 0, 0
while i < len(s_list):
	if s_list[i] == '<':
		while s_list[i] != '>':
			s_list.pop(i)
		s_list.pop(i)
	elif s_list[i] == '\n':
		s_list.pop(i)
	elif s_list[i] == '\t':
		s_list.pop(i)
	else:
		i = i+1

data = str(s_list).replace('\'','').replace(' ','').replace(',','').\
replace('&nbsp','').replace('SERegistru','').replace('[','').\
replace(']','').replace(':','').replace(';','').\
replace('IDNP','').replace('LastName',' ').\
replace('FirstName',' ').replace('SecondName',' ').replace('Alive',' ')

HovnoKod,