import Questions
2
Solved
I want to import multiple svg's in one vue component. The documentation says I Have to import each one of them, but how can I import multiple svgs in a much shorter and cleaner way?
vue-svg-loader...
Favela asked 3/12, 2019 at 0:40
5
I am trying to make a demo app for some components using Expo and react-native. (Or I also could use regular React-Native)
My problem is I cannot import files outside of the demo app
Here is the ...
Rightness asked 3/4, 2017 at 9:30
2
Solved
In file1.py:
def foo():
import file2
print "I'm the old file1.py"
file2.bar()
if __name__ == '__main__':
foo()
In file2.py
print "I'm the old file2.py"
def bar():
print "I'm in the old f...
Christmann asked 14/9, 2011 at 15:2
2
Solved
Is it possible to import one React app(built using create-react-app) into another completely different React app. We all have imported components in our SPA, but is it possible to import a differen...
Chubb asked 1/3, 2020 at 23:27
6
Solved
I just got set up to use pytest with Python 2.6. It has worked well so far with the exception of handling "import" statements: I can't seem to get pytest to respond to imports in the same way that ...
5
Solved
I know that I can add an import path to Python like this:
import sys
sys.path.append("/path/to/directory/")
But, when I restart Python, this is gone. I'd find it quite annoying if I had to do t...
3
I'm trying to package a node app as an exe using pkg, and I'd like to use ES6 imports.
I have something like this in my src/app.js:
import express from 'express'
const app = express()
const eco ...
Rafaellle asked 15/10, 2019 at 10:19
3
Solved
I'm building an mp3 player with react.js and the HTML5 web audio API. I'm new to react (circa 2 weeks) but have 3 years experience with JavaScript.
It seems that in order for the mp3 files to play...
Smelt asked 24/5, 2017 at 10:34
20
I had successfully imported a database using command line, but now my pain area is how to import a single table with its data to the existing database using command line.
3
Granted I've been off PYTHON for two + years. I'm trying to get back into the swing, and I remember having command and variable completion available on windows a few years back. We were stuck in 2....
Eurythmics asked 3/7, 2018 at 14:47
3
Solved
I would like to import apexChart library which using "window" property, and i get error in console.
[vite] Error when evaluating SSR module /src/routes/prehled.svelte:
ReferenceError: win...
Claudy asked 7/11, 2021 at 17:11
4
Solved
Hello i am trying to import a library called amulyakhare from github into my android studio project but i keep getting the following error after syncing:
Failed to resolve: com.amulyakhare:com.amul...
Neck asked 10/5, 2021 at 8:48
9
Solved
I'm trying to create and use a custom package in Go. It's probably something very obvious but I cannot find much information about this. Basically, I have these two files in the same folder:
mylib...
2
Solved
Does visual studio code support exporting and importing of breakpoints? If so, how to import and export breakpoints in visual studio code.
Juliannjulianna asked 24/10, 2016 at 18:50
18
Solved
I have troubles to import the basemap module of mpl_toolkits in python. Here is what I get when I run the test.py script from the module directory:
/usr/lib/python2.7/dist-packages/mpl_toolkits/ba...
Ruthenious asked 2/11, 2016 at 7:25
1
Solved
I have downloaded the most recent Apache poi from https://poi.apache.org/download.html and installed the jars into NetBeans by right-clicking libraries and selecting all the jars, and those in lib....
Dimitris asked 1/7, 2022 at 21:4
4
I have been trying to fix the python path on my cpu, and I originally was just trying to change my .bash_profile, but that wasn't working, so I used
import sys
sys.pat.append(path/To/Module)
and n...
Nifty asked 23/6, 2016 at 17:14
2
Solved
When I change/add a variable to my config.py file and then try to import it to my Jupyter Notebook I get:
ImportError: cannot import name 'example_var' from 'config'
config.py:
example_var = 'exa...
Corum asked 20/1, 2021 at 17:8
7
Solved
I have a folder for my client code, a folder for my server code, and a folder for code that is shared between them
Proj/
Client/
Client.py
Server/
Server.py
Common/
__init__.py
Common...
Pruinose asked 21/9, 2011 at 20:9
3
I am analysing student level data from PISA 2015. The data is available in SPSS format here
I can load the data into R using the read_sav function in the haven package. I need to be able to edit ...
18
Solved
It is much more convenient and cleaner to use a single statement like
import java.awt.*;
than to import a bunch of individual classes
import java.awt.Panel;
import java.awt.Graphics;
import jav...
9
Solved
Let's say you have some time-consuming work to do when a module/class is first imported. This functionality is dependent on a passed in variable. It only needs to be done when the module/class is l...
5
Solved
Is there a way , a shortcut or any setting which removes unused import from all projects ? effectively from workspace?
I found following question which states about removing from single file. How ...
Leonleona asked 8/1, 2013 at 13:23
13
Solved
I am new to Android development. By following this tutorial I got errors The import com.google.android.gms cannot be resolved when I wrote the code into the MainActivity.java:
import com.google.an...
Graviton asked 13/4, 2013 at 16:27
11
Solved
Interactive Python (ipython) is simply amazing, especially as you are piecing things together on the fly... and does it in such a way that it is easy to go back.
However, what seems to be interest...
© 2022 - 2024 — McMap. All rights reserved.