This article demonstrates more advanced features of Python classes and their customisation. Specifically, how enum objects are created, class to strings, and computed attribute. Class string values A string is typically an informal representation of the object. However, it’s just a nicely in human-readable form. Python provides 2 common methods, i.e. str() and repr(). We can...
Advanced Python: classes String and computed attribute
Understand iOS development in 2 minutes
A short video of Petamind that demonstrates a whole iOS development process.
Install XcodeCreate a projectCreate GUIAdd codeTest iOS appRelease to App Store
iOS quick recap
Subscribe Petamind on YouTube now!
Advanced python: comprehension
In this article, we’ll learn about a Python language construct known as comprehensions for creating a new sequence based on existing one but its syntax is more human-readable than lambda functions. These can be applied to lists, sets, and dictionaries. REVIEW Lambda and map Lambda is an anonymous function (function without name). Let have a quick look at the following example for...
Advanced python: collections
In part 2, we introduced advanced python knowledge with built-in functions and other useful tools for sequence iteration, data transformation. Advanced python part 3 will continue with collections to manipulate our data. Named tuple Suppose we want to define a data structure to represent a geometric point on a typical x and y-axis. We could easily do this by defining a regular...
Understand android development in 2 minutes
10 easy steps from download development tool to release useful apps to Google Play.
Install Android StudioCreate a projectCreate GUIAdd codeTest Android appRelease to Play Store
Subscribe Petamind on YouTube now!
