Tag Archives: Python

What is: YAML – its overview, basic data types, YAML vs JSON, and PyYAML
0 (0)

14 March 2019

YAML – is one of the most popular formats of the… Well, actually, they don’t know the format of what… Originally it was the «Yet Another Markup Language», later it became «YAML Ain’t Markup Language»: Originally YAML was said to mean Yet Another Markup Language,[12] referencing its purpose as a markup languagewith the yet another construct, but it was then… Read More: What is: YAML – its overview, basic data types, YAML… »

Loading

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