# Importing from other files

**URL:** <https://in-thread.sonic-pi.net/t/importing-from-other-files/6784>\
**Category:** Support, Help & Resources\
**Created:** [May 15, 2022, 11:00pm UTC](https://in-thread.sonic-pi.net/t/importing-from-other-files/6784 "2022-05-15T23:00:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [May 16, 2022, 5:41am UTC](https://in-thread.sonic-pi.net/t/importing-from-other-files/6784/2 "2022-05-16T05:41:40Z")

</div>

Hi

> [@Sonic Pi Script Utilities](https://in-thread.sonic-pi.net/t/sonic-pi-script-utilities/5666):
>
> Hi there, while leaning sonic pi, I’ve realized you can import files through require. Meaning you can create functions which is huge to me. I stumbled upon this really cool live coding done in vim! [https://youtu.be/GPan4gRSwZs](https://youtu.be/GPan4gRSwZs) I was wondering if anyone knows what this live\_coding/utils.rb file is? And how that pattern thing works? Does anyone have any or know of any sonic pi script repos that are useful to play around with? Searching on the internet sends me in circles. Thanks

---

_[View the full topic](https://in-thread.sonic-pi.net/t/importing-from-other-files/6784)._
