Questions tagged as 'import'

1
answer

Importing the java.lang package. *

Adding Java studies I came across a special package, java.lang , where the author of the book mentions that we do not need to import of this package.    There is a package   special in the Java world called java.lang. This packag...
asked by 25.12.2018 / 01:35
1
answer

Is there something like the C # namespaces in Java?

I noticed the size of the command to put a message on the screen in Java, I wonder if it has any way to decrease? As in C # the programmer puts the word using "namespace"; and you can use the "shortened" command. Eg to print the Hello...
asked by 13.08.2018 / 01:04
3
answers

There is no library called math

Because when I import sqrt of the math bookstore it says that there is no bookstore called math , but still the code works? Does not give error works fine, but that underlies in math and sqrt . To "heal" while...
asked by 06.12.2017 / 05:00
1
answer

Importing nondescript files with NodeJS

I am creating a file structure in an application where each directory contains an "index" file. This index file takes the name of my directory to improve readability. Ex: foo |--foo.js // <- index |--bin.html |--bar | |--bar.js // <-...
asked by 11.01.2017 / 15:41
1
answer

script import in the wrong order, function not defined

I have a component vue ( Map.vue ): <template> ... </template> <script> import '../../assets/js/map.js' export default { name: 'home', data () { return { init_data: {}, } },...
asked by 29.06.2017 / 13:50
1
answer

Use require () (or another method) in NodeJS as in PHP

In PHP Suppose I have a const file in a root directory called const.php : define('CONST_1', BASE_CONST_1 || 'Value 1'); define('CONST_2', 'Value 2'); define('CONST_3', 'Value 3'); And another file, in the same directory, named index.ph...
asked by 10.01.2018 / 21:18
1
answer

Extract data between specific lines of txt to worksheet in VBA

I am creating a code that will automate the reports at work from a button. The measuring equipment gives me a file in .MMF or .TXT, and there is an important part that I am breaking my head to be able to solve and I am a few days without advanci...
asked by 20.02.2018 / 16:54
2
answers

How to "reimport" an object from a Python module?

I wrote a module called mymodule.py which has the function def funcion(x): return x So I imported this function into a code like from mymodule import function and worked normally. Then I wanted to change the function to...
asked by 27.11.2018 / 17:57
1
answer

Difficulties with Dll import C #

I'm having a hard time rewriting a method of a dll in C #, we bought a price checker from a manufacturer, in case it provides a dll and a sample code in Delphi. This dll has some functions among them to start the service with the reader, to r...
asked by 23.10.2017 / 12:24
1
answer

Import style react native

Is it possible to import a style from another directory in the import of react native? I tried something similar to what is done in require to change the directory with "../" but without success.     
asked by 02.08.2018 / 15:42