Questions tagged as 'import'

1
answer

Import of variables from one file to another with FROM

The intention is to access from a file (called, say, " index.py ") to the variables defined in another (for example, " config.py " ). That is, import, to one file, the variables of the other. Ok, these are the contents of the f...
asked by 16.05.2018 / 14:45
1
answer

Invalid Syntax with pyTelegramBotAPI

trying to import the library "telebot" gives me syntax error. import telebot I installed pyTelegramBotAPI and TelegramBotAPI perfectly with pip install     
asked by 11.07.2018 / 19:08
2
answers

android fragment imports

I'm trying to load a map fragment and I have a problem with the imports: If in the map fragment I import android.support.v4.app.Fragment, in the fragment from which I launched it, I get an error in the .replace because an argument of type and...
asked by 25.05.2018 / 10:58
0
answers

NA lines when importing CSV and applying an as.tbl

How I have been importing files in xlsx ( read_excel ) and I have run my Rscript well but when importing the same file in csv, I get the first row with NAs This is a data.frame after a as.tbl with xlsx str(t) and this...
asked by 27.12.2018 / 17:27
1
answer

Error importing tensorflow js in node

I want to use tensorflowjs in the terminal and I copy the code from the npm page and I get an error: (function (exports, require, module, __filename, __dirname) { import * as tf from '@tensorflow/tfjs';...
asked by 21.12.2018 / 23:32
1
answer

Do not let me import the discord library from python

I'm trying to make a discord bot and I'm not sure about the import of the first line, I do not know why. import discord from discord.ext import commands from discord.ext.commands import Bot Cliente = discord.Client() cliente = commands.Bot("!...
asked by 02.11.2018 / 13:54
1
answer

problems when importing Excel file into MVC C #

I have the following code in the controller to import data from an Excel file: public ActionResult importarExcel() { var retorno = 0; for (int i = 0; i < Request.Files.Count; i++) { var fileuploader =...
asked by 31.07.2018 / 20:38
1
answer

explain the reason for invalid syntax please

I am developing my final project but now, for no apparent reason, it sends me syntax erro in the prefix impo- of an import. import sys import requests ^^^^(aqui me dice que error por ninguna razon aparente) import json import marshal import we...
asked by 27.07.2018 / 23:09
0
answers

Load functions from one external javascript file to another

For organizational reasons, I would like my content to be a little more "classified" and I am creating .js files that share content and functions. The problem comes when I try to incorporate that content into other .js files, I'm using import...
asked by 22.05.2018 / 11:20
0
answers

python appears this error when importing a library: Message: 8593 is not in required range

import sys sys.path.append("C:\Users\BOIG\AppData\Local\Programs\Python\Python35-32") sys.path.append("C:\Users\BOIG\AppData\Local\Programs\Python\Python35-32\bs4") sys.path.append("C:\Users\BOIG\AppData\Local\Programs\Python\Python35-32\DLLs") s...
asked by 18.05.2018 / 02:09