# Python code to drip feed from one list to another

**URL:** <https://community.hubspot.com/t/python-code-to-drip-feed-from-one-list-to-another/66843>\
**Category:** APIs & Integrations\
**Tags:** python\
**Created:** [October 11, 2022, 8:36am UTC](https://community.hubspot.com/t/python-code-to-drip-feed-from-one-list-to-another/66843 "2022-10-11T08:36:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GKristjansson](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@GKristjansson](https://community.hubspot.com/u/GKristjansson)\
**Post date:** [October 11, 2022, 8:36am UTC](https://community.hubspot.com/t/python-code-to-drip-feed-from-one-list-to-another/66843/1 "2022-10-11T08:36:20Z")

</div>

I’m new to programming within HubSpot so I have a question. How would one move an X number of contacts from one list to another every 24 hours?  
I figured it’d be best to create a for loop and pop from one list X times and append to another but I can’t seem to get started with this.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 11, 2022, 4:26pm UTC](https://community.hubspot.com/t/python-code-to-drip-feed-from-one-list-to-another/66843/2 "2022-10-11T16:26:55Z")

</div>

Hi, @GKristjansson 👋 Thanks for reaching out! Let see if we can get the conversation going for you — hey @JBeatty @BJacobson @taran42, do you have any suggestions on how @might think about this challenge? I found this thread for a similar topic — [Uploading contacts and add/removing them to a list, Python, API](https://community.hubspot.com/t5/APIs-Integrations/Uploading-contacts-and-add-removing-them-to-a-list-Python-API/m-p/448170#M44337)

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![GKristjansson](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@GKristjansson](https://community.hubspot.com/u/GKristjansson)\
**Post date:** [October 19, 2022, 8:39am UTC](https://community.hubspot.com/t/python-code-to-drip-feed-from-one-list-to-another/66843/3 "2022-10-19T08:39:38Z")

</div>

That is a similar solution to mine but not quite the same. Any idea how this could be done?
