Jul
6 |
awarded | Student | |
Jul
6 |
asked | Can we use time difference as the condition to classify control and experimental group | |
Jun
21 |
asked | Trying to understand pygame.key.get_pressed() | |
Jun
19 |
comment |
Child class's attribute did not override which was defined in parent class Because I had no idea how to write a logical code (awkward smile)! |
|
Jun
19 |
comment |
Child class's attribute did not override which was defined in parent class I'm sure this is a great answer but it's above my level at the moment. Thanks for all the technical details that give me pointer to what I should learn/read next to improve my Python skill. |
|
Jun
18 |
revised |
Child class's attribute did not override which was defined in parent class added 1 character in body |
|
Jun
18 |
comment |
Child class's attribute did not override which was defined in parent class Very observant you are! I made a mistake and have now rectified the size of teacher.png in the OP.
|
|
Jun
18 |
revised |
Child class's attribute did not override which was defined in parent class deleted 1 character in body |
|
Jun
18 |
accepted | Child class's attribute did not override which was defined in parent class | |
Jun
18 |
comment |
Child class's attribute did not override which was defined in parent class Thanks, Christian. That means it would be more Pythonic if I don't have any code in the constructor of the Person class, just like this def __init__: pass then simply have the pygame.image.load and pygame.transform.scale in each of the Teacher and Doctor ?
|
|
Jun
18 |
asked | Child class's attribute did not override which was defined in parent class | |
Jun
16 |
accepted | Dark mode in Notepad++ doesn't work with user defined language | |
Jun
16 |
comment |
Dark mode in Notepad++ doesn't work with user defined language Amazing. I simply don't know how you could figure these out!!! |
|
Jun
14 |
revised |
Dark mode in Notepad++ doesn't work with user defined language deleted 79 characters in body |
|
Jun
14 |
comment |
Dark mode in Notepad++ doesn't work with user defined language Mine is also a .txt file as shown in the edited screenshot. Thanks for checking though.
|
|
Jun
14 |
revised |
Dark mode in Notepad++ doesn't work with user defined language added 26 characters in body |
|
Jun
14 |
comment |
Dark mode in Notepad++ doesn't work with user defined language What a gentleman! Thanks for all your help. |
|
Jun
14 |
revised |
Dark mode in Notepad++ doesn't work with user defined language added 76 characters in body |
|
Jun
14 |
comment |
Dark mode in Notepad++ doesn't work with user defined language Hi Jack, I did select Transparent for both (shown in the edited screenshot but still encountered the problem of colouring numbers. So weird
|
|
Jun
14 |
revised |
Dark mode in Notepad++ doesn't work with user defined language deleted 1 character in body |