How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [path]

Lô đề online The general form of a file or directory name that specifies a unique location in a file system. In many Linux and Unix-like OS the PATH (all upper case) variable specifies the directories where executable programs are searched for.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

how to play video with react-player from spesific path

I 'm using react-player for playing videos.It plays videos from urls(like youtube url) succesfully. But I'm trying a video stored in a spesific path like this "E:\video\xxx.mp4".I think need ...
-3
votes
0answers
38 views

Symfony - I need to access to a function in an Abstract Controller from another directory [closed]

I got these paths: App\Controller\Quiz\Questions App\Controller\Quiz\Answers How can I access to a function in an Abstract Controller in Answers if I'm using a file in Questions? Maybe is a stupid ...
-1
votes
1answer
17 views

ModuleNotFoundError: No module named 'seaborn'. How to redirect path in Python to capture libraries?

on a Mac, I have pip3'd installed a few libraries in python. When I try to 'import', for example, seaborn, I receive a "module not found error." How can connect to the proper path? What is ...
0
votes
0answers
24 views

how to index os.scandir for a word instead of just the first letter

This is meant to be a file scraper. these outputs are under the first entry.is_dir and under that entry.name I want it to get the directory name 'Alienware Command Center' but it only returns 'A' when ...
0
votes
1answer
22 views

How do I resolve this conda-related brew doctor error?

I've read earlier threads with seemingly related errors, although I'm somewhat skittish about making changes based on what I see here and here, mainly because I'm afraid of breaking things. I use ...
0
votes
1answer
16 views

How to get the a file from drag n dropped paths

So really noobie question i suppose but i made a JTextField where the user can drag and drop files in to avoid clicking through the swing tree for half an hour. This gives me a String like file:///...
-1
votes
1answer
18 views

How to use jq from source on Linux without ./ [closed]

I use this commands to download my jq : # download directly into ~/bin_compciv curl http://stedolan.github.io/jq/download/linux64/jq -o ~/myfile/jq # give it executable permissions chmod a+x ~/myfile/...
-2
votes
1answer
18 views

using ajax url to call php file [closed]

Cant seem to connect the ajax url to a php file. I've been fiddling around for ages. File path of JavaScript: h******ze.com/public_html/wp-content/themes/buddyboss-theme-child/assets/js needs to be be ...
0
votes
1answer
16 views

How to install C/C++ development libraries (like GLEW, SDL2, Lua52) under Windows 10 with MinGW+Cmake

It is very long time (~20 years) since I tried last time to program something in C/C++ under Windows, and I completely forgot how it works. I have some project using GLEW, SDL2 and Lua52 under Linux, ...
-1
votes
0answers
16 views

PHP fopen parameter does not work with input from stdin [closed]

Trying to use fopen with variable passed to function like: public function foo($path) { if (($handle = fopen($path, "r")) !== FALSE) { doesn't work. Now, If I insert name of file as an ...
0
votes
2answers
35 views

FileNotFoundError: [Errno 2] No such file or directory when trying to use local package

Let's consider this directory structure: package/ rooster.py files/ rooster.txt app/ main.py and the content of the two Python files: rooster.py: def roost(): file = open('...
0
votes
0answers
11 views

Unlink Image from Directory

i am getting error called 'No such file or directory in' while unlinking the file here is my code :- $data= $_SERVER['DOCUMENT_ROOT'].'/root_dir/sub_dir/'.$_POST['media']; if(unlink($data))){ ...
0
votes
0answers
16 views

Java: How can I get the UNC path from a path containing the drive letter?

I'm quite new in programming in Java and I am looking for a possibility to get a UNC path from a path containing the drive letter. Example: I want to get from: "Z:\folder1\folder2\file.xyz" ...
1
vote
1answer
28 views

Flutter create a file and write its contents

I am working on an app which gathers text content from server and as the next step I am trying to save them into separate files to be saved with in apps storage. Storage is a folder called 'storage'. ...
0
votes
1answer
24 views

Creating my shell: replace home directory with “~” in my prompt. Problem with replacing the home directory substring

I have a problem trying to have the home directory be "~" in the prompt for my very own shell. I am getting the directory, strstr'ing it with the whole directory but when it is found and I ...

15 30 50 per page
1
2 3 4 5
1075