Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 What is the correct syntax for list items that need to contain a quotation mark, etc?
A script I have has this line:

items = ['1/16"', '1/8"','1/4"','3/8"','1/2"','3/4"','1-1/2"','1/6"','1:1']

This displays as 1/16", 1/8", etc.

I'd like it to display as architectural scales 1/16"=1'-0", 1/8"=1'-0" etc.

What is the correct syntax for that? Nothing I've tried so far works.

Top Page

Messages In This Thread
What is the correct syntax for list items that need to contain a quotation mark, etc? - by KaisoArt - Sep-13-2019, 06:42 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Add items from one list to list of lists PUP280 2 294 Mar-28-2020, 08:34 AM
Last Post: PUP280
  Can't seem to figure out how to put all of the lists items from a loop into 1 list Cosmosso 4 354 Feb-21-2020, 02:40 PM
Last Post: Cosmosso
  counting items in a list of number combinations Dixon 2 129 Feb-19-2020, 07:06 PM
Last Post: Dixon
  Correct syntax for a variable inside a quotes: MP4Box command JonnyDriller 2 247 Feb-02-2020, 01:22 AM
Last Post: JonnyDriller
  List items verification for Integer type vintysaw 4 214 Jan-17-2020, 01:56 PM
Last Post: perfringo
  Access list items in Python kamaleon 2 279 Dec-31-2019, 11:10 AM
Last Post: kamaleon
  Remove all \n from end of list items JackMack118 4 7,705 Dec-27-2019, 08:34 AM
Last Post: perfringo
  Removing duplicate list items eglaud 4 236 Nov-22-2019, 08:07 PM
Last Post: ichabod801
  Adding items in a list (using loops?) Seneca260 6 353 Nov-22-2019, 11:34 AM
Last Post: Seneca260
  removing items from a list or group within a for loop. allusernametaken 9 440 Nov-13-2019, 01:58 AM
Last Post: allusernametaken

Forum Jump:

Users browsing this thread: 1 Guest(s)