import Questions
9
Solved
I have a problem when importing .csv file into R. With my code:
t <- read.csv("C:\\N0_07312014.CSV", na.string=c("","null","NaN","X"),
header=T, stringsAsFactors=FALSE,check.names=F)
R repor...
6
I am working on my python project, wherefor I need to import the package called "boto3". Therefore I get this error tooltip: "Import "boto3" could not be resolved". I ...
Corroborant asked 28/1, 2021 at 8:34
3
Solved
4
Solved
I am importing lots of functions from a module
Is it better to use
from my_module import function1, function2, function3, function4, function5, function6, function7
which is a little messy, but...
Consistent asked 20/7, 2011 at 12:23
7
Solved
A bizarre import error is preventing me from installing a mercurial extension.
I'm trying to get the mercurial_keyring extension running so that I don't have to type in my user name and password e...
1
Solved
What is happning
On vue2.6 + webpack, an application as follow is working well.
<template>
<v-app>
<QR/>
<v-main>
</v-main>
</v-app>
</template>
<sc...
Orography asked 19/12, 2022 at 0:34
5
Solved
Quick question for an issue I haven't managed to solve quickly:
I'm working with a .csv file and can't seem to find a simple way to convert strings to floats. Here's my code,
import csv
de...
Cartridge asked 18/9, 2013 at 16:26
3
Prior to ES6 modules, it was (I'm told by other Stack answers) easy to force a JS script to be reloaded, by deleting its require cache:
delete require.cache[require.resolve('./mymodule.js')]
How...
Equator asked 22/4, 2020 at 22:21
6
Solved
I tried to search for some plugins to import Excel file into MySQL database, one of them is http://code.google.com/p/php-excel-reader/
The tool is so powerful that it displays the entire excel con...
4
I found a very useful application, that works like html tags for Python applications.
Supposedly I could use all the features of Python between tags within a Browserlike php, for example:
<py-sc...
46
Solved
I'm trying to work with Hibernate in Eclipse.
I'm creating a new simple project and I've downloaded a collegue project too, via CVS.
Both don't work, while on my collegue's Eclipse do.
The problem ...
5
when running Python test from withing VS Code using CTRL+F5 I'm getting error message
ImportError: attempted relative import with no known parent package
when running Python test from VS Cod...
Discordant asked 5/11, 2019 at 11:2
9
Solved
I want to use import in my nodejs project instead of using require.
So, I added,
"type": "module"
in my package.json.
import index from './index.js';
in server.js
when I run
node server...
Tumbling asked 2/5, 2020 at 11:45
3
I haven't been able to find the right syntax/URL to import Lodash in a Deno program.
I tried this:
import _ from 'https://deno.land/x/[email protected]/lodash.js';
That gives the error "...
7
Solved
I am using django and I have a file named models.admin.py and I want to do the following idea in models.py:
from "models.admin" import *
however, I get a syntax error for having double quotes. B...
Corinacorine asked 1/12, 2009 at 18:53
3
I have created a package for ROS2 and I have added a Python repository I downloaded. The problem I am having is that in the original repository the modules from the own repo were imported directly ...
Pharisaism asked 9/8, 2019 at 8:59
5
Solved
In this code from go-sqlite3:
import (
"database/sql"
"fmt"
_ "github.com/mattn/go-sqlite3"
"log"
"os"
)
what does the underscore in the impo...
6
Solved
Do the unused imports and unused objects in Java code create any performance impact?
Suppose an object is initialized and never used, what happens?
And what is the cost of unused imports?
1
Solved
Real life scenario:
I wanted to use crate::app::verbose_trace!("string literal") inside crate::app::args::parse module.
Reproducable scenario:
After an hour of attempts, I came with follo...
Spacious asked 26/11, 2022 at 22:47
25
I have installed python 3.3.2 and pygame 1.9.2a0. Whenever I try to import pygame by typing:
import pygame
I get following error message :
Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43...
6
Solved
I am using PostgreSQL 8.4, and I have some *.sql files to import into a database. How can I do so?
Cornet asked 3/8, 2010 at 6:7
3
Solved
I meet a similar problem which can be simplified as following:
For example I have a file structure as following:
----folder
---- main.py
---- math.py
I define a function in math.py and I want...
Charactery asked 9/2, 2019 at 0:31
11
Solved
I want to check if a module exists, if it doesn't I want to install it.
How should I do this?
So far I have this code which correctly prints f if the module doesn't exist.
try:
import keyring
e...
2
How can I copy files from one directory to another in Visual Studio Code, without breaking the import paths? In other words, are there any plugins or tools available for readjusting the relative pa...
Elizaelizabet asked 11/6, 2021 at 6:4
0
I just can't get a break.
With my current setup I can import files using my @ alias
BUT I can't click+cmd to "Go to definition" on anything that is .vue unless I don't use the "@&quo...
Rodas asked 21/11, 2022 at 17:22
© 2022 - 2024 — McMap. All rights reserved.