Skip to content

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 las…

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

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 e…

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 …

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&#821…