Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: help with PyAudio
Post: RE: help with PyAudio

Pyaudio requires python 3.6. It is not compatible with newer versions. Try downgrading your python version to 3.6 and if you still have an issue this generally fixes your error. pip install pipwin pi...
DT2000 General Coding Help 1 503 Jan-18-2021, 09:56 AM
    Thread: Complicated
Post: RE: Complicated

As with any type of code language things are always advancing while others parts deprecate, so the fact is we are always learning, it is an on going lesson.
DT2000 General Coding Help 1 443 Dec-10-2020, 03:19 AM
    Thread: Resources on Learning Python
Post: RE: Resources on Learning Python

Quote:I can't seem to find The Python Tutorial by Guido Van Rossum. I think this link to the updated documents from Guido Van Rossum might offer some help. Click here. You can read the "Current Docs...
DT2000 Homework 19 1,367 Dec-08-2020, 05:27 PM
    Thread: Entry returns NONE
Post: RE: Entry returns NONE

If you change your print line to print(straat2.get()) you will get the Straat2, which is already known. I am guessing you are trying to have a distance calculator to determine the distance between th...
DT2000 GUI 2 569 Dec-06-2020, 06:50 PM
    Thread: Get text from tooltip
Post: RE: Get text from tooltip

As Larz60+ stated, please show your code and define your need. Reading your request is seems you are asking how to copy the text that is displayed in a windows tooltip popup, is that correct?
DT2000 GUI 2 508 Dec-05-2020, 05:32 PM
    Thread: Exclude hidden file, filedialog.askopenfile
Post: RE: Exclude hidden file, filedialog.askopenfile

After a some research I found a resolve that should work for you. The showHiddenVar is used to select if the hidden files will be displayed by default or not. If you don't want to allow the users to ...
DT2000 GUI 1 677 Dec-01-2020, 07:04 PM
    Thread: need help
Post: RE: need help

How to install PIP packages. 1. Type Command Prompt in the Windows search box. 2. Then ight click on the Windows Command Prompt. Then, select Run as administrator (by running the Command Prompt as an ...
DT2000 General Coding Help 27 3,927 Nov-22-2020, 11:54 AM
    Thread: On Win 10, no graphical window when run code
Post: RE: On Win 10, no graphical window when run code

Please place all code and errors in their respective tags when posting. from tkinter import * root = Tk() root.geometry('200x200') myLabel = Label(root, text = ' Hello World !') myLabel.pack() root.ma...
DT2000 GUI 10 1,110 Oct-31-2020, 11:43 PM
    Thread: tkinter | Button color text on Click
Post: RE: tkinter | Button color text on Click

Please post what you have written so it can be reviewed and commented on for help.
DT2000 GUI 2 859 Oct-09-2020, 05:53 PM
    Thread: DUAL WINDOWS...
Post: RE: DUAL WINDOWS...

You did not define the Label nor pack or place the Label widget which needs to be done for it to be published to the screen. Here it is with the font size changed to 12 so it is fits within the window...
DT2000 GUI 5 1,236 Sep-27-2020, 04:21 AM
    Thread: DUAL WINDOWS...
Post: RE: DUAL WINDOWS...

This is an example of what deanhystad is stating on using Toplevel() however in this example closing the main Tk() window (window_left) all windows close also. from tkinter import * window_left = Tk(...
DT2000 GUI 5 1,236 Sep-26-2020, 09:23 PM
    Thread: Trying to encrypt and decrypt password into a file
Post: RE: Trying to encrypt and decrypt password into a ...

Please show your attempts and the errors that have been given so they can be reviewed.
DT2000 General Coding Help 4 1,062 Aug-09-2020, 11:38 PM
    Thread: Introduction to escaping characters in strings
Post: RE: Introduction to escaping characters in strings

First and foremost please put your code in tags. print('I/m learning Python!') print("A number enclosed in double quotes: "42"")Then provide what you have already tried so you can be pointed in the di...
DT2000 General Coding Help 1 867 Jul-18-2020, 06:58 PM
    Thread: Hi, Keep postition of main window after iconify()
Post: RE: Hi, Keep postition of main window after iconif...

I am not sure that an update has been published on pypi however the above 32bit packages work the same on 64bit as they do on 32bit systems. wincore download win-api download
DT2000 GUI 3 870 Jul-12-2020, 06:59 AM
    Thread: Hi, Keep postition of main window after iconify()
Post: RE: Hi, Keep postition of main window after iconif...

You can setup the configuration for your window size and monitor display this way. When you iconify the window it will again appear in the same position as it was initially displayed, centered in the...
DT2000 GUI 3 870 Jul-11-2020, 07:56 PM
    Thread: MUSIC QUIZ
Post: RE: MUSIC QUIZ

Please use proper tags when posting code, errors so that members can follow your code.
DT2000 General Coding Help 2 1,472 Jul-03-2020, 03:08 PM
    Thread: Installing Error - Python 2.7.8
Post: RE: Installing Error - Python 2.7.8

Python 2.7 is no longer supported so I am curious why you would be trying to learn python with outdated material and writing methods? You should be attempting to learn Python 3.x
DT2000 General Coding Help 2 692 Jun-04-2020, 12:29 AM
    Thread: module to store functions/variables and how to call them?
Post: RE: Another basic question sorry im new lol

A program reads code line for line and execute according to its structure. Variables are defined and store specific values and information given to them according to the writers need or wants and they...
DT2000 General Coding Help 3 766 Jun-03-2020, 06:15 PM
    Thread: python library not defined in user defined function
Post: RE: python library not defined in user defined fun...

As mentioned above by ndc85430 you need to import your modules before the actual code functions are executed. import os def main(): fileName = "text.txt" userfunction(fileName) def userfunc...
DT2000 General Coding Help 2 856 May-30-2020, 04:14 AM
    Thread: Selecting text as an input
Post: RE: Selecting text as an input

You seem to be trying to decrypt a Caesar cypher. I have posted on this here. It would help if you showed the whole code so we can see if the message is being encrypted correctly as well.
DT2000 General Coding Help 2 691 May-29-2020, 03:05 AM

User Panel Messages

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