# How can we aceess the MEL functions in python

**URL:** https://forum.highend3d.com/t/how-can-we-aceess-the-mel-functions-in-python/48725
**Category:** Maya
**Tags:** python
**Created:** [October 31, 2009, 10:20am UTC](https://forum.highend3d.com/t/how-can-we-aceess-the-mel-functions-in-python/48725 "2009-10-31T10:20:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sravan-kumar--2](https://forum.highend3d.com/user_avatar/forum.highend3d.com/sravan-kumar--2/32/145_2.png) [@sravan-kumar--2](https://forum.highend3d.com/u/sravan-kumar--2)
#### Post date: [October 31, 2009, 10:20am UTC](https://forum.highend3d.com/t/how-can-we-aceess-the-mel-functions-in-python/48725/1 "2009-10-31T10:20:09Z")

</div>

Im trying to use the Mel's vector functions(such as unit,mag,cross,..).how can i import them to python?

please help me.  
thanQ.

---

<div class="post-metadata">

### Author: ![thnkr](https://forum.highend3d.com/user_avatar/forum.highend3d.com/thnkr/32/115_2.png) [@thnkr](https://forum.highend3d.com/u/thnkr)
#### Post date: [October 31, 2009, 5:25pm UTC](https://forum.highend3d.com/t/how-can-we-aceess-the-mel-functions-in-python/48725/2 "2009-10-31T17:25:36Z")

</div>

don't use MEL, use the API. You have the vector stuff there.

---

<div class="post-metadata">

### Author: ![sravan-kumar--2](https://forum.highend3d.com/user_avatar/forum.highend3d.com/sravan-kumar--2/32/145_2.png) [@sravan-kumar--2](https://forum.highend3d.com/u/sravan-kumar--2)
#### Post date: [November 2, 2009, 2:13am UTC](https://forum.highend3d.com/t/how-can-we-aceess-the-mel-functions-in-python/48725/3 "2009-11-02T02:13:02Z")

</div>

thanQ,  
I wil check it.
