Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

I have a program in Python that activates the virtual environment and then returns to project folder and executes the main project file: os.chdir('venv/Scripts') os.system('activate') os.chdir('../../'...
-1 votes
1 answer
63 views

I'm having an issue with the following Python code that aims to change the working directory using os.chdir: if command.startswith("cd"): #C:\Users\užívateľ\Desktop\File Manager\File Manager\...
0 votes
0 answers
51 views

I have two questions: 1) why is this simple code not changing directories? And, 2)Why doesn't my On Error code jump to the goto label? I was under the impression that the code between the Error label ...
tschop's user avatar
  • 1
0 votes
1 answer
71 views

Is there a way to change directory in Python to a folder starting by a fixed character, but the rest of the name use a "whatever the rest of the name"? path = os.getenv("HOME") ...
macbeto's user avatar
  • 127
1 vote
1 answer
360 views

Let's say I have the following in my AutoRun script: @doskey cd = @( ^ for /f usebackq^^ delims^^=^^ eol^^= %%a in (^ '$* ' ^ ) do @( ^ if "%%~a"==" " ( ^ ...
0 votes
1 answer
235 views

When linking some object files together using ld, an error occurs: undefined reference to symbol 'chdir@@GLIBC_2.2.5' undefined reference to symbol 'setlocale@@GLIBC_2.2.5' Do I need to link a ...
user avatar
0 votes
1 answer
134 views

I am currently writing a shell in C (school project). My cd and pwd is working. But when I do: cd /bin and after pwd, pwd shows /usr/bin. For me it looks like execve with pwd can't handle /bin but why?...
niki's user avatar
  • 23
0 votes
1 answer
384 views

Here is an example of my directory: Auto ├── Test │ └── Test.csv ├── Test2 │ └── Test2.csv └── new.csv I am trying to read all the csv files in the directory. Here is my code: import glob, os os....
GooseCake's user avatar
1 vote
1 answer
385 views

I'm trying to code the command cd in C without using the exec functions, I already did the cd -P version but I can't seem to find a way to do cd (cd -L) because the function chdir resolves the ...
Chae's user avatar
  • 13
0 votes
0 answers
225 views

I'm trying to create a C program that emulates a Bash shell. For the cd file instruction I use chdir("file") but it isn't correct because chdir() always resolves symlinks while cd doesn't by ...
user avatar
2 votes
2 answers
2k views

I referred to the answers given here - How to call python script on excel vba? But it didn't work for me. I simply see a screen flash before me and the Python script simply does not run. The Python ...
2 votes
0 answers
215 views

I often put the following lines at the beginning of my Maxima files load("operatingsystem")$ chdir("/Users/tilda/Documents/progs/maxima/spm/")$ to make sure that output created ...
0 votes
1 answer
216 views

Running a script with exec, how does one "backup" python process global state in its entirety and restores it afterwards? code example: import os print(os.getcwd()) a = 8 print(a) exec_scope ...
-1 votes
1 answer
501 views

char *home = getenv("HOME"); if (!strcmp(t->argv[0], "cd")) { if (!t->argv[1]) { chdir(home); } if (chdir(t->argv[1])) { ...
0 votes
2 answers
420 views

I get a valid connection with phpseclib but because of the server's requirements I must issue a change remote directory command, $sftp->chdir($dir="//ARTDONE.G9876TT1"), to this directory,...

15 30 50 per page
1
2 3 4 5
...
14

AltStyle によって変換されたページ (->オリジナル) /