import Questions

9

Solved

I have a 350MB file named text_file.txt containing this tab delimited data: 345868230 1646198120 1531283146 Keyword_1531283146 1.55 252910000 745345566 1646198120 1539847239 another_1531276364 2.7...
Brachiate asked 27/11, 2012 at 8:10

12

Solved

I'm trying to import my dataset in R using read.table(): Dataset.df <- read.table("C:\\dataset.txt", header=TRUE) But I get the following error message: Error in scan(file, what, nmax, sep, ...
Padriac asked 10/8, 2013 at 10:30

3

Solved

Is it possible to somehow override import so that I can do some more sophisticated operations on a module before it gets imported? As an example: I have a larger application that uses matplotlib f...
Ouse asked 11/7, 2017 at 12:11

2

Solved

I have this project where I should be able to upload an excel file and read the contents then upload the information to the database. So I decided to use a library to help me out which turns to be ...
Clam asked 13/7, 2015 at 7:38

2

Solved

I have a shared framework that needs to be used by iOS and tvOS, but I want to selectively import a framework for iOS only (CoreTelephony). The swift grammar says you can prepend an attribute, but ...
Itis asked 2/10, 2017 at 22:55

5

Solved

I am using ES2015 Import / Export modules. In my worker file, when I try to import functions like I normally do: worker.js import { a, b, c } from "./abc.js"; I get the error: SyntaxError: imp...
Owain asked 22/5, 2017 at 17:14

2

I am new in svelte.js. help me please to fix it Here, when I import the swiper carousel at my .svelte file. it shows me this error which is [rollup-plugin-svelte] The following packages did not ex...
Fornax asked 29/10, 2021 at 12:31

3

Solved

I need move the wiki from a project to other. We are using Azure DevOps and both projects are in the same organization. I haven't seen any tools neither any option in DevOps.
Statant asked 17/10, 2019 at 14:54

2

Is there a simple solution (lint rule perhaps?) which can help enforce clean code imports through index files? I'd like to prevent importing code from "cousin" files, except if it is made...
Candidate asked 22/10, 2021 at 15:57

3

I have a simple HTML page, which is importing a JS module as follows: .. snip <button onclick="btnClick()">Go!</button> <script type="module"> import { func1 } from './utils.js'...
Utility asked 11/1, 2020 at 6:18

2

I searched stack overflow for similar errors, but didn't find quite the same. I use the actual OpenJDK and imported the actual MySQL J connector. If I try to import any java.sql.* package, it gets ...
Nagpur asked 7/10, 2020 at 12:42

3

Solved

I am trying to import the production mysql db into a local xampp test environment. By connecting to web admin(mozff) and simple exporting sql(never needed anything else).And then go to local phpmya...
Caribbean asked 9/7, 2018 at 8:23

7

I just got a new PC (Win 7) with VS 2010 (same version as my old PC). I got a VB.NET solution from source control that contains two projects. One of the projects builds fine. The other project flag...
Megagamete asked 1/5, 2013 at 16:55

3

Solved

Is it possible to import everything (*) from an existing Python module except a number of explicitly specified methods? (Background: Against recommended Python practice it is common in FEniCS to d...
Mychal asked 13/11, 2013 at 15:25

3

Solved

I'm trying to get my data files (of which there are a dozen or so) into tables within SQLite. Each file has a header and I'll be receiving them a few times over the coming year so I'd like to: Av...
Marquettamarquette asked 27/11, 2012 at 15:19

3

Solved

I have been fighting with this problem for hours now, and it's a kind of complicated one. I'm on windows 7, Python 2.7, Spyder 3.2.6 I tried to install OSMNX through cygwin, however I faced many is...
Warfore asked 26/4, 2018 at 8:46

19

Solved

file.py contains a function named function. How do I import it? from file.py import function(a,b) The above gives an error: ImportError: No module named 'file.py'; file is not a package
Fossilize asked 1/12, 2013 at 6:34

7

Solved

I am completely new to the python class concept. After searching for a solution for some days, I hope I will get help here: I want a python class where I import a function and use it there. The ma...
Sucy asked 28/6, 2016 at 22:6

5

Solved

I have a backup sql file from another database that I want to import into Heroku's postgres database. How do you do that?
Lakeesha asked 11/12, 2013 at 1:36

2

Solved

I am trying to add images using import import image from '../assets/images/picture.jpg am using Typescript with gatsby ... the strange thing is it works fine with normal javascript (.js ~ .jsx fi...
Topazolite asked 8/4, 2021 at 4:37

7

Solved

I have a MySQL file, db.sql. I have tried to import it using: mysql -uroot -p[password] db < db.sql All I get is a listing of mysql commands, or I get a syntax error. The weird thing is I use...
Zumwalt asked 21/11, 2009 at 1:51

2

Whenever I run pypy test.py in the Mac OS X 10 Terminal, I get a File "test.py", line 8, in <module> import requests ImportError: No module named requests However, this works well and...
Antitoxic asked 27/2, 2016 at 10:14

3

Solved

I have a Cargo project consisting of three files in the same directory: main.rs, mod1.rs and mod2.rs. I want to import functions from mod2.rs to mod1.rs the same way I would import functions from...
Jarrod asked 19/10, 2017 at 12:10

4

I am using SAS to generate two CSV files every 24 hours. And I have used a bat script to save the generated CSV files in a folder in Google Drive. The CSV files are replaced, so there will always o...
Suisse asked 22/12, 2016 at 11:35

5

Solved

I have created a mongo dump from a remote server and .bson and .metadata files stored in to a folder. I want to import this folder into my local mongodb. I am using robomongo as a mongodb client u...
Unlimber asked 8/2, 2018 at 9:41

© 2022 - 2024 — McMap. All rights reserved.