Skip to content
Advertisement

Tag: input

Make option HTML tag set something in the url – Django

I am trying to do something, but I don’t know if it’s acutally possible… Basically I’m trying to pass information in the url… (something like this) but instead of using a text input I would like the user to simply click an option in a dropdown menu… (like this) Is it possible to do so? Hopefully I’ve explained myself decently

Too Much Wait TIme

So I was trying to use a procedure(with a parameter)…I asked the user for inputs and created a validate function to check the inputs and see if they are strings…I checked it but the outputs are taking too long to output. How do I fix this? I tried: But it came out to be: Enter first character(lower cases) or press

How to take Nested list as an input.?

how can I take this list below as an input in python directly. Do I have to use input() function and then arrange them using a for loop or there is any method to take it directly as input. Do I have to use this code only to take nested list as input or there is any other direct method

Issue with Subprocess Popen Python

I searched on stack overflow but I did’nt find a correct answer. I use subprocess popen to call and run an entire python script and it works fine, like that : subprocess.Popen([‘python3’, ‘/home/pc/Dossier/Dossier2/Nom.py’], ) But in my system I want to modify a variable in the script Nom.py when I call it with subprocess popen. I heard about inputs parameters

How to add aliases to an input dictionary?

Recently I started a project. My goal was it to have a script, which, once launched, could be able to control actions on the hosts computer if an instruction was send via email. (I wanted this so I could start tasks which take a long time to complete while I’m away from home) I started programming and not long after

Different lines of input and output in Python

I’m currently trying to solve the max value problem. However, I’m now having a hard time getting many outputs at the same time. I try to use input().splitlines() to do it, but I only get one output. The test case and output need to have many lines just as the box’s examples. If anyone can provide me with some assistance,

limited input numbers and save a list into a list

user input example split using ” ” the space between them and turn them to inteager the and should be = but after spliting and converting each number should be < 10 and >= 0 and save it to be the i need to input the line 9 times not once and been duplicate Answer Here’s the code updated for

Advertisement