Run Python file on spare desktop [closed] - python

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 15 hours ago.
Improve this question
Good day friends.
I've developed some discord bots on python I'd like to have running continuously. I own a spare hp z600 desktop which I would like to use for this purpose.
What would be the best way to have these running on the background?
I've tried simply running it on vs code but apparently it will put the terminal to sleep after a while.

Related

What can be the problem im failing to run opencv codes [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 days ago.
Improve this question
This is what happens when i run the codes
I have been trying to run the opencv codes and seems like if i try to run them it fails to open my webcam what could be the problem .i have tried to run on two different laptops the other one displays black on the feedback then the other gray and also writes not responding on the menu bar
Ive tried changing the machine but still im failing to run it

Input is available in VS Code? [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 2 years ago.
Improve this question
I heard that it is not possible to give input to the python program In VS Code and for this issue We should open the python file on Command Prompt.
I wonder is it really true? Because Sometimes I write code on VS Code it asks for Input but sometimes It doesn't show anything. So what is going on?
The official python extension of VSCode provides Run and Debugging, almost like a IDE. It's impossible not to support input.
As for the source of your misunderstanding, it may be an extension like Code Runner, which does not support input, just quickly help you run the code and display the output.

Import code works when typed into Shell. but not when running py.script? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I'm having some problem understanding this.
The imported code works successfully when I run the command directly in shell, but it fails when I run the identical code in a .py file
I tried downgrading to 3.5 after getting the same error in 3.7
You've called your local script "goodreads", so Python tries to import that rather than the library. Name your script something else.

CoderByte Python import statements [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have been trying to import modules on my python Coderbyte challenges, but to no avail. I noticed that the C++ challenges allow includes, so I've been relying on , for the C++ challenges.
My question is, is there a way to successfully use other modules for challenges written in Python on Coderbyte?
Coderbyte only has the standard 2.7.2 python. There is not a way to import a package they do not have setup for you to use in their environment.

simple python script to scan and connect wifi network [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I am looking for a very simple python code to scan wifi networks and connect with
I am trying to use wifi scan but I am getting error message invalid syntax. I am newbie to python. Any help will be really appreciated.
In Python there is a very useful library Scapy, that comes pre-installed in Backtrack but in other *nix distributions you need to install it.
And this is the code that might get you started.

Categories

Resources