Python Forum
OOP hellp (simple class person)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OOP hellp (simple class person)
#3
I recommend that you check into python3's f-string.
That would turn this print("hello" + " " + self.name) into this print(f"hello {self.name}")
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply


Messages In This Thread
OOP hellp (simple class person) - by onit - Jul-14-2020, 02:23 PM
RE: OOP hellp (simple class person) - by stullis - Jul-14-2020, 03:28 PM
RE: OOP hellp (simple class person) - by onit - Jul-14-2020, 06:54 PM
RE: OOP hellp (simple class person) - by menator01 - Jul-14-2020, 03:41 PM
RE: OOP hellp (simple class person) - by Yoriz - Jul-14-2020, 03:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  A file for every person of a list Emmanouil 3 2,431 Aug-29-2019, 07:19 AM
Last Post: perfringo
  Discord Bot - If Person Mentions Role badmuchachob 0 2,295 Jan-30-2019, 06:39 PM
Last Post: badmuchachob
  Class Object hellp Dneal620 1 2,142 Dec-18-2018, 12:19 AM
Last Post: micseydel
  Installing Homebrew on my mac; non computer-savvy person duongtn34 1 1,953 Oct-23-2018, 09:11 AM
Last Post: Larz60+
  Why Person() takes no arguments dianefly 3 31,165 Oct-22-2018, 04:15 PM
Last Post: dianefly
  Installing Homebrew on my mac; non computer-savvy person hohen036 3 3,926 Oct-12-2018, 11:02 PM
Last Post: Larz60+
  Can you tell me where this person got the version of Python that he's using? nelsonkane 8 5,326 Mar-11-2018, 11:10 AM
Last Post: gptura
  problem with simple class code diegoraffo 5 3,835 Jan-27-2018, 02:31 AM
Last Post: ka06059
  Troubleshooting simple script and printing class objects Drone4four 11 8,518 Dec-16-2017, 05:12 AM
Last Post: Drone4four

Forum Jump:

User Panel Messages

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