About 50 results
Open links in new tab
  1. do-while loop in python [SOLVED] | DaniWeb

    Recommended Answers No, there is no "do ... while" loop in Python. A properly constructed while loop can do the same. If you have any problems, give us a simplified idea of what you want to …

  2. python - Hiding the console window with a tkinter ... [SOLVED] | DaniWeb

    On Windows, a console appears when the process is built or launched as a console subsystem app. If you cannot change how it is launched, you can hide the console at runtime via the Win32 API. This …

  3. python - How to go back to a line of code...? [SOLVED] | DaniWeb

    Mar 26, 2011 · Python does not have goto; you structure control flow with loops and conditionals. To avoid being prompted twice, do not read the choice before the loop. Instead, print the menu once, …

  4. python - Skipping blank lines [SOLVED] | DaniWeb

    Here's an example, basically this code is relying on the fact that Python considers an empty string, or '' to be a False, while a non-empty string is True. Let me demonstrate:

  5. python - Getting an input from arrow keys. [SOLVED] | DaniWeb

    If you want a cross-platform solution without pygame, favor an event-driven approach. With Tkinter, bind the specific arrow keys to handlers and store a single source of truth for your game state (for …

  6. python - Pickup Sticks game | DaniWeb

    Nov 27, 2011 · so i have an assignment for a class to make a pick up sticks game. This is the actual assignment: "The rules of pick up sticks are as follows: ...

  7. Reducing Video Frames and Frame Rates (FPS) ... | DaniWeb

    Dec 23, 2023 · Reducing Frame Rates Without Video Processing One of the simplest ways to reduce the frame rate of a video without applying any preprocessing to the video is to use the moviepy …

  8. DaniWeb Community - Technology and Programming Discussion

    Connect with 1,279,957 developers, IT pros, digital marketers, and tech enthusiasts. Be a part of our friendly, industry-focused community of professionals meeting, networking, learning, and sharing …

  9. keep wxpython from 'not responding' [SOLVED] | DaniWeb

    How do you keep a wx frame from not responding while the code is running in the background? ie a search or other demanding function.

  10. c - Print "Hello world 1000 times" without using ... | DaniWeb

    Jun 18, 2012 · A couple of clarifications that help frame this challenge. In standard C, only while, do-while, and for are loops; if is a selection (branch) statement, not a loop. See C11 6.8.5 for the …