Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Seperate output buffer
Post: RE: Seperate output buffer

Well, I am using py_cui, so my GUI is in the terminal itself. I am using a screen session, and even if I Ctrl-Esc and scroll up, there is no other output that shows. It will show output if there is an...
matt_the_hall General Coding Help 2 2,389 Mar-15-2021, 08:44 PM
    Thread: Seperate output buffer
Post: Seperate output buffer

Hello, I am writing a program that has graphical output to the terminal. I would like to be able to see the results of print messages set to double check the output of functions, etc. I also get resp...
matt_the_hall General Coding Help 2 2,389 Mar-15-2021, 07:56 PM
    Thread: Help with structuring a program
Post: RE: Help with structuring a program

Ok, thanks -- is this a good start? ### imap.py -- A module for Slither handling all interaction with IMAP servers import ssl import imapclient from imapclient import IMAPClient host = "imap.gmail....
matt_the_hall General Coding Help 2 1,551 Mar-02-2021, 05:30 PM
    Thread: Help with structuring a program
Post: Help with structuring a program

Hello, I'm working on building a small, console based IMAP client using the py_cui and imapclient libraries. I got an initial script up and running, and I am learning/teaching myself as I am going. ...
matt_the_hall General Coding Help 2 1,551 Mar-01-2021, 05:26 PM
    Thread: IMAP authentication
Post: IMAP authentication

Hi folks, I am trying to write a console based IMAP email client and am feeling a little confused about the connection/authentication part. Some questions: Does the client connect/authenticate ever...
matt_the_hall Networking 0 2,024 Feb-23-2021, 08:38 PM
    Thread: Looking for good GUI Framework for Touch Devices
Post: RE: Looking for good GUI Framework for Touch Devic...

(Jan-27-2021, 08:16 PM)Larz60+ Wrote: kivy handles this gracefully, see: https://kivy.org/doc/stable/guide/inputs.html Thank you!
matt_the_hall GUI 2 2,220 Feb-02-2021, 03:36 AM
    Thread: How to get rid of "A programmer named Tim"
Post: RE: How to get rid of "A programmer named Tim"

Haha, I love it, thank you!
matt_the_hall Board 3 2,533 Jan-27-2021, 05:56 PM
    Thread: Looking for good GUI Framework for Touch Devices
Post: Looking for good GUI Framework for Touch Devices

Hello, I'd like to make a tablet-based note taking system and am wanting input on which GUI frameworks might be good options. My design goal is to have the user be able to tap to bring up menus of op...
matt_the_hall GUI 2 2,220 Jan-27-2021, 04:20 PM
    Thread: How to get rid of "A programmer named Tim"
Post: How to get rid of "A programmer named Tim"

For the life of me, I can't figure out how to get rid of the default "A programmer named Tim." Line under my avatar -- help!
matt_the_hall Board 3 2,533 Jan-24-2021, 04:15 PM
    Thread: Cutting and Pasting from terminal programs
Post: RE: Cutting and Pasting from terminal programs

Hello, Thanks for the reply! Yes, on a local machine terminal ctrl + shift + c or v is how to copy and paste (I'm using a Debian fork). My question above is about how to copy from the terminal sessi...
matt_the_hall Bar 2 2,404 Jan-24-2021, 04:07 PM
    Thread: Cutting and Pasting from terminal programs
Post: Cutting and Pasting from terminal programs

Hi, I am doing most of my python scripting these days using kaa edit. I ssh to the box I run my server on and run kaa whateverscript.py and get hacking. Works great, however, being a newbie at pytho...
matt_the_hall Bar 2 2,404 Jan-12-2021, 02:13 AM
    Thread: Recommendation - Mac v Windows
Post: RE: Recommendation - Mac v Windows

Bunsen Labs Linux easy, simple, looks awesome, free.
matt_the_hall Bar 11 11,217 Jan-12-2021, 02:08 AM
    Thread: Understanding Regex Groups
Post: RE: Understanding Regex Groups

(Jan-10-2021, 01:42 AM)bowlofred Wrote: (Jan-10-2021, 12:54 AM)matt_the_hall Wrote: As for tuples, my understanding is that a tuple is a fixed size (2) list. Tuples are similar to lists (they're s...
matt_the_hall General Coding Help 5 2,865 Jan-11-2021, 02:55 PM
    Thread: Understanding Regex Groups
Post: RE: Understanding Regex Groups

@bowlofred -- So sorry for the late reply, this last month or so has been a seriously tough one for me and my family. In any case, your solution worked great. Using the group method was the correct w...
matt_the_hall General Coding Help 5 2,865 Jan-10-2021, 12:54 AM
    Thread: Understanding Regex Groups
Post: Understanding Regex Groups

Hello, I'm trying to get a better understanding of regex capturing groups, because my python script is not executing as expected, based on what I understand of how regex works. I am using re.compile ...
matt_the_hall General Coding Help 5 2,865 Dec-16-2020, 07:16 PM
    Thread: Why does 'if' block run twice
Post: RE: Why does 'if' block run twice

Thanks Metulburr, First, it seems like I accidentally set up two usernames for this forum!!! I'll stick to this one from now on.... Anyhow, I think the answer may lie here: https://stackoverflow.com...
matt_the_hall General Coding Help 2 1,924 Dec-14-2020, 03:02 PM
    Thread: Sound Approach for Running a Shell Command?
Post: RE: Sound Approach for Running a Shell Command?

Apologies for the dumb errors, and thank you very much for the help!
matt_the_hall General Coding Help 8 3,431 Dec-14-2020, 02:52 PM
    Thread: Sound Approach for Running a Shell Command?
Post: RE: Sound Approach for Running a Shell Command?

This is my attempt at using the HEREDOC method: import os heredoc = """zulip-send --stream test --subject at_test --'message this is a test'END""" os.system("at 8:55 <<END%s" % heredoc) print...
matt_the_hall General Coding Help 8 3,431 Dec-09-2020, 07:21 PM
    Thread: Sound Approach for Running a Shell Command?
Post: RE: Sound Approach for Running a Shell Command?

Thanks so much for the help, I will try out the method of letting the shell do all the work. I was thinking I would have to use a heredoc and was trying to figure out the syntax within python.
matt_the_hall General Coding Help 8 3,431 Dec-09-2020, 02:15 AM
    Thread: Sound Approach for Running a Shell Command?
Post: Sound Approach for Running a Shell Command?

Hello, I'm trying to use a python script to set an At job in the shell, and I am wanting to make sure my approach is sound. My understanding is that I need to: 1. Import os to my script and use that...
matt_the_hall General Coding Help 8 3,431 Dec-08-2020, 08:31 PM

User Panel Messages

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