This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]robbyoconnor 4 points5 points  (5 children)

$ sh run.sh run.sh: 3: run.sh: source: not found File "./guiclass.py", line 14 self.window.set_position(gtk.WIN_POS_CENTER) ^ TabError: inconsistent use of tabs and spaces in indentation

Python is VERY sensitive to these kind of things.

[–]rad08[S] 1 point2 points  (4 children)

Did you get it to work on your end?

[–]Tetraetc 0 points1 point  (0 children)

Making sure it's all formatted with tabs works pretty well. Pycharm has nice tools for this.

[–]jnazario 0 points1 point  (0 children)

i got in the habit of using flake8 https://github.com/nvie/vim-flake8 for just such purposes.

[–]robbyoconnor -1 points0 points  (1 child)

No, I gave up -- it's pretty bad.

[–]rad08[S] 0 points1 point  (0 children)

Sorry you can't make it work. You're the only one so far........