Repl Search: The best search engine around
I will be adding a couple of entries per day, just to keep the site fresh
Tell me searches to add
Just comment: the search name, and the info
Some of you guys have entries!
If you type in your user you might have an entry.
Well, nice idea but here's a few suggestions in terms of code:
search.py seems quite cluttered. Instead of setting variables then putting them into one big array, just have a big array split into multiple lines containing the searches. This would kind of reduce clutter and prevent situations where you forget to add the search to the array, and weird variable names with searches that start on a number.
2. The search box itself has a weird way of putting in characters, but I really can't think of a way to get around that.
3. There's a duplicate of black in
main.py, and on that topic you could move the colors to a different file, or just use the
colorama package which does include proper terminal escape sequences.
4. Don't run
clear just to clear the terminal - the escape sequence for this is
5. Lastly, I'm really unable to figure out what's
p and all those single-letter variables - it's kind of a pain to look at.
I would like to change these searches:
HTML - The standard markup language used on the Web to build pages.
CSS - The style sheet language used on the Web to set styles on HTML elements.