send value to python code mfile

More
01 Apr 2011 11:10 #8371 by goaran
Hello,
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
#!/bin/sh
value=$1
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.275 seconds
Powered by Kunena Forum