All Questions
Tagged with polymorphism python
7 questions
1
vote
0
answers
95
views
Runtime function overloading / dynamic dispatch for Python (2nd revision)
Second revision of the original post: Function overloading / dynamic dispatch for Python
TL;DR:
Improved version of this library[^1] based on previous reviews and criticism. It provides runtime ...
5
votes
2
answers
1k
views
Function overloading / dynamic dispatch for Python
UPDATE: Second revision on separate post. Runtime function overloading / dynamic dispatch for Python (2nd revision)
When I first started using Python I had a rough time dealing with some of it's ...
2
votes
1
answer
283
views
Parametric visibility and order of tkinter labels
I'm writing software which allows a user to view data in a number of different formats, and they can switch between formats at any time. I'm wondering if there's a better way to do this than switching ...
4
votes
1
answer
93
views
Logistics project that implements several shipping APIs
I have a Python logistic project that implements several shipping APIs using class inheritance. Each of those classes must do three things:
Fire requests to each endpoint with the proper parameters
...
3
votes
1
answer
677
views
Function overloading in Python
Motivation
As an exercise, I wanted to try implementing function overloading in Python 3, i.e. to implement a way of defining multiple functions with the same name and then calling the appropriate ...
6
votes
1
answer
7k
views
Python solution to Mars Rover
I'm still quite new to Python, but am loving the language (I come from a more strongly-typed language background..).
A month or so ago I found the Mars Rover Challenge and attempted to solve it.
I ...
1
vote
1
answer
2k
views
Understanding polymorphism in Python
I feel like I don't understand how polymorphism works in Python. Here is something I put together.
...