An instance is a specific realization of any object.
Questions tagged [instances]
516 questions
0
votes
1 answer
access DataFrame imported with FileChooser
I would import a csv file into python with FileChooser. Then when using rpy2, I can perform Statistical analyses with R I know much better compared to Python. Below is a piece of my code:
import pygtk
pygtk.require("2.0")
import gtk
from…

Gaston Cissé
- 25
- 1
- 7
0
votes
3 answers
GWT: Multiple Script Instances Communication
the problem is quite simple yet maybe not resolvable?
Atleast for me :/
Situation:
Let's say I have a dynamic Page System where the Server provides additional copies of self containing GWT Modules. Meaning a main GWT instance on the client side is…

user2648975
- 1
- 1
0
votes
1 answer
Django issue with adding instances to a class
The code below this compiles, but whenever I uncomment purchase_date, po_number, or confirmed it's giving me an error. I tried python manage.py syncdb after uncommenting those lines and it's stil giving me errors.
from django.db import…

Mdjon26
- 2,145
- 4
- 19
- 29
0
votes
2 answers
How to copy all python instances to a new class?
I would like to make a deep-copy all the instances of a class, but without copying the definitions and rules of given class.
The intended use is, given I have the class "OriginalClass", its instances are the variables I am storing. While the program…

I want badges
- 6,155
- 5
- 23
- 38
0
votes
1 answer
dynamically asigning instances in Python/PyQt4
Ok, this might be a duplicate, but as I couldn't really get anything out of (possibly) similar questions, here is mine: I'm working on a small PyQt4 program where I can enter the name of a song in a QLineEdit and then add a QLabel of it beneath it.…

Peter Goldsborough
- 1,366
- 16
- 20
0
votes
1 answer
Subversion Edge SVN two instance on CentOs
I have installed and configured Subversion Edge 3.3.2 (Linux 64-bit) on CentOs ( 64-bit ).
And its working good.
And I have two doubts
Can we create two instances of SVN on same server
I did started working on creating two instances on machine, and…

Rafee
- 3,975
- 8
- 58
- 88
0
votes
3 answers
Using classes and instances in Object oriented programming
Hi I am searching through the net and got stuck on a big question where I can't find the answer so I'm wondering if someone here can help me.
In object-oriented programming concepts class and instance. Instances are also called objects, and has…
user2425150
0
votes
1 answer
Why google shuts down my residents instance even the minimum idling instance set to 1
I've just started playing with GAE. Today I just noticed that GAE shuts down my residents instance even the minimum idling instance set to 1, which causes a cold-start for the next request.
So here is the settings:
1. one simple frontend app, no…

user2413662
- 1
- 1
0
votes
1 answer
AS3: Separate instances in an array?
I'm making a side scrolling game in as3, where the player spawns units which automatically walks towards the exit on the other side of the screen, but there are towers stopping them. I would like the towers to shoot separately, is there any…

user2036822
- 13
- 5
0
votes
1 answer
AS3 Flash- Adding multiple different movieclips to stage from one class
I've searched everywhere and can't find an answer to this question and I'll do my best to explain it.
I have 2 movieclips in my library, 'Bluknife' and 'cat' (It's an rpg game.). Both those movieclips are linked to as3 classes of the same names.
I…

Mark D
- 75
- 1
- 7
0
votes
2 answers
Reflection - How to set values for the POJO Class whose instance is created using reflection
i have created a instance for my pojo class like the following using reflection :
package com.hexgen.tools;
public class Foo {
public static void main(String[] args) {
Class c = null;
try {
c =…

Java Questions
- 7,813
- 41
- 118
- 176
0
votes
1 answer
How to programatically list the relationship between two instances in an ontology?
I have an ontology which i made up of relationship as follows
Company1
:hasSubsidary sub1
:hasDepartment Cars1
:hasSubdepartment Manufacturing
:isinBuilding area1
:hasUnit PrecisionMaching
:hasMachine LatheMachine1
I have an…
0
votes
1 answer
storing instances in variables in python
In my Pyqt4 program I want to change the shortcut for some buttons. As I have quite a lot I thought of accessing a button through user input. I copied the relevant code snippets.
self.btn3 = QtGui.QPushButton(self)
b, ok =…

Peter Goldsborough
- 1,366
- 16
- 20
0
votes
2 answers
Why does delete only work in main and not in a function that gets as an input the object or objects to be deleted?
I am trying to create two classes whose instances get created and deleted together. One class is a base for the other:
class Interface;
class MyClass
{
friend class Interface;
private:
MyClass() {}
public:
static MyClass *NewInstance();
…

Mo Sanei
- 445
- 6
- 22
0
votes
1 answer
Generated Flash instance not including all MovieClips
I have a flash based video player that playlists and some other features.
The thing is that when I compile the player, the instances to the updated features dose not get all the latest updates.
it look something like…

Jonas Lindahl
- 752
- 10
- 24