Unrecognized escape sequence for path string containing backslashes?

The following code generates a compiler error about an "unrecognized escape sequence" for each backslash: string fo...

Open file by its full path in C++?

I want the user to give me the full path where the file exists and not just the file name. How do I open the file th...

Extend $PATH variable in git bash under Windows?

I'm trying to extend my $PATH variable in git bash (MinGW shell) by adding the following to the file ~/.bashrc PATH...

Running python script inside ipython?

Is it possible to run a python script (not module) from inside ipython without indicating its path? I tried to set P...

xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist?

I'm having xcode issues when I try to use brew and git: xcrun: error: active developer path ("/Applications/Xcod...

How can I extract the folder path from file path in Python??

I would like to get just the folder path from the full path to a file. For example T:\Data\DBDesign\DBDesign_93_v141...

Relative paths in Python?

I'm building a simple helper script for work that will copy a couple of template files in our code base to the curre...

Access to the path is denied?

I know this question was asked many times here, but I can't find a solution to my problem. I'm trying to save image ...

Inno Setup (How to get dynamically path to file)??

I'm making a setup script in Inno and I was wondering, how can I get non "hardcoded" path. Here is example: Thank...

android how to rotate canvas rect?

i create a rectangle in a specific size, and now i want rotate it to 45 degree, i used canvas.rotate, matrix, but no...

How to get the filename without the extension from a path in Python??

How to get the filename without the extension from a path in Python? For instance, if I had "/path/to/some/file.txt"...

How to change the path of Python in Spyder??

I'm using Debian. I installed Python 3.2.3. The path of Python 3 is /usr/bin/python3. How do I change it in Spyder? ...

How to get the path to the current file (pwd) in Linux from C??

I'd like to know if it is somehow possible to run system("pwd") on the current DIR. So for example let's have this f...