# Calling julia functions from python

**URL:** <https://discourse.julialang.org/t/calling-julia-functions-from-python/6885>\
**Category:** General Usage\
**Tags:** python, pyjulia\
**Created:** [November 4, 2017, 8:10pm UTC](https://discourse.julialang.org/t/calling-julia-functions-from-python/6885 "2017-11-04T20:10:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [October 10, 2019, 3:57am UTC](https://discourse.julialang.org/t/calling-julia-functions-from-python/6885/6 "2019-10-10T03:57:53Z")

</div>

> [@larrylan](#):
>
> How about there are multiple functions in the Julia file?

You can do something like

```python
from julia import Main
Main.include("script.jl")
Main.testFunc01(x, y)
Main.testFunc02(a, b, c)

```

> [@larrylan](#):
>
> Julia exception: MethodError: no method matching testFunc02(::Int64)

It looks like you are passing an unexpected argument to `testFunc02`. You’d need to provide an MWE to get more specific advice.

Also, please read [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757)

---

_[View the full topic](https://discourse.julialang.org/t/calling-julia-functions-from-python/6885)._
