Questions tagged as 'path'

1
answer

I can not import library from .py but from terminal

I have installed a couple of libraries ( Piexif , pyexiv2 ) from terminal with the following commands: sudo pip install piexif sudo apt-get install python-pyexiv2 Therefore, your imports are like this import piexif import pye...
asked by 03.03.2017 / 17:24
1
answer

How to read the video file that I have saved in my mongodb database

I'm trying to save a collection inside mongodb (Lesson) where among other data this collection has a video: Lesson Model 'use strict' var mongoose = require('mongoose'); var Schema = mongoose.Schema; var LessonSchema = Schema({ tit...
asked by 26.11.2018 / 21:20
0
answers

Convert .ui to .py Generates Error [closed]

I have tried to generate a python script with PyQt5 but when trying to convert it I get an error: Now check the PATH to confirm that the environment variable is there, also try to change from version of python to version 3.3, 3.6 and it...
asked by 03.02.2018 / 18:48
2
answers

Search for a file in a directory but that does not exist C #

I have to test that when searching for a file by name in a directory it does not exist and I indicate it on the screen. I show you my code, where is the comment of the interrogations is where I have the problem, the rest works correctly: stati...
asked by 05.10.2017 / 11:04
2
answers

Take a file path from an array of C # files

I have an array of files, and I have to get the string from one's route. I can not find any method that does it. The code what it does is go through two directories of files, and then look for the first file of the source directory in the destin...
asked by 02.10.2017 / 12:25
1
answer

JAX-RS Overwrite method with same path

Currently I have a generic rest service, which receives all the calls and processes them according to the type of operation. Some of the calls would be: / user / 1 / v3 / people / user / 1 / v3 / machinery Then depending on whether t...
asked by 27.11.2018 / 11:02
2
answers

Is there a way to allow the user to navigate through a directory to select a file?

Basically, what I want to achieve is that the user can select a file interactively (as in the "browse" windows)     
asked by 30.07.2017 / 02:46
1
answer

How do I get the path or main route of the project in c #?

How to get the path of a project in c #. Application.StartupPath does not give me the indicated route string ruta = Path.Combine(Application.StartupPath, @"json\SemanticaColores.json"); I really need to make references to...
asked by 04.12.2017 / 20:55
1
answer

problem when copying file from local and moving it to ftp server c #

I have to copy an .exe from a local folder and move it to an ftp server, in doing so, the .exe becomes a larger file and does not let me run it. This is the code I have: public static void FtpBkAndUploadNewVersion(string direccionIP, string us...
asked by 31.10.2017 / 16:47
0
answers

The container 'Maven Dependencies' references non existing library 'C: \ Users \ ... repository \ com \ sun \ tools \ 1.6.0 \ tools-1.6.0.jar'

I get this error in a Maven project. What can it be? My POM.XLM is: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance...
asked by 18.11.2018 / 01:34