Spaces:
Runtime error
Runtime error
Download test.py from HemanthSai7/StudybotAPI: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/HemanthSai7/StudybotAPI/resolve/cdca97062ed8330109cfba7bb7a9b61e95a75419/test.py
- Command line
-
hf download hf://spaces/HemanthSai7/StudybotAPI@cdca97062ed8330109cfba7bb7a9b61e95a75419/test.py
-
curl -L -o test.py https://huggingface.co/spaces/HemanthSai7/StudybotAPI/resolve/cdca97062ed8330109cfba7bb7a9b61e95a75419/test.py
429 Bytes
| # class A: | |
| # def __init__(self): | |
| # self._bill = 1 | |
| # @property | |
| # def bill(self): | |
| # return self._bill | |
| # @bill.setter | |
| # def bill(self,value): | |
| # self._bill = value | |
| # # raise PermissionError("You can't change the bill") | |
| # class B(A): | |
| # def __init__(self): | |
| # super().__init__() | |
| # self._bill = 2 | |
| # # b = B() | |
| # # print(b.bill) | |
| # a=A() | |
| # a.bill=3 | |
| # print(a.bill) |