Questions tagged [wing-ide]

Wing IDE is an integrated development environment for Python, made by Wingware and available both in free and paid editions.

When asking questions it helps to mention which edition (Pro, Personal, or 101), which Wing version, and which OS type/version you are using.

108 questions
1
vote
0 answers

Python interpreter crash from within WingIDE

When I am trying to run my python test from within WingIDE setup, its always crashing with the following message Fatal Python error: GC object already tracked This application has requested the Runtime to terminate it in an unusual way. Please…
Manmohan Singh
  • 439
  • 1
  • 3
  • 15
1
vote
1 answer

Hello, can you tell me how to install PyQt4 into WingiDE

everyone: Can you tell me how to using WingIDE to program pyqt4 programs. I don't want to use Eclipse and Eric, because WingIDE is the most familiar IDE I can handle. If there is a solution about this? If you have any, please let me know,…
uniqueliu
  • 79
  • 2
  • 9
1
vote
3 answers

IndexError string index out of range

s="(8+(2+4))" def checker(n): if len(n) == 0: return True if n[0].isdigit==True: if n[1].isdigit==True: return False else: checker(n[1:]) else: checker(n[1:]) This is what I have so far. Simple code, trying to see if…
1
vote
2 answers

Python FightSequence

I'm trying to build a simple Fight Sequence, where a user pick's their "Class" (Warrior, Archer, Mage), as well as the monster they want to fight (Goblin, Troll, Orc). The code I have so far is: import random def choosePlayerClass(): class…
Keyfer Mathewson
  • 1,035
  • 2
  • 16
  • 27
1
vote
1 answer

Python: Import Module with Wing IDE

I am new to Python and I have trouble to import modules with Wing IDE/Python 2.7/Mac OS I have read: Import module from other directory in Wing Ide and: http://docs.python.org/2/tutorial/modules.html but still I don't get it. If, as presented in…
VincentH
  • 1,009
  • 4
  • 13
  • 24
0
votes
1 answer

Is there a way to install pytest on wingide?

I know this might seem like a dumb question but is there a way to install pytest on wingide as I am in need. I have tried looking for tutorials and getting help but I can't seem to figure out.
0
votes
1 answer

Tkinter window showing up too early

I'm trying to build a binary lamp in Python using Tkinter. The steps are as follows: 1. Prompt user for input, using the console/shell. 2. Draw the lamp 3. Use mainloop to show the image However, this doesn't always work as I expect it…
0
votes
1 answer

Is there a way to view data frames nice in Wing Personal 7.0?

I want to view my data frames in a nice/pretty way like in Jupyter. I updated from Wing IDE 101 6.0 to Wing Personal 7.0, but did not see a difference in how my data frames are displayed. Also, I pip installed IPython and used the display function,…
Desi Pilla
  • 544
  • 6
  • 20
0
votes
1 answer

Trying to pull a twitter handle from a text file

I am trying to extract a set of alpha numeric characters from a text file. below would be some lines in the file. I want to extract the '@' as well as anything that follows. im trying to pull @bob from a file. this is a @line in the @file @bob is a…
0
votes
1 answer

Setting up WingIDE to debug Flask project

Setting up Flask project in WingIDE: from flask import Flask app = Flask(__name__) if __name__ == "__main__": import os if 'WINGDB_ACTIVE' in os.environ: app.debug = False app.run() returns this error: File…
Rec
  • 53
  • 6
0
votes
1 answer

Import module from other directory in Wing Ide

In module MainClass.py which is in c:\MyProject\ModelClasses I'm trying import module MainHelper.py from c:\MyProject\Helpers from Helpers.MainHelper import MainHelper x=MainHelper() and I get error ImportError: No module named…
user278618
  • 19,306
  • 42
  • 126
  • 196
0
votes
1 answer

Why is virtualenvwrapper not working inside wing ide pro terminal?

Why is virtualenvwrapper commands like workon not working inside wing ide pro terminal? bash: workon: command not found Any other bash terminal outside wing ide pro is working.
OneLearner
  • 63
  • 5
0
votes
1 answer

Wing IDE Personal Edition Multilanguage Support

When I open a file which has multilanguage character contents arabic contents are not rendering correctly, I setup encoding to utf-8 but did not help. How do you solve this?
weather api
  • 738
  • 2
  • 8
  • 17
0
votes
1 answer

Print statement inside method

So I am trying to write make a function that will initialize two points and output previously made methods. Partial code below: class Point(Geometry): next_id = 0 def __init__(self,x,y,): self.x = x self.y = y self.id =…
A_Worthy
  • 65
  • 1
  • 2
  • 12
0
votes
3 answers

Distance between two points using the distance formula

So I need to calculate the distance between a current point and another point specified in the parameter & Return the distance calculated My print statement needs to look something like this: > print p1.distance(p2) 5.0 My current code: import…
A_Worthy
  • 65
  • 1
  • 2
  • 12