Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
73 views

This code indicates what I wish to do, i.e. Have a variable to hold the name of a file to import, Use shutil.which() to look up the FOLDER it resides in (via $PATH), Automatically get that added to ...
Hannu's user avatar
  • 285
0 votes
0 answers
20 views

When I run cmd //C 'echo %PATH%' in an MSYS2 terminal I expect the same output as when I run echo %PATH% in a Windows command prompt. However, the first command shows fewer entries. How come? I'm not ...
August Karlstrom's user avatar
0 votes
0 answers
29 views

I am trying to setup a custom environment in which I have a bunch of related tools running in conda. This is mostly because part of the tooling I want to have running is actually only reliably ...
H van Buuren's user avatar
1 vote
1 answer
158 views

I am trying to install an R package that draws on Python in the background but having issues with R finding the installation of Python. I am working on a Windows machine and have Python 3.14 installed....
adkane's user avatar
  • 1,451
Best practices
0 votes
1 replies
35 views

I have to make a design decision. I need to describe paths across hierarchical network graphs. In other words: There can always be a next parent, but we don't know. There can also be always a next ...
MaestroGlanz's user avatar
2 votes
1 answer
109 views

I am trying to debug python code in vscode using a launch config that asks for command line arguments. My script is located here: C:\Users\USERNAME\FolderName - With Spaces\_MyHome\Documents\Dev\...
skeetastax's user avatar
  • 1,816
1 vote
1 answer
80 views

I have a page Product.aspx that has a master page Main.master, both pages are in the root of the project (they don't belong to any folder). The problem is that the tilde path only works for the Main....
franko_camron's user avatar
0 votes
1 answer
90 views

Context I have a function in my app's code that connects (via WNetUseConnection) to a windows fileshare on specified devices on the network the machine that is running the app is connected to. This is ...
Seb James's user avatar
0 votes
0 answers
70 views

I have a maven-war-plugin configured in my pom.xml. Like this: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> &...
hell_storm2004's user avatar
0 votes
1 answer
113 views

Background I tried to develop a Rust lib to assist with swapping filenames for any two files, but I had problems when I tried to dealing with paths on WSL. Examples Normal Situation File1 File2 Before ...
LinkChou's user avatar
0 votes
0 answers
148 views

When I run VS Code from Ubuntu graphical interface, and do echo $PATH, I see something like /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:...
Abdelghani's user avatar
1 vote
0 answers
62 views

I got a problem when trying to integrate Dotfuscator into MSBuild. <!--Dot obfuscator--> <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" /> <!-- import user ...
Cazorlas's user avatar
1 vote
3 answers
143 views

I am writing a API for a program. The program has a native support of "globed" paths such as img-0*.png. I would like to know how to be sure that there is at least a file satisfying that ...
cards's user avatar
  • 5,249
0 votes
0 answers
53 views

I'm using Zerobrane Studio (2.00; MobDebug 0.803) on Windows 11. When I try to run/debug some code, I get: : module 'strict' not found: no field package.preload['strict'] no file '.\strict.lua'...
Chelmite's user avatar
  • 390
0 votes
1 answer
61 views

It's reasonably well known that POSIX has fairly mad path traversal semantics, mostly due to the existence of symlinks. For example to open("foo/../bar") the kernel can't just open("bar&...
Timmmm's user avatar
  • 99.3k
0 votes
1 answer
48 views

I don't know what I am doing wrong with this path in data.js. It worked in another project, but doesn't in this one with image: require('../../assets/images/icon.png'); This is the folder structure ...
Susy's user avatar
  • 9
1 vote
1 answer
146 views

This question is all about a good TypeScript solution for managing all your paths of your filesystem structure. When I came across web-based local applications or website backend pages, to manage the ...
CoderJo's user avatar
  • 21
0 votes
2 answers
42 views

I would like to automatically have my Windows %PATH% variable converted to $PATH when I enter a cygwin shell (either bash or tcsh), so if I make a path change in Windows, it will automatically be ...
Brie's user avatar
  • 2,396
3 votes
1 answer
94 views

I looked through a few solutions here and found an almost working script to append to the user Environment Variable PATH without overwriting the existing path and not clutter it with system's EV's ...
user avatar
1 vote
1 answer
329 views

I'm using VS Code on macOS. I installed sqlfluff locally using pip. I also installed it via the extensions UI. I am trying to format my code manually via the UI. When I select my code, do a left click ...
x89's user avatar
  • 3,532
0 votes
1 answer
46 views

So far I have this code, that attempts to remove a "document" (a path string, like "./documents/images") from a database, as well as all subdocuments (path strings that start with ...
user31009838's user avatar
1 vote
0 answers
52 views

I'm in testing step of my MAUI application, and I have an issue when testing on a emulated Android 9 (API 28). I was testing and correcting my code on last Android version (Android 15, API 35), and ...
TRex's user avatar
  • 350
0 votes
1 answer
95 views

I am doing a REST API in Java (although this question may apply to other languages) where I create several local files and directories, and they can be deleted based on input. I manage my files in a ...
coriuser's user avatar
0 votes
1 answer
144 views

I made a Java application that loads image files from a directory called "images". If I compile and build in this way it works: javac Swing.java java Swing Conversely, if I compile and ...
Fabio Ferro's user avatar
0 votes
0 answers
107 views

My .zshrc file looks like export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home export PATH=$PATH:$JAVA_HOME/bin ~ ...
John Lau's user avatar
0 votes
0 answers
37 views

I created a button that is supposed to allow users to save a copy of the current file in a folder. The path changes, depending on the value of A1. For example, if A1 is 9999, I want the file to be ...
kstdrew's user avatar
  • 25
4 votes
2 answers
142 views

I have a large directed graph (not a DAG) with about 26,000 nodes and 86,000 edges. I want to find all possible simple paths (no repeated nodes) from one given node to another. How difficult or ...
jd singh's user avatar
0 votes
0 answers
38 views

I do a self hosted Gitlab Omnibus instance running on a bare metal server. Lately I made settings changes due to the Gitaly settings change in the 18.x version. During this time, however, mappings ...
matsukan's user avatar
0 votes
0 answers
77 views

To get paths that use forward slash as a path separator, Google AI says to use the posixpath module instead of the os module. However, I find that it still uses backslashes: >>> import os &...
user2153235's user avatar
  • 1,285
1 vote
2 answers
162 views

I have a simple problem -- I have multiple threads that are doing appends to a file, based upon a file name that the user can choose. At first, I tried to synchronize on instances of Path, but after ...
davidalayachew's user avatar
0 votes
1 answer
196 views

I tried to read the first text file of my "Download" dir in my godot game but I can't make it works. How I can take only the first text file of a dir and then display the text of the file on ...
fabricio408 morales's user avatar
0 votes
0 answers
43 views

I wanted to utilize a global keylogger for my project and I went to https://github.com/kwhat/jnativehook/releases for downloading JNativeHook. I downloaded "jnativehook-2.2.2.jar" one and ...
Tony Lin's user avatar
3 votes
1 answer
171 views

The C++ macro __FILE__ typically includes the full path (with many compilers). For my tracing, I want just the file name, not the full path. Is there a built-in macro for this in any version of C++ or ...
Samuel Wenker's user avatar
1 vote
1 answer
86 views

I am creating a tool and the tests on Windows do not work correctly. The reason is that there is a ';' at the end of the $PATH (the environment variable). However, in the original $PATH (in the ...
Sami Daniel's user avatar
-1 votes
2 answers
111 views

I'm working on a project in C++ and I would like to make a query to a database from my code. I installed MySql C++ connector from the MySql site and now I have to specify the path of the folder '...
Giacomo Pellegrini's user avatar
1 vote
1 answer
63 views

I am trying to create a macro that copies a sheet from my current workbook and saves that sheet as a .csv file in the same path as my current workbook. Any help is appreciated. Current Code I'm ...
mr_nane's user avatar
  • 109
0 votes
1 answer
125 views

I'm running a FastAPI application with uvicorn and using reload_excludes to prevent the server from reloading when files are added to certain directories. The issue is that the exclusion works for one ...
Wewake's user avatar
  • 1
0 votes
1 answer
315 views

I have a github actions workflow where I run many different files, for which I append to the PYTHONPATH all the paths I need for the scripts to work. To do so, I created another program called ...
scatbeam's user avatar
0 votes
0 answers
16 views

I use MacOS for my programming. I like and use the GUI applications that it comes with. But I also do a lot of work with the "terminal" program and use the environmental variables like ...
Robert Ramey's user avatar
  • 1,184
1 vote
1 answer
92 views

I have multiple Python Paths to choose from as seen in the images. I remember installing Python via brew and through the internet and Anaconda. I don't have any idea which are redundant and what to ...
Vale's user avatar
  • 33
3 votes
4 answers
169 views

My question relates to the following question/answer from 2013: Efficiently convert backslash to forward slash in R I posted a question to the solution proposed by 'Arun' and 'flodel' at the link ...
please help's user avatar
2 votes
1 answer
159 views

I am trying to load an image with unicode characters in its path. cv::imread doesn't take a std::wstring as input, so I tried to convert the wide string to a common string first: #pragma warning(push) ...
TheChamp's user avatar
3 votes
2 answers
134 views

I'm trying to create a small animation where a dot would smoothly go along two intertwined ellipses, like I managed to create an almost-working path using an online tool to turn shapes into a single ...
Nicolas Bège's user avatar
0 votes
4 answers
137 views

I have a list of complete filenames stored in an array such as: ./Downloads/epo6700lnx.zip ./Downloads/epo6600lnx.zip ./Desktop/epo6800lnx.zip ./Public/epo6900lnx.zip I tried reverse sort, but get: ./...
Fried Synapse's user avatar
0 votes
0 answers
50 views

Currently there is a unix-based system that exposes a file in what the team is saying would be {{parameters.secret-path}}/file. I am not sure how to read that in java given the enclosing of double ...
wheelerlc64's user avatar
0 votes
1 answer
328 views

R Studio cannot find my packages. During startup, I receive this warning: Error: package or namespace load failed for ‘stats’ in inDL(x, as.logical(local), as.logical(now), ...): unable to load ...
user30214809's user avatar
0 votes
1 answer
57 views

As you can see in the image clipping doesn't connect the lines perfectly due to the overlap from the top oval. <svg width="400" height="200" xmlns="http://www.w3.org/2000/svg"> <!-- Define ...
SeriousNinja's user avatar
0 votes
0 answers
42 views

Path Path Copy (https://github.com/clechasseur/pathcopycopy ) will copy Unix or WSL paths in Windows to the clipboard. so if a Windows path looks like this: "C:\Users\abc\Desktop\portable\coding ...
thanks_in_advance's user avatar
0 votes
1 answer
61 views

After a windows update, I suddenly got this error today when starting the Anaconda Prompt: "input line is too long, the syntax of the command is incorrect". Seems like there is something ...
user1363251's user avatar
0 votes
0 answers
25 views

jakarta.servlet.ServletException: Circular view path [error]: would dispatch back to the current handler URL [/error] again. Check your ViewResolver setup! (Hint: This may be the result of an ...
Swati Jha's user avatar

1
2 3 4 5
456