Python Forum
[Python Learning]Verifying user name / password in website with simple python code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Python Learning]Verifying user name / password in website with simple python code
#2
I definitely have feedback, but I'm not sure the right way to go about it... at this point, here's what I recommend:
  • Write tests. Try to break your code. I can see at least one bug.
  • Add comments to your code explaining what you think it's doing (e.g. the .title() calls).
  • If you can cleanup the duplicated lines, that would be ideal as well.

Hint: At least four lines can be removed without changing the behavior of your code.
Reply


Messages In This Thread
RE: [Python Learning]Verifying user name / password in website with simple python code - by micseydel - Apr-23-2020, 10:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Learning Python, advice on current project Yahweh132 0 1,947 Feb-23-2022, 06:07 AM
Last Post: Yahweh132
  Simple Recursive-Descent Parser - Python 3.7 WannaBePythonDev 4 3,311 Sep-13-2021, 05:29 PM
Last Post: WannaBePythonDev
  Simple password generator using a module I made myself Fr4nkl1n_1k3h 3 2,638 Aug-07-2020, 01:06 PM
Last Post: Fr4nkl1n_1k3h
  First time python user - Calculator code review Steamy 1 2,433 Jul-22-2020, 05:59 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020