# Threading

**URL:** https://discourse.paraview.org/t/threading/3647
**Category:** ParaView Support
**Tags:** python
**Created:** [February 24, 2020, 2:17pm UTC](https://discourse.paraview.org/t/threading/3647 "2020-02-24T14:17:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sohayb\_bahi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sohayb_bahi/32/2846_2.png) [@sohayb\_bahi](https://discourse.paraview.org/u/sohayb_bahi)
#### Post date: [February 24, 2020, 2:17pm UTC](https://discourse.paraview.org/t/threading/3647/1 "2020-02-24T14:17:45Z")

</div>

ParaView blocks when i launch a script that contains a thread inside python shell in ParaView.

Solutions??

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [February 24, 2020, 2:33pm UTC](https://discourse.paraview.org/t/threading/3647/2 "2020-02-24T14:33:08Z")

</div>

There is no specific support in ParaView for that use case, I’m afraid.

Out of curiosity, could you provide some code that shows what you are trying to do?

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [February 24, 2020, 3:37pm UTC](https://discourse.paraview.org/t/threading/3647/5 "2020-02-24T15:37:38Z")

</div>

you can put three backquotes before the first line of code and three others after the last line, so it will be formatted as code.  
example:

```  
# some code  
import os  
…  
```

will print

```auto
# some code
import os
...

```

---

<div class="post-metadata">

### Author: ![sohayb\_bahi](https://discourse.paraview.org/user_avatar/discourse.paraview.org/sohayb_bahi/32/2846_2.png) [@sohayb\_bahi](https://discourse.paraview.org/u/sohayb_bahi)
#### Post date: [February 25, 2020, 11:04pm UTC](https://discourse.paraview.org/t/threading/3647/6 "2020-02-25T23:04:03Z")

</div>

I found the solution. It was just a standard output (the print() function ) that was giving me a problem.  
@cory.quammen
