This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript">window.languagePluginUrl = 'https://pyodide-cdn2.iodide.io/v0.15.0/full/';</script> | |
| <script src="https://pyodide-cdn2.iodide.io/v0.15.0/full/pyodide.js"></script> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <!-- | |
| This piece of code uses jquery-resizable (https://github.com/RickStrahl/jquery-resizable) by Rick Strahl (https://github.com/RickStrahl). | |
| I also used information from https://www.bootply.com/BZQYq01ABC. | |
| --> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def my_class_decorator(cls): | |
| class NewClass(cls): | |
| def my_method(self, *args, **kwargs): | |
| print("I am the extended my_method.") | |
| super(NewClass, self).my_method(*args, **kwargs) | |
| print("I am the extended my_method, again.") | |
| return NewClass | |
| @my_class_decorator | |
| class MyClass: |