What’s the difference on docstrings with triple SINGLE quotes and triple DOUBLE quotes?

No. They are the same. The only difference is that the first one can contain a sequence of three unescaped double quotes, while the second can contain a sequence of three unescaped single quotes. (In other words, because the delimiters are different, there is a slight difference in what characters you can use inside them.) … Read more

Slate vs Swagger – Which is better and which have more options? [closed]

Swagger and Slate serve two different purposes. Swagger is an attempt at a standardized way of describing a RESTful API (similar, for example, to ApiBlueprint) Swagger is a JSON based API definition format, which allows for the description of REST APIs. ~ API Design Tooling From Swagger Slate, on the other hand is a pretty … Read more

download windows API reference (MSDN) for offline use [closed]

Just the Win32 API, but it’s a thing of beauty: https://sourceforge.net/projects/win32-help-chm/files/ Edit: Dead link replaced with alternate download. Although it is now 17 years old, the Win32.hlp file from Microsoft is still a useful reference for those, like me, still programming using the “flat” Windows API. It still covers 99% of what I need and … Read more

Are docstrings for internal functions (python) necessary? [closed]

Lo, I quote from PEP 8, the wise words of which should be considered law. Upon this very topic, PEP 8 saith: Write docstrings for all public modules, functions, classes, and methods. Docstrings are not necessary for non-public methods, but you should have a comment that describes what the method does. This comment should appear … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)