The first thing that comes to mind for me is:
verts = [None]*1000
But do you really need to preinitialize it?
More Related Contents:
- I have a list of file names and I need to be able to count how many of the same file gets repeated for each file name [closed]
- How are array types (lists and tuples) and for loops related in Python? [closed]
- What are the advantages of NumPy over regular Python lists?
- How is Python’s List Implemented?
- Python List vs. Array – when to use?
- How to read a text file into a list or an array with Python
- Flatten list of lists [duplicate]
- Can I create a “view” on a Python list?
- Find nearest indices for one array against all values in another array – Python / NumPy
- Sort multidimensional array based on 2nd element of the subarray
- How to read an array of integers from single line of input in python3
- Implement list-like index access in Python
- List to array conversion to use ravel() function
- Numpy individual element access slower than for lists
- How to group elements in python by n elements [duplicate]
- How do I declare an array in Python?
- Identify duplicate values in a list in Python
- How to access a column in a list of lists in python
- How to sort multidimensional array by column?
- Python list([]) and []
- Python recursive function to display all subsets of given set
- Python: Elegant and efficient ways to mask a list
- Unexpected Behavior of Extend with a list in Python [duplicate]
- Optimal method to find the max of sublist items within list
- Dump a list in a pickle file and retrieve it back later [closed]
- How can I tell if a python variable is a string or a list?
- How to test if every item in a list of type ‘int’?
- Concatenate elements of a tuple in a list in python [duplicate]
- How to find the max number(s) in a list with tied numbers
- get the i-th slice of the k-th dimension in a numpy array