Hacker News new | ask | show | jobs
by thom801 4481 days ago
These are some pretty shit domain names hehe. Here is everything with fewer than 8 chars. Lorded.com seems promising though.

with open('domains.txt') as domains: for line in domains: if len(line) < 8: print line

befogs

cagily

dourer

drolly

gusted

livia

lorded

neglig

scrods

shirrs

soughs

tyroes

unmans

unsays

vilyui

1 comments

You seem to be counting \0 as a char, or meant to find words less than 7 chars. Either way, there are just over 100 names available with 7 chars.
Probably counting \n as a character since Python is pretty good about never dealing with \0's.