send value to python code mfile

01 Apr 2011 11:10 #8371 by goaran
i need to gat a value to a python code in a custom m file.

for a normal bash it is done like this:

M100 P10
exit 0

but i need to get it inside a python script:
#!/usr/bin/env python
# encoding: utf-8
vaulue = ?????

how can i do this?

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum