Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete elements from list / range

del listxy[fromValue:toValue]

oder

x_y_range[:] = [value for value in x_y_range if (value < - (Parameters.sens_radius + Parameters.outer_radius)) or (value > Parameters.sens_radius + Parameters.outer_radius)]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #delete #elements #list #range
ADD COMMENT
Topic
Name
4+5 =