The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Create List of Lists Grid With Empty Values

TODO: Pull subtitle into page object

WARNING: Need to test this, it might be making copies of the same array which would be bad. Or, at least unexpected.

These work for creating lists of lists in a grid that you can access:

code_start_default_section code_end_default_section

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Create List of Lists Grid With Empty Values

-- p

WARNING: Need to test this, it might be making copies of the same
array which would be bad. Or, at least unexpected.

-- p

These work for creating lists of lists in a grid that you can access:

-- code/
-- python

grid = []

grid_size = 4

for i in range(0, grid_size):
	grid.append([None] * grid_size)

print(grid)

-- /code

-- p

-- hr

-- code/
-- python

grid = []

grid_size = 4

for i in range(0, grid_size):
	grid.append([{"key": "value"}] * grid_size)

print(grid)

-- /code

-- code/
-- txt

[
    [{'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}], 
    [{'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}], 
    [{'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}], 
    [{'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}, 
    {'key': 'value'}]
]

-- /code


-- categories
-- Miscellaneous

-- metadata
-- date: 2022-04-06 18:21:56
-- id: 27rx91bt
-- status: scratch
-- type: post
-- SCRUBBED_NEO: false
-- site: aws