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
0
votes
1 answer

Issues with module imports going from python 2 to python 3

I am trying to upgrade a 10 year old event listener that I didn't write from Python 2.7 to python 3.7. The basic issue I'm running into is the way the original script was importing its plugins. The idea behind the original script was that any…
Adam Benson
  • 11
  • 1
  • 4
0
votes
2 answers

How to make android device as slave and read the slave data from iot hardware as Electric Imp, Arduiono or even PC?

I am looking for a solution where my Android Device is connected to IoT devices such as Electric Imp, Arduino or Windows PC via USB. So the requirement here comes that I want to write some data(text or binary data) at my Android USB port so that…
Shubham Agrawal
  • 1,252
  • 12
  • 29
0
votes
1 answer

How to extract table data from Oracle EXP dump file. First 1MB of the dump is corrupted, and database is lost

My Oracle DB is destroyed including backups (ransomware). I have a dump file 11GB in size. Exported by EXP with parameters FULL=Y. First objects in dump belong to SYSTEM USER. The dump is encrypted but only first 256kb, there is no sign of…
MrMgr
  • 125
  • 1
  • 6
0
votes
1 answer

Import a table from a user to a table of an other user

I am trying to use imp to Import a table from user abdou2 to user abdou1. I exported my table from abdou2 inside a file dump using: exp abdou2/root file=CLIENTS.dmp tables=CLIENTS Then, I created in abdou1 an exact same Table but empty…
user8143344
0
votes
1 answer

the imp module is deprecated in favour of importlib

I use sublime , this is my code: when I build it, it warning: and my python version is 3.6.4. how could i do? thank you!
user7197977
0
votes
1 answer

insufficient privileges SYS.DBMS_DDL

I am trying to use the Oracle imp utility. A lot of good documentation exists but it seems that it is not possible or documented how to import with a regular user. It is assumed that sys will be used I think. Grant privileges for example using…
onknows
  • 6,151
  • 12
  • 65
  • 109
0
votes
0 answers

Homemade package ImportError: DLL load failed: The specified module could not be found

I am trying to run a "homemade" package I recently received. It is native C++ code wrapped with SWIG. EDIT: I have installed all the C++ dependencies required. I know that the package works, as it was previously set-up in other computers. The code…
kostas
  • 101
  • 12
0
votes
2 answers

How Can I import or open a .dmp file?

Update: I tried the impdp command and it's giving me that it cannot create a user. I tried creating the user as well This is how my .par file looks like This is a snip of .sh file I have never used the oracle database before. I have a .dmp file…
Karan Neginhal
  • 35
  • 1
  • 2
  • 7
0
votes
0 answers

How to transfer all data from oracle 9i to oracle oracle 11g?

1.9i version command(9i version contains a user taoTest,which 11g version not contain): exp system/* file=d:\exp_full.dmp full=y; 2.11g version command(create taoTest user which same as 9i version): create user taoTest identified by taoTest;…
fangtao
  • 31
  • 1
  • 4
0
votes
0 answers

Can't import praw

My program's attempt to load praw 5.0.0.dev0 is failing: >>> import praw Traceback (most recent call last): File "", line 1, in File "C:\...\Anaconda3\lib\site-packages\praw\__init__.py", line 14, in from .reddit…
d8sconz
  • 279
  • 4
  • 14
0
votes
0 answers

Python custom testreports

I'm looking for a way to customize the output of python unittests. So far, I think my best chance is using pytest hooks to achieve my goal. Regardless, I've tried to implement something myself and have been fairly successful in navigating test…
m-strasser
  • 78
  • 6
0
votes
1 answer

Importing a whole python hierarchy dynamically

I have written my own python code, organized in dirs and sub dirs hierarchy I'm trying to use this code (package/module, I'm not sure about the terminology) in a few projects. The issue is that the code path differes between the projects. How can…
NI6
  • 2,477
  • 5
  • 17
  • 28
0
votes
0 answers

export and import to different tablespace

I am after doing an export from a tablespace and then importing it into a different tablespace. However i cannot use datapump as i want to do an export into my local pc and then import it from my local drive: as it stands i am using the following…
CBR
  • 21
  • 1
  • 8
0
votes
1 answer

Python dynamic import and changing a variable

Lets say I have the following config file: config.py: x = 2 y = x * 2 I would like to import this in the file main.py, preferably using load_source command, but I also want to be able to change the value of x at the time of import such that the…
Amin
  • 1,883
  • 4
  • 17
  • 22
0
votes
1 answer

How to use imp command for overwrite existing data

I am using the imp command for importing a database but after one time, we are executing the imp command again so that data is inserted a 2nd time. We want to remove the old data and insert fresh data. This is what I tried... Please help me and…
PRASHANT
  • 1
  • 1
  • 2