Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I would like to add add/programs like adobe acrobat reader and other application in windows XP using Python script. Kindly looking for some help.
Thanks in advance!
Everest.
Are you installing or uninstalling?
Installing:
Easy way: subprocess.Popen the installer.
Nearly-as-easy way: subprocess.Popen the installer, with some Windows hackery so that the user doesn't have to click anything.
Uninstalling:
As above.
Hard way: work out the files changed on the computer and revert them manually.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
When I want to execute Python in my command prompt, Windows always redirects me to the windows store to download Python. But I've already installed Python (python.org). So how can I adjust, that the command prompt uses the downloaded Python?
Just py instead of python or python3
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
Just like the title says, I would like to turn on my raspberry pi and have it automatically open a terminal and that terminal would automatically start a python script. Preferably in a way where I can run 4 different terminals each running a different .py file.
I have done the rc.local approach but the programs do not open in a terminal and that is essential for the functionality of the code.
Any suggestions?
Edit the file found here:
/etc/xdg/lxsession/LXDE/autostart
add your commands to it
#python PathToScript/script.py
Edit: I realize you want the terminal open. I believe this will work
#lxterminal --command "python pathToScript/script.py"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I came across this while trying to use a Python script that used ~Email to refer to the email column of a csv. When entering just ~email / ~Email into a prompt, it returns
host is down: /Network/Servers/my.server.domain/Volumes/files/teachers/Group
This happens in bash, zsh, iterm, terminal, and on other computers bound to our server. These other computers have no aliases or command line utilities set up. Can someone explain this to me and how I can disable it to be able to use this script?
OS 10.9.5
It's the home directory of an account named email. You can avoid this shell home directory-substitution by escaping the ~ (\~email) or single-quoting the string ('~email').
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
We are having difficulty installing our Python distribution in a way that will allow multiple users of the same computer to program in Python.
We switched the computers in our lab over to active directory with a mandatory profile. The problem is that Enthought Canopy puts several hundred MB of material in the profile itself. This makes it incredibly slow when a new user logs on. Can I get Canopy to install somewhere else, like a "normal" program?
Any help would be much appreciated, and I apologize if there is some obvious answer I am missing.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have python 3.1 installed, and I have added it to the system path too. Now I can open "cmd" and type python to start python, but whenever I try to open cmd in a specific directory by using (shift + right click -> open command prompt here), and type python, it says "command not found"!
How can I fix this?
Right click on my computer>got to properties>advanced settings>environmental variables>
choose path and add the installed python dirtory to that path as like below:
C:\WINDOWS\system32;C:\WINDOWS;C:\Python27
You need to set up the environment variables in Windows.