Daily Archives: 03/03/2019

Python: what is the if __name__ == “__main__” ?
0 (0)

3 March 2019

In many Python modules you can find construction like: if __name__ == “__main__”: func() Its main purpose is to dedicate a code which will be executed during calling code as a module, after importing it into another code – and when running module itself as a dedicated script. Let’s take a look at a couple… Read More: Python: what is the if __name__ == “__main__” ?0 (0) »

Loading

MySQL/MariaDB: most used commands with examples
0 (0)

3 March 2019

Please note – this is absolutely not a complete guide about all MySQL commands usage – but just examples of the most commonly used ones. mysql> at the begin of the line means it’s executed from the MySQL console. Symbols # or $ means it’s executed from the Linux shell. UPD 03.03.2019 This post originally… Read More: MySQL/MariaDB: most used commands with examples0 (0) »

Loading