# Can export csv automatically?

**URL:** <https://community.shotgridsoftware.com/t/can-export-csv-automatically/13152>\
**Category:** Flow Production Tracking\
**Created:** [August 5, 2021, 8:17pm UTC](https://community.shotgridsoftware.com/t/can-export-csv-automatically/13152 "2021-08-05T20:17:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ggi-soft](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@ggi-soft](https://community.shotgridsoftware.com/u/ggi-soft)\
**Post date:** [August 5, 2021, 8:17pm UTC](https://community.shotgridsoftware.com/t/can-export-csv-automatically/13152/1 "2021-08-05T20:17:37Z")

</div>

Hi.  
I am not very good at English, so I apologize in advance.

Is there a way to export csv automatically?  
Export the daily time log,  
I want to post to a spreadsheet.

Thanks.

---

<div class="post-metadata">

**Author:** ![kim](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kim](https://community.shotgridsoftware.com/u/kim)\
**Post date:** [September 2, 2021, 4:28am UTC](https://community.shotgridsoftware.com/t/can-export-csv-automatically/13152/2 "2021-09-02T04:28:19Z")

</div>

I expect you’d need to write a python script and use the python API to find the data you want, then format that data and have the python script write the CSV. I don’t know of anything in the browser directly that would help with any automatic exports.

---

<div class="post-metadata">

**Author:** ![mmoshev](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/mmoshev/32/476_2.png) [@mmoshev](https://community.shotgridsoftware.com/u/mmoshev)\
**Post date:** [September 2, 2021, 7:46am UTC](https://community.shotgridsoftware.com/t/can-export-csv-automatically/13152/3 "2021-09-02T07:46:50Z")

</div>

I just posted some example code these days of gathering the time log. The csv writing will remain as exercise.

> [@How could I check no upload timelog person?(Is it possible to check didn't update person in Shotgrid)?](https://community.shotgridsoftware.com/t/how-could-i-check-no-upload-timelog-person-is-it-possible-to-check-didnt-update-person-in-shotgrid/13341/7):
>
> Sure, here it is def get\_timelog\_last\_day(sg): return sg.find( "TimeLog", [["created\_at", "in\_last", 1, "DAY"]], ["created\_at", "description", "duration", "project", "entity", "entity.Task.entity", "user", "user.HumanUser.login"] ) def get\_active\_users(sg): return sg.find( "HumanUser", [["sg\_status\_list", "is", "act"], ["departm…

---

<div class="post-metadata">

**Author:** ![ggi-soft](https://avatars.discourse-cdn.com/v4/letter/g/bcef8e/32.png) [@ggi-soft](https://community.shotgridsoftware.com/u/ggi-soft)\
**Post date:** [September 10, 2021, 4:44am UTC](https://community.shotgridsoftware.com/t/can-export-csv-automatically/13152/4 "2021-09-10T04:44:08Z")

</div>

Thanks!  
I’ll give it a try.
