Skip to content

Starting Orange from pycharm #5267

Answered by ajdapretnar
leilyzafari asked this question in Q&A
Discussion options

You must be logged in to vote

Running the entire Orange in PyCharm works by setting the Run/Debug Configuration.
I call it main. The settings are:
Script path: /Users/user/orange/orange3/Orange/canvas/__main__.py
Parameters: --clear-widget-settings

For running an individual widget, use:

if __name__ == "__main__":
    data = Table("iris")
    WidgetPreview(OWDataTable).run(set_dataset=data)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by leilyzafari
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants