# Python : consolidate 0

**URL:** <https://forum.logik.tv/t/python-consolidate-0/9601>\
**Category:** Python\
**Tags:** timeline, consolidate\
**Created:** [December 4, 2023, 10:38pm UTC](https://forum.logik.tv/t/python-consolidate-0/9601 "2023-12-04T22:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lambertz](https://avatars.discourse-cdn.com/v4/letter/l/9dc877/32.png) [@lambertz](https://forum.logik.tv/u/lambertz)\
**Post date:** [December 4, 2023, 10:38pm UTC](https://forum.logik.tv/t/python-consolidate-0/9601/1 "2023-12-04T22:38:31Z")

</div>

Hi,  
I am using Python to cut my offline and set the shot name from a CSV  
I would like to assign as well my frame number to 1011 for the first frame of my new cut segment.  
I can’t use segment.change\_start\_frame(1011) if the head is more than 1011 (flame refuse the possibility to have negative number).  
I need to consolidate my segment but I can’t figure out how to do it in python

Any Clue ?

Thx

F
