Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix debugging RunPython docs #538

Closed
fzumstein opened this issue Aug 5, 2016 · 0 comments
Closed

Fix debugging RunPython docs #538

fzumstein opened this issue Aug 5, 2016 · 0 comments
Milestone

Comments

@fzumstein
Copy link
Member

fzumstein commented Aug 5, 2016

if __name__ == '__main__':
    # Expects the Excel file next to this source file, adjust accordingly.
    path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'myfile.xlsm'))
    xw.Book(path).set_mock_caller()
    my_macro()
@fzumstein fzumstein added the bug label Aug 5, 2016
@fzumstein fzumstein added this to the v0.9.1 milestone Aug 5, 2016
@fzumstein fzumstein added the docs label Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant