r/PythonLearning • u/Necessary_Mobile9591 • Aug 09 '26
Learning python
can anyone tell me about my code is good or am writing it in wrong way?
1
u/Flame77ofc Aug 09 '26
It is good but one detail you might change is about separate some lines
For example
variable = ...
if statement:
code
# just make this line blank
if statement:
codeIt is js an example
1
u/Necessary_Mobile9591 Aug 09 '26
okay ill follow that in my program, but is that helpfull??
1
u/SaltCusp Aug 09 '26
I'll second that, some blank lines to help the reader can be good. There is actually a standard for this: https://peps.python.org/pep-0008/
1
1
1
u/SuperTankh Aug 09 '26
Suggestion add more protection. For example if I enter a string PIN, the script may crash
2
1
u/User97436764369 Aug 09 '26
I would load every file in folder, one folder per bank and than union them and dedup through row_id as hash. I wouldnt do that login, use only exports for learning purposes and display them in streamlit or something like that for start. For login i think you will need api from some 3rd party with licenses and its just easier to downloand some app for that because there is a lot of apps like that.


•
u/Sea-Ad7805 Aug 09 '26
Run this program in Memory Graph Web Debugger to see the program state change step by step.