Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Does anyone here use Learning Python by Mark Lutz 5th Edition?
Post: Does anyone here use Learning Python by Mark Lutz ...

I'm considering buying Learning Python, 5th Edition by Mark Lutz (https://www.amazon.com/dp/1449355730/ref...5S3WVUCW20).  I'm working my way through some tutorial books and want a good reference book...
Luke_Drillbrain General Coding Help 3 8,687 May-10-2017, 12:02 AM
    Thread: popup message box code runs in Windows, but not in Linux
Post: RE: popup message box code runs in Windows, but no...

It might be bugginess in my Kubuntu 16.04 system.  Somehow this distro has gotten really buggy lately with applications not working, settings going haywire, needing to reinstall stuff.  It's frustrati...
Luke_Drillbrain GUI 13 14,959 May-09-2017, 11:46 PM
    Thread: what is this tcl GUI code?
Post: what is this tcl GUI code?

I've been busy learning tkinter so that I can create GUIs.  I'm making progress via Bucky's tutorials.  In the process, I happened upon a different GUI tutorial using a WYSIWYG editor named Page.  Wit...
Luke_Drillbrain GUI 3 3,902 May-05-2017, 03:11 AM
    Thread: All of a sudden Pycharm doesn't run anymore (select valid interpreter)
Post: All of a sudden Pycharm doesn't run anymore (selec...

I've done a whole bunch of coding in Pycharm.  Now all of a sudden it won't run any of my Python files anymore.  It pulled up this menu: [Image: https://s20.postimg.org/g0vcy2awd/Pycharmproblem.png]...
Luke_Drillbrain General Coding Help 1 5,285 May-04-2017, 07:26 PM
    Thread: Resources for converting Python 2.x code to 3.x
Post: Resources for converting Python 2.x code to 3.x

Resources for converting Python 2.x code to 3.x I don't intend to use Python 2.x. I'll be writing all my projects in 3.x. However, sometimes I look up code samples to find solutions to problems. Why r...
Luke_Drillbrain General Coding Help 4 5,010 May-03-2017, 05:45 PM
    Thread: popup message box code runs in Windows, but not in Linux
Post: RE: popup message box code runs in Windows, but no...

An update: I don't appear to have the same problem if I call the message box from a button or from a menu.  I put the message box code inside a def named doNothing in this code.  Either the "Insert ...
Luke_Drillbrain GUI 13 14,959 May-02-2017, 08:09 PM
    Thread: popup message box code runs in Windows, but not in Linux
Post: RE: popup message box code runs in Windows, but no...

Adding the 3 worked: python3 buckymessagebox.py However, it was exactly as it was when running from Pycharm.  The main menu came up and the message box was in the background until I found it in the t...
Luke_Drillbrain GUI 13 14,959 May-02-2017, 07:49 PM
    Thread: popup message box code runs in Windows, but not in Linux
Post: RE: popup message box code runs in Windows, but no...

Okay, thanks.  I'll take note of that.  It's still not running from the command line.  The latest attempt went as follows: thomas@thomas-HP-Compaq-6200-Pro-SFF-PC:~/Documents/python_work/GUIs/thenew...
Luke_Drillbrain GUI 13 14,959 May-02-2017, 05:57 PM
    Thread: popup message box code runs in Windows, but not in Linux
Post: RE: popup message box code runs in Windows, but no...

Turns out it was running the whole time.  The popup message box ran, but it was hidden back behind other windows.  For some reason it's not immediately being shown forward under Kubuntu like it is und...
Luke_Drillbrain GUI 13 14,959 May-02-2017, 04:56 PM
    Thread: popup message box code runs in Windows, but not in Linux
Post: popup message box code runs in Windows, but not in...

This code is straight from a Bucky Roberts tutorial.  (https://www.youtube.com/watch?v=IB6VkXJVf0Y) from tkinter import * import tkinter.messagebox      ### Pull in ability to make message boxes ro...
Luke_Drillbrain GUI 13 14,959 May-02-2017, 04:22 PM
    Thread: the alternate keyboard commands / center command
Post: RE: the alternate keyboard commands / center comma...

(Apr-29-2017, 08:54 PM)Larz60+ Wrote: Here's a list of key names: http://infohost.nmt.edu/tcc/help/pubs/tk...names.html The same reference covers how to use them with bind statements. Thanks a bunch...
Luke_Drillbrain GUI 3 4,110 Apr-30-2017, 01:31 AM
    Thread: Coding style questions -- variables
Post: RE: Coding style questions -- variables

(Apr-23-2017, 11:19 PM)volcano63 Wrote: (Apr-23-2017, 11:13 PM)wavic Wrote: Don't know. The English is not my native language. :) Just follow as close as you can PEP 8 :D Mine neither  **hand**. I...
Luke_Drillbrain General Coding Help 12 9,114 Apr-30-2017, 01:21 AM
    Thread: the alternate keyboard commands / center command
Post: the alternate keyboard commands / center command

Good news – I've been working through tkinter tutorials and am learning.  The following code runs, at least it creates a GUI.   from tkinter import * root = Tk() root.title("Credentials") root.geo...
Luke_Drillbrain GUI 3 4,110 Apr-29-2017, 08:07 PM
    Thread: Worth learning QT to make GUIs for Python?
Post: RE: Worth learning QT to make GUIs for Python?

(Apr-23-2017, 03:24 AM)Larz60+ Wrote: Qt is in my opinion, is a very good .... [snip] all are done with tkinter) https://github.com/Larz60p Thanks for your reply.  I'll check out all your samples no...
Luke_Drillbrain GUI 4 5,778 Apr-24-2017, 12:35 AM
    Thread: Coding style questions -- variables
Post: Coding style questions -- variables

My coding background is in MS Visual BASIC 6.  Most of the VB books I used, including Microsoft's guidelines in MSDN advocated declaring all variables at the beginning of every sub with commenting exp...
Luke_Drillbrain General Coding Help 12 9,114 Apr-23-2017, 02:51 AM
    Thread: Worth learning QT to make GUIs for Python?
Post: Worth learning QT to make GUIs for Python?

If you're read my other posts, you know I'm new to Python and am busy studying up so that I can re-write some software that I wrote some years back in Visual BASIC 6.  I'm making some good progress in...
Luke_Drillbrain GUI 4 5,778 Apr-23-2017, 02:32 AM
    Thread: user name and password GUI works (almost)
Post: RE: user name and password GUI works (almost)

That fixed the problem.  Thanks a ton for your help.
Luke_Drillbrain GUI 3 3,596 Apr-23-2017, 02:22 AM
    Thread: user name and password GUI works (almost)
Post: user name and password GUI works (almost)

This user name and password code works if I comment out this line: top.title("User Credentials")I've tried to find where I went wrong with the syntax, but I'm coming up empty.  The rest of the code ...
Luke_Drillbrain GUI 3 3,596 Apr-22-2017, 04:06 PM
    Thread: Tkinter book for Python 2.7, but using Python 3.5/3.6
Post: Tkinter book for Python 2.7, but using Python 3.5/...

I haven't been this thrilled about a thrift store find since I found my favorite quarterback's NFL jersey in my size for 4 bucks.  I've found a book about creating GUIs with tkinter for Python at a lo...
Luke_Drillbrain GUI 2 5,478 Apr-21-2017, 06:17 PM
    Thread: Is there a goto like there is in BASIC?
Post: RE: Is there a goto like there is in BASIC?

(Apr-21-2017, 08:24 AM)Kebap Wrote: (Apr-21-2017, 04:46 AM)Luke_Drillbrain Wrote: [snip] You may want to look into python break and try/except constructs I'll look those up.  Thanks for the tip.
Luke_Drillbrain General Coding Help 24 14,574 Apr-21-2017, 02:45 PM

User Panel Messages

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