# About code of python

**URL:** <https://ask.igwn.org/t/about-code-of-python/1054>\
**Category:** Data Analysis\
**Created:** [May 30, 2024, 5:59am UTC](https://ask.igwn.org/t/about-code-of-python/1054 "2024-05-30T05:59:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khyati](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@khyati](https://ask.igwn.org/u/khyati)\
**Post date:** [May 30, 2024, 5:59am UTC](https://ask.igwn.org/t/about-code-of-python/1054/1 "2024-05-30T05:59:09Z")

</div>

why o2, o3 not running in the below code:  
from gwosc.datasets import run\_segment  
print(run\_segment(‘O1’))

---

<div class="post-metadata">

**Author:** ![martinberoiz](https://yyz1.discourse-cdn.com/flex031/user_avatar/ask.igwn.org/martinberoiz/32/11_2.png) [@martinberoiz](https://ask.igwn.org/u/martinberoiz)\
**Post date:** [May 30, 2024, 3:56pm UTC](https://ask.igwn.org/t/about-code-of-python/1054/2 "2024-05-30T15:56:50Z")

</div>

Hi Khyati,

It works for me:

```python
>>> from gwosc.datasets import run_segment
>>> print(run_segment("O1"))
(1126051217, 1137254417)

```

What gwosc client version are you using? What’s the error you see? It could be that it the server was temporarily down. Can you try again?
