tagged [path]
Relative imports for the billionth time
Relative imports for the billionth time I've been here: - [http://www.python.org/dev/peps/pep-0328/](http://www.python.org/dev/peps/pep-0328/)- [http://docs.python.org/2/tutorial/modules.html#packages...
- Modified
- 2 Dec at 02:18
Adding Python to PATH on Windows
Adding Python to PATH on Windows I've been trying to add the Python path to the command line on Windows, yet no matter the method I try, nothing seems to work. I've used the `set` command, I've tried ...
- Modified
- 4 Nov at 07:12
Batch files: List all files in a directory with relative paths
Batch files: List all files in a directory with relative paths Concerning Windows batch files: Is there a way to list all the files (or all of a specific type) in a certain directory and its subdirect...
- Modified
- 20 Sep at 09:44
Convert a str to path type?
Convert a str to path type? I am trying to interface with some existing code that saves a configuration, and expects a file path that is of type `path.path`. The code is expecting that the file path i...
- Modified
- 22 Jul at 17:54
Python Setup Disabling Path Length Limit Pros and Cons?
Python Setup Disabling Path Length Limit Pros and Cons? I recently installed Python 3.7 and at the end of the setup, there is the option to "Disable path length limit". I don't know whether or not I s...
- Modified
- 14 May at 02:45
How can I compare (directory) paths in C#?
How can I compare (directory) paths in C#? If I have two `DirectoryInfo` objects, how can I compare them for semantic equality? For example, the following paths should all be considered equal to `C:\t...
- Modified
- 3 Apr at 12:5
Accessing nested JavaScript objects and arrays by string path
Accessing nested JavaScript objects and arrays by string path I have a data structure like this : ``` var someObject = { 'part1' : { 'name': 'Part 1', 'size': '20', 'qty' : '50' }, '...
- Modified
- 9 Mar at 11:18
How to add a set path only for that batch file executing?
How to add a set path only for that batch file executing? Basically, I know I can go through my control panel and modify the path variable. But, I'm wondering if there is a way to through batch progra...
- Modified
- 7 Feb at 13:26
How to ensure there is trailing directory separator in paths?
How to ensure there is trailing directory separator in paths? I'm having an issue with `AppDomain.CurrentDomain.BaseDirectory`. Sometimes the path ends with '', sometimes it doesn't and I can't find a...
Change file name of image path in C#
Change file name of image path in C# My image URL is like this: I want to change it so it looks like this: Is there any short way to do it?
Why am I getting a FileNotFoundError?
Why am I getting a FileNotFoundError? I'm trying to write a simple program to read a file and search for a word then print how many times that word is found in the file. Every time I type in "test.rtf...
When should I use File.separator and when File.pathSeparator?
When should I use File.separator and when File.pathSeparator? In the `File` class there are two strings, [separator](http://docs.oracle.com/javase/8/docs/api/java/io/File.html#separator) and [pathSepa...
- Modified
- 13 Aug at 18:43
Adding a directory to the PATH environment variable in Windows
Adding a directory to the PATH environment variable in Windows I am trying to add `C:\xampp\php` to my system `PATH` environment variable in Windows. I have already added it using the dialog box. But ...
- Modified
- 27 Jun at 16:45
Does Java have a path joining method?
Does Java have a path joining method? ### Exact Duplicate: [combine paths in java](https://stackoverflow.com/questions/412380/) I would like to know if there is such a method in Java. Take this snippe...
How to open my files in data_folder with pandas using relative path?
How to open my files in data_folder with pandas using relative path? I'm working with pandas and need to read some csv files, the structure is something like this: > folder/folder2/scripts_folder/scri...
- Modified
- 20 Jun at 09:12
__FILE__ macro shows full path
__FILE__ macro shows full path The standard predefined macro `__FILE__` available in C shows the full path to the file. Is there any way to short the path? I mean instead of I see or
Given a filesystem path, is there a shorter way to extract the filename without its extension?
Given a filesystem path, is there a shorter way to extract the filename without its extension? I program in WPF C#. I have e.g. the following path: and I want to extract `hello` from it. The path is a...
- Modified
- 4 Feb at 20:12
How to import a CSS file in a React Component
How to import a CSS file in a React Component I want to import a CSS file into a react component. I've tried `import disabledLink from "../../../public/styles/disabledLink";` but I get the error below...
- Modified
- 26 Jan at 16:55
Setting up enviromental variables in Windows 10 to use java and javac
Setting up enviromental variables in Windows 10 to use java and javac I got a new laptop with Windows 10 and I want to set it up so I can use `java` and `javac` from the command line. I have searched ...
- Modified
- 10 Nov at 01:3
How to update PATH variable permanently from Windows command line?
How to update PATH variable permanently from Windows command line? If I execute `set PATH=%PATH%;C:\\Something\\bin` from the command line (`cmd.exe`) and then execute `echo %PATH%` I see this string ...
adb is not recognized as internal or external command on windows
adb is not recognized as internal or external command on windows I set the `c:/android-sdk/tools` path to the path environment and commands like `emulator` is working just fine. But the `adb` command ...
Warning in Resharper "Return value of pure method is not used"
Warning in Resharper "Return value of pure method is not used" I have a quick question regarding a warning that I am getting from Resharper in Visual studio on a c# project that I am working. The warn...
Relative paths in Visual Studio
Relative paths in Visual Studio I'm working in Visual Studio 2005 and have added a text file that needs to be parsed by right-clicking the project in the solution explorer and add --> new item. This p...
- Modified
- 10 Sep at 03:35