Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: user inputing data until in range
Post: user inputing data until in range

How can I make the function to repeat until user enter value in the range and only then to break ? def scale(freq): freq = input("Enter a fundamental frequency number: ") freq = int(fr...
Omer_ General Coding Help 1 1,598 Sep-24-2020, 07:01 PM
    Thread: Help with tkinter gui and functions
Post: Help with tkinter gui and functions

Hi, I have this gui interface: #from tkinter import * import tkinter as tk root = tk.Tk() HEIGHT = 700 WIDTH = 600 canvas = tk.Canvas(root, height=HEIGHT, width=WIDTH) canvas.pack() # backgrou...
Omer_ GUI 0 1,520 Sep-22-2020, 11:43 AM
    Thread: Help with define a def function
Post: RE: Help with define a def function

import tkinter as tk HEIGHT = 500 WIDTH = 600 def multiple(fund): ratio = [1.222223, 1.25, 1.33, 4.3, 1.23, 2.323] i = 0 for i in range (len(ratio)): nfreq = fund * (ratio[i]) ...
Omer_ General Coding Help 3 2,160 Sep-20-2020, 06:59 PM
    Thread: Help with define a def function
Post: Help with define a def function

Hi, I have this code: ordinal = ['2nd','3rd','4th','5th','6th','7th','8th','9th','10th','11th','12th'] ratio = [1.222223, 1.25, 1.33,4.3,1.23,2.323] i = 0 freq=int(input("Enter a fundamental freque...
Omer_ General Coding Help 3 2,160 Sep-20-2020, 06:25 PM
    Thread: creating right click app in python
Post: creating right click app in python

Hello there, I'm new to python and I wanted to know if the idea I'm thinking of is possible to make with python: Is it possible to create an app that when you right-click on a marked word/sentence in...
Omer_ General Coding Help 0 1,328 Sep-19-2020, 08:44 AM
    Thread: invalid syntax when trying install package
Post: invalid syntax when trying install package

I tried to install a requirements.txt but I keep getting this message: screen shot I google and youtube search for answer but could not get any. Thanks for any help!
Omer_ General Coding Help 1 2,376 Jul-28-2020, 03:44 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020