Python tutorials

Custom Python Lists: Inheriting From list vs UserList

At some point in your Python coding adventure, you may need to create custom list-like classes with modified behavior, new functionalities, or both. To do this in Python, you can inherit from an abstract base class, subclass the built-in list class directly, or inherit from UserList, which lives in the collections module. In this tutorial, you’ll learn how to: Create custom list-like classes by inheriting from the built-in list class Build custom list-like classes by subclassing UserList from the collections […]

Read more

Accessing Indonesian Tidal Data using Python

Link to Google Colab IPython Notebook (viewer privilege): https://colab.research.google.com/drive/1xFLteWYLFG3AgVX8_maCAyUxyzsAAysM?usp=sharing I have just learned today that the Indonesian “Badan Informasi Geospasial” (BIG; Geospatial Information Bureau) website has been overhauled (thanks, Jokowi). Interactivity-wise,    

Read more
1 88 89 90 91 92 185