Related
Ynjxsjmh : I need to use a Python program to calculate something and get a result. The Python program requires input so long that it cannot be passed as an argument when calling the Python program. I will simplify this question. This is a Python program that w
Marshall Cocop I'm having a small problem with Selenium on Python. In the main script below (bottom right), I just want to manage to execute another external python script. import time, os
import re #regex
import uuid
import urllib
import subprocess, sys
impor
Simone Bolognini I want to do something like in my python code python my_prog.py -inp 3 -inp2 4
and was able to use inp and inp2 as input in my python program. what should I do? Scheldt 222888 You can use getopt to parse input parameters. Example from docu: i
Happy: I'm new to Python and have been trying to run external executables from Python. I have an executable of a program written in Fortran. Suppose the executable is named flow.exe. My executable is in C:\Documents and Settings\flow_model. I tried both the os
Omid I have python exe file made with cx_Freeze. Basically the script uses the text file "XYZ.txt" to generate the word cloud. When i run the python exe file everything is fine and the code runs fine but i plan to run it from an external program (a game that g
Owen Strand I have a .py file and I want to make it so that I can type its name in another .py file and have it run all the code in the first file. Remember, this is in Python 2.7 on a Raspberry Pi 3. Thanks! Upaka Podel Then you can use execfile() or os.syste
m I am creating a test automation program which uses an application without any interface. However, the app calls a batch script when changing modes, so I'm able to capture mode transitions. What I want to do is get the batch script to provide input to my pyth
Valerio Massari I want to set max value for digital input. I used the "max" HTML attribute, but the user can still write a number on the max value. After the user has set the input to the max value, is there any way to reset the value of that input to the max
Marshall Cocop I'm having a small problem with Selenium on Python. In the main script below (bottom right), I just want to manage to execute another external python script. import time, os
import re #regex
import uuid
import urllib
import subprocess, sys
impor
lightning fast Repeat edit: No, I did, but it didn't want to start Firefox. I'm working on a cortana/siri assistant or something and I want it to say open a web browser when I say something. So I've done the if part, but I just need it to start firefox.exe, I'
Marshall Cocop I'm having a small problem with Selenium on Python. In the main script below (bottom right), I just want to manage to execute another external python script. import time, os
import re #regex
import uuid
import urllib
import subprocess, sys
impor
Valerio Massari I want to set max value for digital input. I used the "max" HTML attribute, but the user can still write a number on the max value. After the user has set the input to the max value, is there any way to reset the value of that input to the max
I am D. Currently, I have a Python application that opens (via subprocess) an executable, waits for the user to enter some values on the GUI and performs calculations, then after closing the executable, reads the output file back to my Python application for f
lightning fast Repeat edit: No, I did, but it didn't want to start Firefox. I'm working on a cortana/siri assistant or something and I want it to say open a web browser when I say something. So I've done the if part, but I just need it to start firefox.exe, I'
Laxmi Kadariya I have a python program gold.py located at /home/laxmi/Desktop/gold/gold.py on Ubuntu. I have a python program test.py as test.py import subprocess
subprocess.Popen("python", "Desktop/gold/gold.py")
I want the program to call the gold.py progra
Valerio Massari I want to set max value for digital input. I used the "max" HTML attribute, but the user can still write a number on the max value. After the user has set the input to the max value, is there any way to reset the value of that input to the max
User 1453428 I want to write a simple wrapper for mpg123 console mp3 player in CL/CCL and would like to know how to write to mpg123 that exists as a spawned process: (let* ((p (run-program "mpg123" '("-R") :input :stream :output :stream :wait nil))
(s (
Samudra Ganguly I'm trying to make a full-fledged Java program that runs a python program. The python program is as follows: print('Enter two numbers')
a = int(input())
b = int(input())
c = a + b
print(c)
If I execute this code, the terminal looks like this:
Happy: I'm new to Python and have been trying to run external executables from Python. I have an executable of a program written in Fortran. Suppose the executable is named flow.exe. My executable is in C:\Documents and Settings\flow_model. I tried both the os
Valerio Massari I want to set max value for digital input. I used the "max" HTML attribute, but the user can still write a number on the max value. After the user has set the input to the max value, is there any way to reset the value of that input to the max
Valerio Massari I want to set max value for digital input. I used the "max" HTML attribute, but the user can still write a number on the max value. After the user has set the input to the max value, is there any way to reset the value of that input to the max
m I am creating a test automation program which uses an application without any interface. However, the app calls a batch script when changing modes, so I'm able to capture mode transitions. What I want to do is get the batch script to provide input to my pyth
I am D. Currently, I have a Python application that opens (via subprocess) an executable, waits for the user to enter some values on the GUI and performs calculations, then after closing the executable, reads the output file back to my Python application for f
Valerio Massari I want to set max value for digital input. I used the "max" HTML attribute, but the user can still write a number on the max value. After the user has set the input to the max value, is there any way to reset the value of that input to the max
Laxmi Kadariya I have a python program gold.py located at /home/laxmi/Desktop/gold/gold.py on Ubuntu. I have a python program test.py as test.py import subprocess
subprocess.Popen("python", "Desktop/gold/gold.py")
I want the program to call the gold.py progra
Simone Bolognini I want to do something like in my python code python my_prog.py -inp 3 -inp2 4
and was able to use inp and inp2 as input in my python program. what should I do? Scheldt 222888 You can use getopt to parse input parameters. Example from docu: i
User 1453428 I want to write a simple wrapper for mpg123 console mp3 player in CL/CCL and would like to know how to write to mpg123 that exists as a spawned process: (let* ((p (run-program "mpg123" '("-R") :input :stream :output :stream :wait nil))
(s (
lightning fast Repeat edit: No, I did, but it didn't want to start Firefox. I'm working on a cortana/siri assistant or something and I want it to say open a web browser when I say something. So I've done the if part, but I just need it to start firefox.exe, I'
Mesut: I'm new to Python and have been trying to run external executables from Python. I have an executable of a program written in Fortran. Suppose the executable is named flow.exe. My executable is in C:\Documents and Settings\flow_model. I tried both the os