About 406,000 results
Open links in new tab
  1. Simple prime number generator in Python - Stack Overflow

    Mar 18, 2019 · simple_is_prime: 0.4686249239894096 So I can see that we have right answers for different questions here; for a prime number generator gen_primes looks like the right answer; but for …

  2. Copying and pasting code directly into the Python interpreter

    7 You can just import the file into the python interpreter. This will load the class in, and allow you to run the code. For instance, create a file named "bgcolors.py" and copy and paste your code inside. Then …

  3. How can I create a simple message box in Python?

    Jun 3, 2010 · You basically submit a block of Python code through a form, and the client comes and grabs it and executes it. I want to be able to make a simple popup message, without having to …

  4. Caesar Cipher Function in Python - Stack Overflow

    Jan 17, 2012 · I'm trying to create a simple Caesar Cipher function in Python that shifts letters based on input from the user and creates a final, new string at the end. The only problem is that the final cipher...

  5. Choosing a file in Python with simple Dialog - Stack Overflow

    Sep 12, 2017 · I would like to get file path as input in my Python console application. Currently I can only ask for full path as an input in the console. Is there a way to trigger a simple user interface where...

  6. How do I parallelize a simple Python loop? - Stack Overflow

    Mar 20, 2012 · This is probably a trivial question, but how do I parallelize the following loop in python? # setup output lists output1 = list() output2 = list() output3 = list() for j in range(0, 10): # calc

  7. Simple username and password application in Python

    Apr 6, 2013 · 6 I'm trying to build a simple login and password application using a dictionary. It works fine except the part where it checks if the login matches the password (in the bottom where it says …

  8. Simplest async/await example possible in Python

    Jun 8, 2018 · Still it uses ensure_future, and for learning purposes about asynchronous programming in Python, I would like to see an even more minimal example, and what are the minimal tools …

  9. How to create a simple quiz in python with multiple topics?

    Nov 7, 2014 · First of all your code is (no offence) all whack, one your completely ignoring the : s, don't use the normal input unless necessary or your in python 3. Also, please explain how your going to …

  10. python - Simple way to encode a string according to a password?

    Mar 22, 2010 · Does Python have a built-in, simple way of encoding/decoding strings using a password? Something like this: