Skip to content
Advertisement

Tag: cmd

Passing command to the called script [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed last month. Improve this question I

create a task scheduler from the command line with python and run admin privilege

I create manual tasks in the task scheduler like [here].(https://www.jcchouinard.com/python-automation-using-task-scheduler/) I want to do this in cmd but how to choose admin privilege and send all parameters like path python or my file Answer This is my command line But I get: Invalid syntax. Mandatory option ‘sc’ is missing. Type “CREATE /?” for usage. I want to do this and

how to run python script in cmd

I wrote a small project to render video in the console. I used PyCharm, and if I run the code in it everything works as it should, but how do I run the file so that the result is displayed on the console? Answer Judging from your usage of mode con, you must be on Windows. Assuming you have Python

.py executable file not able to find imported functions included in the script when executed, why?

I have a .py script which import some functions from an another .py script, located in an another directory in the same folder. And some of those scripts import functions from some other .py scripts contained in the folder itself. I have created an executable file of my main.py file (which eventually uses functions from all other files) using pyinstaller.

How do I install TensorFlow? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I have tried to install TensorFlow using pip install tensorflow but command prompt threw an error saying ERROR: Could not find a version that satisfies

How to use python -c “code here” with newlines?

The command runs the code inside the quotes successfully, both in Linux (bash) and Windows (cmd.exe). But how to pass code with newlines, with python -c? Example: both fail. Example use case: I need to send a SSH command (with paramiko) to execute a short Python code on a remote server, so I need to pass one command like ssh.exec_command(‘python

How can I run many python scripts at once?

I’m working on some python scripts using PyCharm. Running scripts from PyCharm works fine, but I tried bundling them up with a batch file and cmd just goes nuts: Other scripts which did not require importing modules worked fine. Help! Answer Is your html creator a script? Or more like module? If it’s like a module the try:

Advertisement