Python Forum
Python rule about the space character surrounding the equal sign
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python rule about the space character surrounding the equal sign
#7
You could also reformat the code automatically with Black for example. Then you wouldn't worry again about the correct spacing between operators. You still need to read PEP8's advice on the good naming conventions for class, variables and functions.
Larz60+ likes this post
Reply


Messages In This Thread
RE: Python rule about the space character surrounding the equal sign - by Gribouillis - Jul-12-2023, 07:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python escaping character atom509 1 212 May-29-2024, 08:57 PM
Last Post: DeaD_EyE
  Does @ at sign used for tother than decorators? ggpython000 1 653 Oct-12-2023, 09:08 AM
Last Post: buran
  How do I handle escape character in parameter arguments in Python? JKR 6 1,619 Sep-12-2023, 03:00 AM
Last Post: Apoed2023
  Removing Space between variable and string in Python coder_sw99 6 6,646 Aug-23-2022, 01:15 PM
Last Post: louries
  is there equal syntax to "dir /s /b" kucingkembar 2 1,129 Aug-16-2022, 08:26 AM
Last Post: kucingkembar
  Need to sign JWT token with JWK key stucoder 1 1,871 Feb-21-2022, 09:04 AM
Last Post: stucoder
  Can a variable equal 2 things? Extra 4 1,663 Jan-18-2022, 09:21 PM
Last Post: Extra
  i making a terminal sign up website thing Kenrichppython 1 1,816 Nov-04-2021, 03:57 AM
Last Post: bowlofred
  enter string into list according to a known rule korenron 10 3,661 Aug-12-2021, 02:19 PM
Last Post: korenron
  [solved] unexpected character after line continuation character paul18fr 4 3,762 Jun-22-2021, 03:22 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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