Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add new paint method ?
#11
Everything is beyond the Browse... button in the script-fu console. But what I meant is that most of the code above is part of plain Python. In Python all objects have a __str__ method that returns the string representation, and a __repr__ one that returns an unambiguous string representation (so number 123 is 123 while string 123 is '123'). And format strings have %s and %r to choose between the two...
Reply


Messages In This Thread
Add new paint method ? - by Jack Parker - 02-03-2019, 10:48 PM
RE: Add new paint method ? - by Ofnuts - 02-04-2019, 05:50 AM
RE: Add new paint method ? - by Jack Parker - 02-05-2019, 06:59 AM
RE: Add new paint method ? - by Ofnuts - 02-05-2019, 07:32 AM
RE: Add new paint method ? - by Jack Parker - 02-05-2019, 07:04 PM
RE: Add new paint method ? - by Ofnuts - 02-05-2019, 08:27 PM
RE: Add new paint method ? - by Jack Parker - 02-05-2019, 10:56 PM
RE: Add new paint method ? - by Jack Parker - 02-06-2019, 03:45 AM
RE: Add new paint method ? - by Ofnuts - 02-06-2019, 05:30 AM
RE: Add new paint method ? - by Jack Parker - 02-06-2019, 11:28 PM
RE: Add new paint method ? - by Ofnuts - 02-07-2019, 06:57 AM
RE: Add new paint method ? - by Jack Parker - 02-16-2019, 08:03 PM
RE: Add new paint method ? - by Ofnuts - 02-16-2019, 09:12 PM
RE: Add new paint method ? - by Jack Parker - 02-20-2019, 12:29 AM
RE: Add new paint method ? - by Ofnuts - 02-20-2019, 08:38 AM

Forum Jump: