On 15/01/2025 00:41, Keith Thompson via Python-list wrote:
> Alan Gauld writes:
>> On 11/01/2025 14:28, Chris Green via Python-list wrote:
>>> I'm looking for Python packages that can help with text mode input,
>>
>> The standard package for this is curses whi
On 15/01/2025 00:54, Grant Edwards via Python-list wrote:
> are your friend. If that's not sophisticated enough the gnu "readline"
> library with a simple command processor is a common next step.
On that front the cmd module in Python is often overlooked
but is useful for structuring a non-GUI-li
On 14/01/2025 00:20, Grant Edwards via Python-list wrote:
> On 2025-01-13, Alan Gauld via Python-list wrote:
>
>> All of that is possible in curses, you just have to code it.
>
> All of that is easy with curses in C. Unfortunately, the high level
> "panel" and &q
On 11/01/2025 14:28, Chris Green via Python-list wrote:
> I'm looking for Python packages that can help with text mode input,
The standard package for this is curses which comes as part
of the standard library on *nix distros.
> What I'm specifically after is a way to provide a default value that
On 04/11/2024 15:32, Ulrich Goebel via Python-list wrote:
> I would like to build a class ScrolledListbox,
I assume like the one that used to be available via the Tix module?
It's a great shame that Tix is gone, it had a lot of these useful
widgets, but they were all wrappers around Tcl/Tk's Tix
On 31/10/2024 20:50, Cameron Simpson via Python-list wrote:
> That looks to me like quoted-printable. This is an encoding for binary
> transport of text to make it robust against not 8-buit clean
...
> If you're just dealing with this directly, use the `quopri` stdlib
> module: https://docs.py
On 14/08/2024 23:32, Left Right via Python-list wrote:
>> it became simple and straightforward to
>> download and install packages.
>
> I think the right word for this is "delusional".
I agree. But even if it worked it doesn't alter the fact
that by not having batteries included it puts the onus
On 06/07/2024 11:49, Rob Cliffe via Python-list wrote:
> If the file does not exist I want to take appropriate action, e.g.
> print an error message and abort the program.
> I might write it like this:
>
> try:
> with open(FileName) as f:
> for ln in f:
> print("I
On 08/06/2024 20:18, Rob Cliffe via Python-list wrote:
> OK, here is the advanced version:
> import os
> class _cls(object):
> def __repr__(self):
> os.system('cls')
> return ''
> cls = _cls()
>
> Now when you type
> cls
> it clears the screen.
For me on a Mac it clears t
On 18/05/2024 19:12, Piergiorgio Sartor via Python-list wrote:
>> So venvs make managing all that pretty convenient. Dunno why everybody's
>> so down on venvs...
Not so much down on them, they are just one extra step that's
mostly not needed(in my use case)
> Only people which are *not* using p
On 14/05/2024 18:44, Gordinator via Python-list wrote:
> I wish to write a terminal emulator in Python. I am a fairly competent
> Python user, and I wish to try a new project idea. What references can I
> use when writing my terminal emulator? I wish for it to be a true
> terminal emulator as we
On 10/04/2024 19:50, WordWeaver Evangelist via Python-list wrote:
> I have a simple question. I use the following textPrompt in some of my Jython
> modules:
> '\n[1;33mYour choice is? (A B C D E): ', maxChars=1, autoAccept=False,
> forceUppercase=True)
> Is there a way to add an ANSI color cod
On 30/03/2024 07:04, Greg Ewing via Python-list wrote:
> On 30/03/24 7:21 pm, HenHanna wrote:
>> https://xkcd.com/1306/
>> what does SIGIL mean?
>
> I think its' a Perl term, referring to the $/@/# symbols in front of
> identifiers.
There seem to be several derivation
On 10/03/2024 18:08, Sanskar Mukeshbhai Joshi via Python-list wrote:
> I had made my project in BCA in Python. When I had complete my
> project and run the program, at that time I got the error in
> runnig my project. The error was ModuleNotFoundError: No module named 'flask'.
Flask is a third
On 05/03/2024 22:46, Grant Edwards via Python-list wrote:
> Unfortunately (presumably thanks to SEO) the enshittification of
> Google has reached the point where searching for info on things like
> Python name scope, the first page of links are to worthless sites like
> geeksforgeeks.
And not just
On 27/02/2024 07:13, Steve GS via Python-list wrote:
> Aside from using it to resized
> the window, is there no way to
> know the last value of the
> change for use in the program?
The last value would be the current width.
And you know how to get that as shown in
your configure function:
Ww = r
On 26/02/2024 11:02, Steve GS via Python-list wrote:
> Although your code produces the value of Ww outside the function,
> I do not see how I can use the value of Ww unless I close the program.
You have to use a function that operates inside the mainloop.
Thats the nature of event driven programs
On 26/02/2024 07:56, Steve GS via Python-list wrote:
> Then there is that discovery
> element: Why is my original
> idea not working? I still
> cannot pass the value back
> from the function. What is
> different about this function
> that others would have given
> me the value?
There is nothing
On 25/02/2024 03:58, Steve GS via Python-list wrote:
import tkinter as tk
Ww = None
def on_configure(*args):
global Ww
Ww = root.winfo_width()
print("Ww Inside = <" + str(Ww) + ">")
root = tk.Tk()
root.bind('', on_configure)
root.mainloop()
print("Ww Outside = <" + str(Ww)
On 04/01/2024 04:17, Thomas Passin via Python-list wrote:
>> I'm probably missing something obvious here but can't you
>> just assign your function to a class member?
>>
>> def myFunction(obj, ...): ...
>>
>> class MyClass:
>> myMethod = myFunction
>
> That works if you assign the function t
On 03/01/2024 22:47, Guenther Sohler via Python-list wrote:
> Hi,
>
> In my cpython i have written quite some functions to modify "objects".
> and their python syntax is e.g.\
>
> translate(obj, vec). e.g whereas obj is ALWAYS first argument.
> However, I also want to use these functions as clas
On 29/12/2023 01:05, Félix An via Python-list wrote:
> I'm used to C# WinForms, which has an easy-to-use drag-and-drop GUI
> designer in Visual Studio. Is there anything similar for Tk? How about
> Qt?
There are any number of them but few that work well. The best
I found was Dabo but it uses it
On 25/12/2023 05:34, geetanajali homes via Python-list wrote:
>> import numpy as np
>> import pandas as pd
>> import random
>> import matplotlib.pyplot as plt
>> %matplotlib inline
>>
>> I get an error on the last line. I am running this code in Idle Python
>> 3.4.4 Shell...
Python names c
On 17/11/2023 03:38, Terry Reedy wrote:
> There have been other reports on the cpython issue tracker than Sonoma
> broke bits of tk behavior.
> https://github.com/python/cpython/issues?q=is%3Aissue+label%3AOS-mac+is%3Aclosed
>
> shows a couple
Thanks Terry, I had a browse and it seems I'm no
I have a little app that I wrote ages ago (2015) using tkinter/ttk
and it just works. Or it did, up until the latest MacOS version upgrade
and now it has become very sporadic in response to mouse clicks.
For example I have a drop-down list and I can drop the list but
then it won't let me select an
On 15/11/2023 07:25, Grizzy Adams via Python-list wrote:
> for s in students:
> grades.append(s.school)
> grades.append(s.name)
> grades.append(s.finalGrade())
> if s.finalGrade()>82:
> grades.append("Pass")
>
On 14/11/2023 00:33, Mats Wichmann via Python-list wrote:
> Hardware and software people may have somewhat different views of xor
I've come at it from both sides. I started life as a telecomms
technician and we learned about xor in the context of switching
and relays and xor was a wiring configura
On 25/10/2023 12:44, o1bigtenor via Python-list wrote:
> Haven't heard of a python IDE - - - doesn't mean that there isn't such - -
There are literally dozens with varying degrees of smartness.
The big 4 all have Python plugins/environments:
Eclipse, Netbeans, VisualStudio, IntelliJ
And of cours
On 25/10/2023 00:08, o1bigtenor via Python-list wrote:
> So how does one test software then?
Testing is very different to proving!
As an industry we do a lot of testing at many different levels.
On bigger projects you'll find:
- Unit tests - testing small fragments of a bigger program
- Integrati
On 24/10/2023 22:51, Grant Edwards via Python-list wrote:
>>> Is there a way to verify that a program is going to do what it is
>>> supposed to do even before all the hardware has been assembled and
>>> installed and tested?
> And the specified customer requirements are usually wrong too. Sure,
>
On 15/09/2023 11:49, scruel tao via Python-list wrote:
> ```python
class A:
> ... def __init__(self):
> ... pass
> On many books and even the official documents, it seems that
> many authors prefer to call `__init__` as a "method" rather
> than a "function".
That' because in OOP term
On 31/08/2023 22:15, Chris Green via Python-list wrote:
> class Gpiopin:
>
> def __init__(self, pin):
> #
> #
> # scan through the GPIO chips to find the line/pin we want
> #
> for c in ['gpiochip0', 'gpiochip1', 'gpioch
On 05/07/2023 01:27, Chris Angelico via Python-list wrote:
>> So I'm curious about how big this "big problem with MI" is in
>
> Who said it's a big problem with MI?
I think it's a very common perception, particularly with
newer programmers who have never used it in anger. Any
time anyone discus
On 03/07/2023 19:39, Chris Angelico via Python-list wrote:
> On Tue, 4 Jul 2023 at 03:39, Peter Slížik via Python-list
>> The legacy code I'm working with uses a classic diamond inheritance.
> What happens when Top is initialized twice? This seems like a problem
> waiting to happen, and when you
On 15/06/2023 08:58, Real Live FootBall Tv via Python-list wrote:
> I have followed the instructions given on how to install the app. What I
> needed was an application to cut of silence from my video and I saw auto
> editor demonstrated as one of the applications that could do that. It does
> cut
d and
reinstalled about twice and still no success hence I uninstalled it.
On Mon, 12 Jun 2023, 23:33 Alan Gauld via Python-list,
mailto:python-list@python.org>> wrote:
On 12/06/2023 10:26, Real Live FootBall Tv via Python-list wrote:
> I did it because I was going to use it with another
On 12/06/2023 10:26, Real Live FootBall Tv via Python-list wrote:
> I did it because I was going to use it with another application, A VIDEO
> EDITING APP, Auto EDITOR but it didn't work for some reasons unknown to me.
You need to define "didn't work"
Did it work as a python interpreter?
ie. Di
On 19/05/2023 19:46, Grizzy Adams wrote:
> Tried that
> RESTART: D:\Shades\Tools\Python\Temp\cube.py
cubes()
> Traceback (most recent call last):
> File "", line 1, in
> cubes()
> TypeError: 'list' object is not callable
Ah, now I understand. cubes is
On 19/05/2023 13:36, Grizzy Adams wrote:
>> Looks like you are using IDLE?
>
> Yes
>
>
> From consol
>
import cube
cubes
> Traceback (most recent call last):
> File "", line 1, in
> cubes
> NameError: name 'cubes' is not defined
You imported cube but tried to use cubes. I'm
On 19/05/2023 07:44, Grizzy Adams via Python-list wrote:
> when typed in console or editor and run with F5 (which saves before it can
> run)
>
> But sometimes saved work (albeit small) when imported does not work any longer
Looks like you are using IDLE? If so, it's possible that in the origin
On 16/05/2023 10:06, Cameron Simpson wrote:
>> I'm curious as to why nntplib is deprecated? Surely there are still a
>> lot of nntp servers around, both inside and outside corporate firewalls?
>> Is there a problem with the module or is it just perceived as no longer
>> required?
>
> See PEP 594:
On 15/05/2023 22:11, Grant Edwards wrote:
> I got a nice warning today from the inews utility I use daily:
>
> DeprecationWarning: 'nntplib' is deprecated and slated for removal in
> Python 3.13
>
> What should I use in place of nntplib?
I'm curious as to why nntplib is deprecated? Surely t
On 04/05/2023 22:38, c.bu...@posteo.jp wrote:
> Hello,
>
> am I right to assume that "pygettext" is part of the official Python3
> "package"? So it is OK to aks here?
>
No it doesn't appear to be. It is not listed in the standard library.
It is mentioned in the documentation for gettext which i
On 24/04/2023 17:26, Grant Edwards wrote:
> Does the Python curses support in the standard library not include
> support for the curses form library? It seems to include support for
> the panel library, but I can't find any mention of the form library.
I don't believe so. If you are building termi
On 19/04/2023 10:51, Kevin M. Wilson via Python-list wrote:
> I'm in a bit of a quandary, I want some strict syntax errors to be flagged,
OK, You might want to use a "linter" in that case because most
tools use the interpreter itself to flag syntax errors.
> but the use of single quotes vs dou
> 在 2023/4/15 2:33, angela vales 写道:
>> I have recently created a tkinter app and need the ability to copy and
> paste data from tksheet table into an Excel file.
First thanks for drawing my attention to tksheet. I've long
been desiring a decent table widget in tkinter and was on the
verge of t
On 14/04/2023 00:25, avi.e.gr...@gmail.com wrote:
> Is there any concept in Python of storing information in some way, such as
> text, and implementing various ideas or interfaces so that you can query if
> the contents are willing and able to be viewed in one of many other ways?
Are you talking
On 13/04/2023 20:35, Chris Angelico wrote:
> REXX - where everything is a string,
> It was quite the experience back in the day (as OS/2's native
> scripting language),
I briefly met REXX on a mainframe, but I did play with OS/2 for
a year or two. Back when it looked like it might be a rival to
On 01/04/2023 18:21, Jim Schwartz wrote:
> Are there any ide’s that will let me design the screen and convert it to
> python?
There is nothing remotely like the VB or Delphi GUI builders.
There are some tools somewhat similar to the Java Swing and
FX GUI builders with varying degrees of buggine
On 31/03/2023 13:00, Jim Schwartz wrote:
> I want a windows installer to install my application that's written in
> python, but I don't want the end user to have access to my source code.
Others have commented that at some level it will always be thre but on a
more pragmatic level tools like py2
On 18/03/2023 12:15, Peter J. Holzer wrote:
>> I think you might be meaning TurboPascal, Delphi's forerunner. It just
>> had a compiler and text editor.
>
> I'd still classify Turbo Pascal as an IDE. It wasn't a standalone
> compiler you would invoke on source files you wrote with some other
It
On 17/03/2023 17:55, Thomas Passin wrote:
>> I used Delphi and Smalltalk/V which both pretty much only exist within
>> their own IDEs and I used their features extensively.
>
> Back when Delphi first came out, when I first used it, I don't remember
> any IDE; one just used a text editor.
I thin
Oops! I meant to send this to the group not just Dave.
Forwarded Message
On 16/03/2023 22:55, dn via Python-list wrote:
> Do you make use of your IDE's expansionist tendencies, and if-so, which
> ones?
When I'm writing Java/C++/C# yes, I need all the IDE help I can get.
Netb
On 08/03/2023 21:56, aapost wrote:
> When making a UI there are a lot of binding/trace operations that need
> to occur that lead to a lot of annoying 1 use function definitions. I
> don't really see lambda use like below.
Lambdas are very common in GUI callbacks but I admit I've never seen
tuple
On 04/03/2023 17:38, avi.e.gr...@gmail.com wrote:
>
> Of course each language has commonly used idioms
>
That's the point, the correct term is probably "idiomatic"
rather than "pythonic" but it is a defacto standard that
idiomatic Python has become known as Pythonic. I don't
think that's a prob
On 02/03/2023 20:54, Ian Pilcher wrote:
> Seems like an FAQ, and I've found a few things on StackOverflow that
> discuss the technical differences in edge cases, but I haven't found
> anything that talks about which form is considered to be more Pythonic
> in those situations where there's no funct
On 26/02/2023 00:54, Greg Ewing via Python-list wrote:
> On 26/02/23 10:53 am, Paul Rubin wrote:
>> I'm not on either list but the purpose of the tutor list is to shunt
>> beginner questions away from the main list.
I'm not sure that's why we set it up but it is
certainly a large part of our remit
On 28/01/2023 21:36, Dennis Lee Bieber wrote:
> Now -- last time I checked the gmane server says posting is prohibited.
> I used to use gmane as it retrieved directly from the mailing list
I still use gmane but its no posting thing is a pain because responding
(or posting new stuff) is a n
On 02/01/2023 02:14, avi.e.gr...@gmail.com wrote:
> I used PASCAL before C and I felt like I was wearing a straitjacket at times
> in PASCAL when I was trying to write encryption/decryption functions and had
> to find ways to fiddle with bits. Similar things were easy in C, and are
> even easier in
On 31/12/2022 05:45, Goran Ikac wrote:
> b = a.append(3)
> I mean: why b = a.append(something) is the None type, and how to make a new
> list that contains all the items from a and some new items?
append() like many other collection methods in Python works
in place and returns None. But the act
On 17/12/2022 11:51, Paul St George wrote:
> I have a large/long array of numbers in an external file. The numbers look
> like this:
>
> -64550.727
> -64511.489
> -64393.637
> -64196.763
> -63920.2
> When I bring the numbers into my code, they are Strings. To use the
> numbers in my code, I wan
On 12/12/2022 17:45, Alan Gauld wrote:
Absolutely nothing apparently!
But in practce I did pen some esponses to Davids post. However
this list seems to strip out what I've written, its happened
a few times now. Not every time but enough that I rarely post
here.
But I'll try once mor
On 11/12/2022 21:07, dn wrote:
> On 11/12/2022 23.09, Chris Green wrote:
>> Is the only way to read single characters from the keyboard to use
>> curses.cbreak() or curses.raw()? If so how do I then read characters,
>> it's not at all obvious from the curses documentation as that seems to
>> think
On 03/11/2022 18:29, Chris Angelico wrote:
> On Fri, 4 Nov 2022 at 05:21, Julieta Shem wrote:
>>
>> Chris Angelico writes:
>>
>>> On Thu, 3 Nov 2022 at 21:44, Alan Gauld wrote:
>>>> Also Python is not a purely OOP language, in that you can write
>&g
On 03/11/2022 00:25, Julieta Shem wrote:
>> |OOP to me means only messaging, local retention and protection and
>> |hiding of state-process, and extreme late-binding of all things.
>
> I'm wondering how Python fails to satisfy his definition.
Python doesn't do any form of data protection/hiding.
On 02/11/2022 20:21, Dennis Lee Bieber wrote:
>> shows that in Python we do *not* need subclassing/inheritance
>> for polymorphism!
>>
> To me, that is not really an example of polymorphism, but more an
> example of Python's "duck typing".
But duck typing is a perfectly good implementatio
On 01/11/2022 17:58, Julieta Shem wrote:
> nowhere in trying to detect in high-precision what is OOP and what is
> not.
Stefan has given a good answer but essentially OOP is a program
that is structured around objects communicating by sending
messages to one another.
Objects are, in most (but n
On 30/10/2022 14:01, Julieta Shem wrote:
> I wrote the classes
>
> class Empty:
> ...
> class Pair:
> ...
>
> (*) How to build a stack?
>
> These Lisp-like sequences are clearly a stack.
That is a very important observation. A Pair IS-A Stack(sort of).
If you had a stack you coul
On 05/05/2022 02:36, Patrick 0511 wrote:
> Hello, I'm completely new here and don't know anything about python.
Do you know any other programming languages?
That makes a huge difference in what you should start with!
> Can someone tell me how best to start?
> So what things should I learn first
On 15/04/2022 19:53, MRAB wrote:
>> When I start the program I get a Terminal window as well
>> as the GUI. On Windows I'd run it with pythonw and in Linux
>> ...
>> Does anyone know how to launch a Python program from the
>> desktop without a Terminal window (or at least with an
>> iconified on
I've just migrated from a Linux PC to a Mac mini running Monterey.
I have a Python GUI(Tkinter) app that I wrote on Linux
and have managed to get working on MacOS except
When I start the program I get a Terminal window as well
as the GUI. On Windows I'd run it with pythonw and in Linux
I jus
On 19/02/2022 11:28, Shaozhong SHI wrote:
> I have a cvs file of 932956 row
That's not a lot in modern computing terms.
> and have to have time.sleep in a Python
> script.
Why? Is it a requirement by your customer? Your manager?
time.sleep() is not usually helpful if you want to do
things qui
On 23/12/2021 11:01, Julius Hamilton wrote:
> Lastly, the "help" function.
>
> I find "help" to similarly be a situation of information overload.
I assume you know that you can target help() to the specific
attribute or function you need not just the top level classes?
So combined with dir() yo
On 10/10/2021 09:49, Steve Keller wrote:
> I have found the sum() function to be much slower than to loop over the
> operands myself:
>
> def sum_products(seq1, seq2):
> return sum([a * b for a, b in zip(seq1, seq2)])
>
> def sum_products2(seq1, seq2):
> sum = 0
> for a, b in zip(seq1, seq2):
> s
On 16/09/2021 06:50, af kh wrote:
> Hello,
> I was doing some coding on a website called replit
I have no idea what that is but...
> after answering 'no' or 'yes' after the last sentence I wrote,
> the Python window shut off,
That's what you told it to do in the code.
Regardless of which answe
On 12/09/2021 09:11, jak wrote:
> if the only way to terminate a 'while True' loop is by using the 'break'
> statement, why is it allowed to add the 'else' statement which will only
> contain dead code?
>
> while True:
> break
> else:
> print('dead code')
>
Because to the interpreter
On 11/09/2021 15:41, Peter J. Holzer wrote:
> How is C's do/while loop more horrible than Pascal's repeat/until?
Because it is very hard to spot or distinguish from a normal
while loop.
while condition ;
Is a valid (and fairly common) loop in C
so code that has
do{
code
}
while condition;
L
On 10/09/2021 19:49, Stefan Ram wrote:
> Alan Gauld writes:
>> OK, That's a useful perspective that is at least consistent.
>> Unfortunately it's not how beginners perceive it
> ...
>
> Beginners perceive it the way it is explained to them by
> their tea
On 10/09/2021 16:36, MRAB wrote:
>> while...else...
>>
>> executes the else if the body of the loop does NOT get executed.
>>
>> for...else...
>>
>> executes the else iff ALL iterations of the for loop DO complete.
>>
> [snip]
>
> In both cases, it executes the 'else' part if it didn't break out
On 10/09/2021 00:47, Terry Reedy wrote:
> even one loop is guaranteed.) "do-while" or "repeat-until is even rarer
> since fractional-loop include this as a special case.
Is there any empirical evidence to support this?
Or is it just a case of using the tools that are available?
In my experience
On 09/09/2021 22:36, dn via Python-list wrote:
> Even in fairly modest Python constructs, we quickly repeal the one-in,
> one-out philosophy because try...except operates by providing another
> exit-path.
Exceptions are exceptional by their nature (or should be!) As such
they can arguably be excu
On 07/09/2021 15:53, Grant Edwards wrote:
> I remember engineering manager I worked with about 35 years ago who
> used a set of C macros to try to make his code look as much like BASIC
> as possible:
>
> #define IF if (
> #define THEN ) {
> #define ELSE } else {
> #define ENDIF }
> ...
On 03/09/2021 18:37, Chris Angelico wrote:
Without DST the schools opened in the dark so all the kids
had to travel to school in the dark and the number of
traffic accidents while crossing roads jumped.
>
> Are you saying that you had DST in winter, or that, when summer *and*
> DST
On 02/09/2021 19:30, Chris Angelico wrote:
>> Without DST the schools opened in the dark so all the kids
>> had to travel to school in the dark and the number of
>> traffic accidents while crossing roads jumped.
>
> How do they manage in winter?
That was the winter. Sunrise wasn't till 10:00 or
On 02/09/2021 20:11, MRAB wrote:
>> In one of them (I can't recall which is which) they change on the 4th
>> weekend of October/March in the other they change on the last weekend.
>>
>>
> In the EU (and UK) it's the last Sunday in March/October.
>
> In the US it's second Sunday in March and the f
On 02/09/2021 19:28, Chris Angelico wrote:
>> Except for the places that don't follow the IANA scheme and/or
>> dynamically change their time settings on a whim. To be complete
>> you need the ability to manually override too.
>>
>
> What places are those?
Mainly small non-tech oriented places
On 31/08/2021 23:31, Chris Angelico wrote:
> Ah, good to know. I think that actually makes a lot of sense; in the
> US, they try to let everyone pretend that the rest of the world
> doesn't exist ("we always change at 2AM"), but in Europe, they try to
> synchronize for the convenience of commerce
On 31/08/2021 22:32, Chris Angelico wrote:
> If we could abolish DST world-wide, life would be far easier. All the
> rest of it would be easy enough to handle.
We tried that in the UK for 2 years back in the '70s and very
quickly reverted to DST when they realized that the number
of fatalities amo
On 31/08/2021 22:13, Chris Angelico wrote:
> But ultimately, it all just means that timezones are too hard for
> humans to handle, and we MUST handle them using IANA's database. It is
> the only way.
Except for the places that don't follow the IANA scheme and/or
dynamically change their time sett
On 31/08/2021 13:45, Chris Angelico wrote:
> (I find the Ireland situation particularly amusing.
Time zones and daylight saving arrangements in particular are a
nightmare at the micro level. I once worked on a large customer
support application which required all dates/times to be viewable
in UT
On 29/08/2021 11:28, Hari wrote:
> i was download ur python software but it is like boring user interface
I agree it is a boring user interface. Just 3 chevrons: >>>
You can change it a little if you want but ultimately its
just an invitation to type commands.
What kind of interface did you have
On 28/08/2021 21:50, Hope Rouselle wrote:
>>> roll_count = 0
>>> while True:
>>> outcome = roll_two_dice()
>>> roll_count += 1
>>> if outcome[ 0 ]== outcome[ 1 ]: break
>>> return roll_count, outcome[ 0 ]
>>
>
> Wait, I'm surprised ``outcome'' is still a valid name at the
> return-sta
On 21/08/2021 19:37, Tony Genter wrote:
>Tkinter stopped working overnight from 8/20/2021 to 8/21/2021. Last night
>I was working on tutorials to work on a GUI and this morning every file
>that uses tkinter is broken stating that no module `tkinter' exists.
Are you sure you were runni
On 13/07/2021 21:24, Rich Shepard wrote:
> What have other developers used for the UI on a stand-alone database
> application not using a web browser?
Mostly I just use a scrolledlistbox and a set of functions for
formatting the data into columns for display. The big snag is
you can't do spreads
On 17/06/2021 00:15, Rich Shepard wrote:
> When I view my contacts table it needs to includes attributes from the
> company, people, and contacts tables so I can view all prior contacts with
> that person.
Sounds like a job for a database view.
Can you modify the database schema? Could you create
On 16/06/2021 21:45, Rich Shepard wrote:
> The two applications I'm building are both database applications. If
> tksheet() is not the most appropriate widget to display database tables what
> alternative would be better?
I've not used tksheet but it sounds like it might be worth investigating.
On 13/06/2021 04:21, dn via Python-list wrote:
> What do you think a professionally-recognisable series of skill-levels
> for programmers?
This has been done or attempted many times, with perhaps the most
complete scheme being the British Computer Society's
"Industry Standard Model" which breaks
On 11/06/2021 22:20, Rich Shepard wrote:
> I need a date picker
+1
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
--
https://mail.python.org/ma
On 02/06/2021 14:35, jayshankar nair via Python-list wrote:
> import tools.fab.dev_utils as dev_utilsImportError: No module named
> tools.fab.dev_utils
> Please let me know which package i have to install.
Work backwards.
Can you import tools.fab?
Can you import tools?
Once you know what you do
On 01/06/2021 21:18, Rich Shepard wrote:
> On Sun, 30 May 2021, Cameron Simpson wrote:
>
>> I've only just started with pdb. As of Python 3.7 there's a builtin
>> function named breakpoint() which drops you into the debugger.
> I'm stuck with neither approach (pdb, print()) working.
> The act
1 - 100 of 238 matches
Mail list logo