OverIQ.com

What is if __name__ == '__main__' in Python ?

Posted on July 10, 2020, 5:13 p.m.

The following is the most common pattern that trips people up. 1 2if __name__ == '__main__': # some logic here Every Python module defines a variable called __name__. It can either contain module name or __main__ depending upon how a module is…

Read More

Installing GoAccess (A Real-time web log analyzer)

Posted on July 10, 2020, 4:57 p.m.

GoAccess is an open source software which allows us to monitor a web server in real time. It displays the statistics after reading web server logs. The purpose behind the GoAccess was to provide valuable information to the site administrator…

Read More

Installing Isso

Posted on July 10, 2020, 4:49 p.m.

Isso is an open source alternative to Disqus. It is written in Python and allows users to enter comments in markdown. Unlike Disqus however, it is very lightweight and uses SQLite database store comments. Lately, Disqus has been criticized because…

Read More