tagged [import]

How to import an existing project from GitHub into Android Studio?

How to import an existing project from GitHub into Android Studio? I've just imported the "EdgeEffectOverride" project from Github into Android Studio. This is the screen shot. ![enter image descripti...

28 Mar at 12:21

Automatically create requirements.txt

Automatically create requirements.txt Sometimes I download the python source code from `github` and don't know how to install all the dependencies. If there is no `requirements.txt` file I have to cre...

Java : Accessing a class within a package, which is the better way?

Java : Accessing a class within a package, which is the better way? If I access a class within a package using fully qualified name, without importing it, whether it saves any memory? Using fully qual...

20 Mar at 03:8

Import a module from a relative path

Import a module from a relative path How do I import a Python module given its relative path? For example, if `dirFoo` contains `Foo.py` and `dirBar`, and `dirBar` contains `Bar.py`, how do I import `...

28 Aug at 13:52

Is it possible to import a whole directory in sass using @import?

Is it possible to import a whole directory in sass using @import? I'm modularizing my stylesheets with SASS partials like so: Is there any way to include the whole partials

24 Jun at 23:13

Import Ms Access Data by programmming

Import Ms Access Data by programmming I am in search of an good approach to import data from ms access and bind it to any Model of an MVC pattern --- Here is the approach which we are thinking to foll...

Relative imports in Python 3

Relative imports in Python 3 I want to import a function from another file in the same directory. Usually, one of the following works: ...but the other one gives me one of these errors: ``` ModuleNotF...

29 Aug at 12:4

Xamarin auto-import shortcut

Xamarin auto-import shortcut In eclipse, it's ctrl+shift+o, which automaticly imports everything. But how can I do this in Xamarin? I don't remember every package and there aren't those lightbulbs, wh...

How to import the class within the same directory or sub directory?

How to import the class within the same directory or sub directory? I have a directory that stores all the files. I want to use classes from and in . How can I import these Python classes into ? Furth...

29 Apr at 20:9

What is the difference between #import and #include in Objective-C?

What is the difference between #import and #include in Objective-C? What are the differences between #import and #include in Objective-C and are there times where you should use one over the other? Is...

13 Jan at 16:25

From Excel to DataTable in C# with Open XML

From Excel to DataTable in C# with Open XML I'm using Visual Studio 2008 and I need create a `DataTable` from a Excel Sheet using the Open XML SDK 2.0. I need to create it with the DataTable columns w...

Python math module

Python math module Whenever I try to use any of the built-in functions of Python's exponentiation and logarithms module, I get an error like this: I have tried using `math.sqrt(4)`,`sqrt(4)` and `sqrt...

9 Jan at 03:1

How to import or copy images to the "res" folder in Android Studio?

How to import or copy images to the "res" folder in Android Studio? I can save all my images directly in the `res/drawable-xxx` folder. But how can I `import/copy` images to my project from `Android S...

22 Jun at 19:8

ERROR 1148: The used command is not allowed with this MySQL version

ERROR 1148: The used command is not allowed with this MySQL version I am trying to load data into mysql database using the topic of this question is the response I get. I understand the local data off...

2 Mar at 19:14

How do I import an SQL file using the command line in MySQL?

How do I import an SQL file using the command line in MySQL? I have a `.sql` file with an export from `phpMyAdmin`. I want to import it into a different server using the command line. I have a [Window...

14 Nov at 19:27

System Out of Memory exception? Having this error when I try to use many functions for an import

System Out of Memory exception? Having this error when I try to use many functions for an import The situation is that I can import a file successfully. But when i add data to different tables thru fu...

21 Oct at 08:50

Java Package Does Not Exist Error

Java Package Does Not Exist Error So there's a folder `/usr/share/stuff` in the root directory in stuff there are a bunch of java files with `package org.name` definitions at the top I am running `jav...

16 Jun at 16:19

Import SQL file into mysql

Import SQL file into mysql I have a database called `nitm`. I haven't created any tables there. But I have a SQL file which contains all the necessary data for the database. The file is `nitm.sql` whi...

11 Apr at 19:35

How can I convert an MDB (Access) file to MySQL (or plain SQL file)?

How can I convert an MDB (Access) file to MySQL (or plain SQL file)? Is it possible to create a Dump of SQL commands from a Microsoft Access database? I hope to convert this MDB file into a MySQL data...

11 Dec at 22:24

Node.js: SyntaxError: Cannot use import statement outside a module

Node.js: SyntaxError: Cannot use import statement outside a module I am getting this error `SyntaxError: Cannot use import statement outside a module` when trying to import from another javascript fil...

20 Jun at 16:56

import a static method

import a static method How can I import a static method from another c# source file and use it without "dots"? like : foo.cs Program.cs ``` using foo.bar.foobar;

7 Dec at 09:27

Only read selected columns

Only read selected columns Can anyone please tell me how to read only the first 6 months (7 columns) for each year of the data below, for example by using `read.table()`? ``` Year Jan Feb Mar Apr May...

10 Apr at 23:29

How to import/include a CSS file using PHP code and not HTML code?

How to import/include a CSS file using PHP code and not HTML code? I have googled a lot but it seems that I am doing something wrong. I want to do this: However, my page prints the CSS code. Note: I w...

11 Jun at 12:0

Import data in MySQL from a CSV file using LOAD DATA INFILE

Import data in MySQL from a CSV file using LOAD DATA INFILE I am importing some data of 20,000 rows from a CSV file into MySQL. Columns in the CSV file are in a different order than MySQL tables' colu...

11 Apr at 14:33

What happens when using mutual or circular (cyclic) imports?

What happens when using mutual or circular (cyclic) imports? In Python, what happens when two modules attempt to `import` each other? More generally, what happens if multiple modules attempt to `impor...