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 |
1,937 |
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 |
1,596 |
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 |
139,884 |
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 |
2,535 |
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 |
1,919 |
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 |
3,166 |
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 |
11,612 |
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 |
5,811 |
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 |
3,371 |
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 |
3,021 |
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 |
3,021 |
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 |
3,286 |
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 |
2,842 |
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 |
3,108 |
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 |
3,108 |
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 |
4,482 |
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 |
2,552 |
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 |
2,401 |
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 |
3,844 |
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 |
2,247 |
May-29-2020, 03:05 AM |