Questions tagged [imp]

Used for questions relating to the Electric Imp, a programmable Internet of Things eco-system.

The Imp, or Electric Imp is an eco-system of components that enable products to become part of the Internet of Things (IoT). It includes hardware that connects to the cloud via wifi and has a number of input and output pins to sense and control products. Programming is done via web browser on the cloud with two parts being programmed, the Imp hardware and the backend server.

Best to read the web page on the Electric Imp web site.

77 questions
48
votes
3 answers

What is a frozen Python module?

The Python help of the module imp is talking about a frozen module. What is it? http://docs.python.org/library/imp.html#imp.PY_FROZEN
Dave Halter
  • 15,556
  • 13
  • 76
  • 103
27
votes
4 answers

Linking error LNK2019 in MSVC, unresolved symbols with __imp__ prefix, but should be from static lib

I'm running into linking problems in MSVC for a project that I wrote for g++. Here's the problem: I build libssh as a static library as part of my application, adding the target in cmake with add_library(ssh_static STATIC $libssh_SRCS) Libssh is in…
dlonie
  • 575
  • 2
  • 7
  • 12
20
votes
2 answers

imp module is deprecated in favour of importlib

I'm using pandas in my code and in pandas they use the imp nodule. Now I get the following error/warnning C:\Users\refaelc\AppData\Local\Temp\collection_id-96deaf03-9b39-46c0-a843-63f6101481c1-5289121858290797008.csv Step07: Compare the downloaded…
NotSoShabby
  • 3,316
  • 9
  • 32
  • 56
17
votes
1 answer

eclipse error exporting plugin

I'm getting a strange error when trying to export an IMP plugin from eclipse. When using eclipse indigo I get: C:\Users\Shachar\workspace…
upsidedown
  • 211
  • 2
  • 7
11
votes
1 answer

__imp link errors using g++ running under mingw

I have a simple socket program that I'm trying to compile using g++ running in mingw (both the latest versions) on a Win8 system. I'm getting the common linker errors undefined reference to `__imp_socket' undefined reference to…
kenkahn
  • 111
  • 1
  • 1
  • 6
10
votes
7 answers

Make NSInvocation invoke a specific IMP

I'm looking for a way to make an NSInvocation invoke a specific IMP. By default, it invokes the "lowest" IMP it can find (ie, the most-recently-overridden version), but I'm looking for a way to make it invoke an IMP from higher up in the…
Dave DeLong
  • 242,470
  • 58
  • 448
  • 498
10
votes
1 answer

extract BNF grammar rules from yacc file

I have a yacc file describing a certain language for which i am developing an Editor using IMP (eclipse project).I am using LPG as a parser generator, so I needed to extract a BNF rules from my yacc file. the yacc file i received contains rules and…
lferasu
  • 185
  • 2
  • 10
6
votes
2 answers

Is it possible to do oracle import util as non-dba user?

When I try to import an oracle dump. Following the error displayed, Export file created by EXPORT:V10.02.01 via direct path IMP-00013: only a DBA can import a file exported by another DBA IMP-00000: Import terminated unsuccessfully I just wondering…
nayakam
  • 4,149
  • 7
  • 42
  • 62
6
votes
3 answers

Make python reload() function read from .py instead of .pyc

I have written a rather large module which is automatically compiled into a .pyc file when I import it. When I want to test features of the module in the interpreter, e.g., class methods, I use the reload() function from the imp package. The…
user2489252
6
votes
2 answers

Import specific tables from oracle dump file?

I have a dump of a huge oracle database so it is impossible to import it all. I want to import a specific table called X. The problem is that X has foreign keys. If I import just X, I will get the following error: imp user/pass@dbName tables=X …
Wael
  • 1,533
  • 4
  • 20
  • 35
4
votes
3 answers

When to use IMP operator in ColdFusion?

Implication: The statement A IMP B is the equivalent of the logical statement “If A Then B.” A IMP B is False only if A is True and B is False. It is True in all other…
Henry
  • 32,689
  • 19
  • 120
  • 221
4
votes
0 answers

imp.find_module()

According to the imp.load_module documentation, "The caller is responsible for closing the file argument." If I pass the file object returned from imp.find_module to imp.load_module, am I still responsible for closing the file object? Or will…
Uyghur Lives Matter
  • 18,820
  • 42
  • 108
  • 144
4
votes
3 answers

Can I use imp/exp tools to migrate database from Oracle 9 to Oracle 10

I'm subcontractor and my client wants to upgrade Oracle database from 9 to 10. Other vendor is going to perform the upgrade process, and I was asked to create whatever backup I need before the upgrade, and then recreate the environment in Oracle 10.…
Karol Kolenda
  • 1,660
  • 2
  • 25
  • 37
3
votes
1 answer

Python: Importing arbitrarily named source files using importlib

I use the imp module to import Python modules from source, given the absolute filename. I.e. import imp my_module = imp.load_source('my_module', '/paht/to/my_module') Here, /paht/to/my_module is the full path to a file containing Python source…
jmd_dk
  • 12,125
  • 9
  • 63
  • 94
3
votes
1 answer

Import Oracle Database 12c Enterprise Edition Release 12.1.0.1.0

I want to import a Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production using the command : impdp SOLVIA/SOLVIA900@IMMBO DUMPFILE=week_exp_immbo.dmp LOGFILE=week_exp_immbo.log REUSE_DATAFILES=YES exclude=tablespace:"IN…
en Lopes
  • 1,863
  • 11
  • 48
  • 90
1
2 3 4 5 6