It works when you add `discard`:
    
    
    import nimpy
    
    let sys = pyImport("sys")
    discard sys.path.insert(0, ".")
    
    
    Run

The problem with the original code is that Nim does not allow return values to 
be implicitly discarded.

Reply via email to