Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Python Command - Import created module: expected an indent block

$
0
0

@Colby_Evans wrote:

I’m having an issue with creating a command; once I import a module that I have worked on, it throws an expected indent block message; while not having the import, lets the command work without any issue.

import rhinoscriptsyntax as rs

def RunCommand( is_interactive ):
    print "test"

RunCommand(True)

import rhinoscriptsyntax as rs
import AcmNumber


def RunCommand( is_interactive ):
    print "test"



RunCommand(True)

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles