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

Investigate problem with scoping in Python scripts running inside MantidPlot #1354

Closed
martyngigg opened this issue Mar 13, 2009 · 1 comment
Assignees
Milestone

Comments

@martyngigg
Copy link
Member

The following code runs perfectly fine in a stand-alone Python editor but it fails with a name error when run through MantidPlot

import re

def myfunc():
re.compile(‘regex’)
print ‘done’

myfunc()

@martyngigg martyngigg self-assigned this Jun 3, 2015
@martyngigg martyngigg added this to the Iteration 16 milestone Jun 3, 2015
@martyngigg
Copy link
Member Author

This issue was originally trac ticket 506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant