A new plugin capability for the GF4 Waveform Calculator lets a Python
file in the new plugins directory add a new command and command button.
This is helpful for adding or developing new functionality.
Basic information for writing and using plugins is included in the
README file in the plugin
Mark Pilgram's "Dive Into Python" was good. Now he's updated it for
Python 3:
https://diveintopython3.net
On 9/6/2022 11:36 AM, Meredith Montgomery wrote:
Paul Rubin writes:
Meredith Montgomery writes:
So that's my request --- any author you find very good has written a
book on Python?
On 9/6/2022 5:10 PM, jkn wrote:
On Tuesday, September 6, 2022 at 9:06:31 PM UTC+1, Thomas Passin wrote:
Mark Pilgram's "Dive Into Python" was good. Now he's updated it for
Python 3:
like, about ten years ago? (I think Mark Pilgrim dropped off the 'net
many years ag
On 9/7/2022 6:28 AM, Maruful Islam wrote:
I want to start learning python. I have a question about learning python.
Is learning C essential or not for learning python?
Not at all.
--
https://mail.python.org/mailman/listinfo/python-list
I don't know what flake8 is complaining about, but I think you want a
literal "." character in front of the two "\d" escapes. So "." should
be replaced by "\." in two places. In addition to using a raw string,
that is.
If you may need to detect versions larger than 9 in any position, you
wo
Here is an example of probably the easiest way to add an instance method:
class Demo:
def sqr(self, x):
return x*x
# Function to turn into a instance method
def cube(self, x):
return x*x*x
d = Demo()
print(d.sqr(2))
d.cube = cube.__get__(d)
print(d.cube(3))
As for when someone
https://stackoverflow.com/questions/4284313/how-can-i-check-the-syntax-of-python-script-without-executing-it
People seemed especially enthusiastic about the one-liner from jmd_dk.
On 10/9/2022 12:17 PM, Peter J. Holzer wrote:
On 2022-10-09 12:09:17 +0200, Antoon Pardon wrote:
I would like a to
On 10/9/2022 1:29 PM, Peter J. Holzer wrote:
> On 2022-10-09 12:59:09 -0400, Thomas Passin wrote:
>>
https://stackoverflow.com/questions/4284313/how-can-i-check-the-syntax-of-python-script-without-executing-it
>>
>> People seemed especially enthusiastic about the one-lin
On 10/10/2022 9:21 AM, Michael F. Stemper wrote:
On 09/10/2022 10.49, Avi Gross wrote:
Anton
There likely are such programs out there but are there universal
agreements
on how to figure out when a new safe zone of code starts where error
testing can begin?
For example a file full of function
On 10/11/2022 3:10 AM, [email protected] wrote:
I see resemblances to something like how a web page is loaded and operated.
I mean very different but at some level not so much.
I mean a typical web page is read in as HTML with various keyword regions
expected such as ... or ... with thin
On Windows, when I tried to install gdal using pip, it needed to compile
part of it. I'm not set up with the Microsoft compiler and header
files, so that failed. If you are on Windows, you will need to look for
a binary wheel to install, or install and configure the compiler and
header files.
Is this what you usually do?
l1 = [[1,2,3],[4,5,6,7],[8,9]]
l2 = []
for lz in l1:
l2.extend(lz)
print(l2) # [1,2,3,4,5,6,7,8,9]
Not all that "tedious", perhaps... I tend to accumulate little utilities
like this in a file and point to it with a .pth file. Of course, you
have to remember
On 10/11/2022 4:00 PM, Chris Angelico wrote:
On Wed, 12 Oct 2022 at 05:23, Thomas Passin wrote:
On 10/11/2022 3:10 AM, [email protected] wrote:
I see resemblances to something like how a web page is loaded and operated.
I mean very different but at some level not so much.
I mean a
On 10/11/2022 5:09 PM, Thomas Passin wrote:
The OP wants to get help with problems in
his files even if it isn't perfect, and I think that's reasonable to
wish for. The link to a post about the lezer parser in a recent message
on this thread is partly about how a real, practical
You probably need to install from an administrator account to install
for all users.
On 10/12/2022 5:20 AM, Kirill Ratkin via Python-list wrote:
Hi All,
Do anyone face issue like in log below?
I got last installer (3.10.8) and try to install it 'for all users' with
downloading precompiled (
On 10/12/2022 12:00 AM, Paulo da Silva wrote:
Hi!
The simple question: How do I find the full path of a shell command
(linux), i.e. how do I obtain the corresponding of, for example,
"type rm" in command line?
The reason:
I have python program that launches a detached rm. It works pretty well
Looking at the ChemPlugin site, it looks like by default it would
install into "C:\Program Files". Typically ordinary users do not have
full privileges there, although they may have read privileges. If this
is the case, either you would need to run it in an elevated
(adminstrator) session, or
n not recognizing the
script calls, but this is my first hint of success in 3 days.
Thanks again, I'll start troubleshooting the next obstacle now
-Original Message-
From: Python-list On
Behalf Of Thomas Passin
Sent: Tuesday, October 18, 2022 3:10 PM
To: python-list@pyt
"Portable executable" usually means that the program resides on
removable media, like a USB stick. You can go to a computer, plug the
stick in, and run the program. If it's Python, then the installation on
the removable medium needs to set up all the paths and directories
correctly before act
On 10/22/2022 4:58 PM, Paulo da Silva wrote:
Hi all!
What is the correct way, if any, of documenting a function/method?
1.
def foo(a,b):
""" A description.
a: Whatever 1
b: Whatever 2
"""
[snip]
5.
Any other ...
Any comments/suggestions are welcome.
Thanks.
Paulo
On 10/23/2022 2:37 PM, Karsten Hilbert wrote:
Am Sat, Oct 22, 2022 at 09:49:55PM -0400 schrieb Thomas Passin:
def make_title_from_headline(self, p, h):
"""From node title, return title with over- and underline- strings.
...
RETURNS
a string
"&qu
On 10/23/2022 11:14 PM, Dan Stromberg wrote:
On Sun, Oct 23, 2022 at 2:11 PM Paulo da Silva <
[email protected]> wrote:
Hello!
I am in the process of "typing" of some of my scripts.
Using it should help a lot to avoid some errors.
But this is new for me and I'm facing some p
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
removeRow() isn't listed as being a method of a QTableView, not even an
inherited method, so how are you calling removeRow() on it? (See
https://doc.qt.io/qt-6/qtableview-members.html)
After calling r
There's a fairly good rundown of score() here:
"[Python/Sklearn] How does .score() works?"
https://www.kaggle.com/getting-started/27261
On 10/26/2022 2:18 AM, Fatemeh Heydari wrote:
On Monday, October 24, 2022 at 7:14:10 AM UTC-7, Reto wrote:
On Sun, Oct 23, 2022 at 05:11:10AM -0700, Fatemeh H
On 10/27/2022 11:15 AM, DFS wrote:
On 10/25/2022 1:45 PM, Thomas Passin wrote:
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object.
removeRow() isn't listed as being a method of a QTableView, not even
an inherited method, so how are you ca
This looks like a useful tutorial -
https://doc.qt.io/qt-6/modelview.html
On 10/27/2022 3:47 PM, Thomas Passin wrote:
On 10/27/2022 11:15 AM, DFS wrote:
On 10/25/2022 1:45 PM, Thomas Passin wrote:
On 10/25/2022 1:03 PM, DFS wrote:
Having problems with removeRow() on a QTableView object
On 10/28/2022 1:01 AM, Thomas Passin wrote:
{snip]
You might also be able to make the item bold using CSS, but I'm not sure.
Apparently so:
QTreeView::item:selected {
background-color: #1d3dec;
color: white;
}
See https://joekuan.wordpress.com/2015/10/02/styling-qt-qtreeview
Better to use raw strings whenever backslashes are involved.
On 10/29/2022 2:21 PM, Bernard LEDRU wrote:
Hello,
https://docs.python.org/3/library/stdtypes.html#string-methods
str.replace(old, new[, count])¶
Return a copy of the string with all occurrences of substring old
replaced by new. If
On 10/29/2022 1:45 PM, Paulo da Silva wrote:
Hi!
Consider this simple script ...
___
from typing import List, Optional
class GLOBALS:
foos=None
class Foo:
def __init__(self):
pass
class Foos:
Foos: List[Foo]=[]
# SOME GLOBALS ARE USED HERE in a r
On 10/30/2022 6:26 AM, Peter J. Holzer wrote:
On 2022-10-29 23:59:44 +0100, Paulo da Silva wrote:
Às 22:34 de 29/10/22, dn escreveu:
Solution (below) will not work if the mention of Foos in GLOBALS is a
forward-reference.
Either move GLOBALS to suit, or surround "Foos" with quotes.
I just downloaded the 64-bit Windows installer. On my Windows 10
machine, both "py launcher" and "available for all
users" options were available. They were available whether I checked the
"administrative" box or not. Note that when I unchecked
"administrative", then the "available for all use
The problem is that some Linux systems - I think - still use Python2 to
perform various system-related tasks. When they call "python", they
need it to be Python2. If someone has a system like that, they can't
have the "python" command run Python3.
On 11/7/2022 1:07 PM, Schachner, Joseph (US)
More discussion:
https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my
On 11/7/2022 5:35 PM, Cameron Simpson wrote:
On 07Nov2022 09:28, Chris Green wrote:
Chris Green wrote:
> 3: with your pseudo "python3" script in place, make
On 11/9/2022 7:02 PM, [email protected] wrote:
Is there no one who can help?
Is there a reason why you tried to install a 32-bit version? Most
personal computers are 64-bit ones these days. Also, I don't remember if
you are running Windows or not.
One problem for getting help from the
Sorry about the typo at the end. If you need to search the entire disk,
use this command instead of the one I had in my last post:
where /R c:\ python.exe
On 11/9/2022 9:00 PM, Thomas Passin wrote:
On 11/9/2022 7:02 PM, [email protected] wrote:
Is there no one who can help?
Is there
This is a matter of convention. Historically, many language
practitioners got used to using all-caps for key constants. This makes
it easier to tell when you are using (or misusing) one, for one thing.
For myself, I also will use all-caps for quasi-constants, ones that are
set only once, for
You can define a classmethod in SubClass that seems to do the job:
class SuperClass(object):
@staticmethod
def spam(): # "spam" and "eggs" are a Python tradition
print('spam from SuperClass')
class SubClass(SuperClass):
@classmethod
def eggs(self):
super().
On 11/11/2022 2:22 PM, Pancho via Python-list wrote:
On 11/11/2022 18:53, DFS wrote:
On 11/11/2022 12:49 PM, Dennis Lee Bieber wrote:
On Fri, 11 Nov 2022 02:22:34 -0500, DFS declaimed the
following:
[(0,11), (1,1), (2,1),
(0,1) , (1,41), (2,2),
(0,9) , (1,3), (2,12)]
The set of value
On 11/11/2022 2:22 AM, DFS wrote:
[(0,11), (1,1), (2,1),
(0,1) , (1,41), (2,2),
(0,9) , (1,3), (2,12)]
The set of values in elements[0] is {0,1,2}
I want the set of max values in elements[1]: {11,41,12}
This request is ambiguous. Do you want to get the maximum value for
each row, and
On 11/11/2022 4:44 PM, [email protected] wrote:
Hello,
I am real a beginner of Python. Not able to create a Python launcher
(shortcut) on Desktop after the installation.
Would you kindly instruct how to do it?
Windows 11-Home, 64 bits, HP desktop
If you get an offer of Python wh
On 11/11/2022 5:07 PM, Ian Pilcher wrote:
On 11/11/22 11:02, Thomas Passin wrote:
You can define a classmethod in SubClass that seems to do the job:
class SuperClass(object):
@staticmethod
def spam(): # "spam" and "eggs" are a Python tradition
t;", line 1, in
ImportError: DLL load failed while importing _tkinter: Das angegebene
Modul wurd
e nicht gefunden.
How can I go gon, to make it work?
*Von:* Thomas Passin <mailto:[email protected]>
*Gesendet:* Donnerstag, 10. November 2022 03:00
*An:* python-list@python
-V
** I found out about this self-test command line because I noticed a
file README.txt in the idlelib\idle_test subdirectory, and read it. It
pays to be curious and nosy when trying to work out computer problems.
*Von:* Thomas Passin <mailto:[email protected]>
*Gesendet:* Samstag
On 11/13/2022 9:49 AM, Jessica Smith wrote:
Consider the following code ran in Powershell or cmd.exe:
$ python -c "print('└')"
└
$ python -c "print('└')" > test_file.txt
Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files\Python38\lib\encodings\cp1252.py", line
For parameter passing like your #2, I have packaged them into a
dictionary and passed that around. It was easy enough, and worked well.
The only potential problem is in documenting the key/value pairs the
dictionary is supposed to contain. You had better make sure it's made
clear somewhere,
On 11/14/2022 5:36 PM, Barry wrote:
On 14 Nov 2022, at 22:06, Thomas Passin wrote:
For parameter passing like your #2, I have packaged them into a dictionary and
passed that around. It was easy enough, and worked well.
I used to use a dict but having been burnt with issues now create a
On 11/18/2022 10:19 AM, Tobiah wrote:
On 11/18/22 02:53, Stefan Ram wrote:
Can I use "sys.argv" to pass information between modules
as follows?
in module A:
import sys
sys.argv.append( "Hi there!" )
in module B:
import sys
message = sys.argv[ -1 ]
Kind of seems like a code smel
On 11/19/2022 4:28 PM, Thomas Passin wrote:
On 11/19/2022 3:46 PM, Michael F. Stemper wrote:
On 18/11/2022 04.53, Stefan Ram wrote:
Can I use "sys.argv" to pass information between modules
as follows?
in module A:
import sys
sys.argv.append( "Hi there!" )
On 11/19/2022 3:46 PM, Michael F. Stemper wrote:
On 18/11/2022 04.53, Stefan Ram wrote:
Can I use "sys.argv" to pass information between modules
as follows?
in module A:
import sys
sys.argv.append( "Hi there!" )
in module B:
import sys
message = sys.argv[ -1 ]
I just tried and
On 11/19/2022 5:27 PM, Cameron Simpson wrote:
On 19Nov2022 11:08, Stefan Ram wrote:
writes:
You are expected to implement logging feature to an existing
code which uses the function below. [...]
You are not allowed to make changes in my_ugly_debug, so find another
way.
If found a solution
On 11/13/2022 7:27 AM, Axy via Python-list wrote:
On 11/11/2022 16:21, Ian Pilcher wrote:
Is it possible to access the name of a superclass static method, when
defining a subclass attribute, without specifically naming the super-
class?
A instance's __bases__ attribute is a sequence that conta
On 11/20/2022 7:32 AM, Hoe Tee wrote:
Hi, I recently installed Python 3.11.0 on my laptop. However, there was no
folder named 'Python' in my Program folder after the software was
installed. I'm writing this letter since I'm a python learner and the loss
of the Python folder in the Program folder
On 11/20/2022 1:50 PM, Roel Schroeven wrote:
Stefan Ram schreef op 20/11/2022 om 11:39:
The idea is about parameterizing the behavior of a module.
For example, the module "M" may contain functions that contain
"input.read()" to get input and "output.write()" to write
output. Then one
On 11/20/2022 4:07 PM, Roel Schroeven wrote:
Thomas Passin schreef op 20/11/2022 om 20:33:
https://devblogs.microsoft.com/oldnewthing/20050607-00/?p=35413
https://devblogs.microsoft.com/oldnewthing/20101125-00/?p=12203
Now that I think about it, The Old New Thing is also where I got the
On 11/21/2022 12:01 AM, dn wrote:
On 21/11/2022 12.07, Dan Kolis wrote:
If you understand its meaning, it achieves my purpose. If you don't I
you're perhaps not a programmer...
Ouch!
Does the first sentence imply who is the more important person in the
interaction? Does the second further th
On 11/21/2022 12:24 AM, dn wrote:
My original question probably was intended to be something
like: "Today, we can add attributes to a module from the
outside. How large is the risk that this will be forbidden
one day, so that all code using this will stop working?".
This can happen tod
On 11/21/2022 1:24 PM, Stefan Ram wrote:
[email protected] writes:
import _tkinter
I don't know why you get this error message. Here, I do not
get an error message from that line. However, the normal way
to use tkinter, as far as I know, is without the underscore!
You can import
On 11/23/2022 11:00 AM, Loris Bennett wrote:
Hi,
I am using pandas to parse a file with the following structure:
Name filesettype KB quota limit in_doubt
grace |files quotalimit in_doubtgrace
shortname sharedhome USR14097664 52428800
On 11/24/2022 5:05 AM, Robin Becker wrote:
I haven't used dataclasses or typing very much, but while playing about
I found this didn't give me an expected error
(.py312) robin@minikat:~/devel/reportlab
$ cat tmp/examples/tdc.py && python tmp/examples/tdc.py && mypy
tmp/examples/tdc.py
###
On 11/24/2022 7:34 AM, Thomas Passin wrote:
On 11/24/2022 5:05 AM, Robin Becker wrote:
I haven't used dataclasses or typing very much, but while playing
about I found this didn't give me an expected error
(.py312) robin@minikat:~/devel/reportlab
$ cat tmp/examples/tdc.py &am
On 11/24/2022 9:06 AM, Loris Bennett wrote:
Thomas Passin writes:
On 11/23/2022 11:00 AM, Loris Bennett wrote:
Hi,
I am using pandas to parse a file with the following structure:
Name filesettype KB quota limit
in_doubtgrace |files quotalimit
On 11/25/2022 12:00 PM, Robin Becker wrote:
On 24/11/2022 14:10, Thomas Passin wrote:
.
C:\temp\python>py -V
Python 3.10.4
C:\temp\python>py tdc.py
DC(a=, b='B')
C:\temp\python>mypy tdc.py
tdc.py:10: error: Argument 1 to "DC" has incompatible ty
On 11/30/2022 1:49 PM, Gisle Vanem via Python-list wrote:
Dieter Maurer wrote:
Otherwise no issues. But where is this text "-arkupsafe" stored
and how to get rid it it? I've searched through all of my .pth
files and found no such string.
Have you looked at the content of the folder mentioned
On 12/6/2022 3:24 PM, ramvikram singh wrote:
Greetings,
I learnt python this year and visiting the python issue tab for the last
two months, but there is a problem which I am facing I understand the issue
after reading the few times but I can't think about how to modify the code
as per the issue.
On 12/6/2022 9:23 PM, Jach Feng wrote:
s0 = r'\x0a'
At this moment it was done by
def to1byte(matchobj):
return chr(int('0x' + matchobj.group(1), 16))
s1 = re.sub(r'\\x([0-9a-fA-F]{2})', to1byte, s0)
But, is it that difficult on doing this simple thing?
--Jach
I'm not tota
On 12/6/2022 11:18 PM, ramvikram singh wrote:
the issue is that after reading the issue I am not able to think how to
modify the code, this is where I am stuck
On Wed, Dec 7, 2022 at 1:54 AM ramvikram singh
wrote:
Greetings,
I learnt python this year and visiting the python issue tab for the
The original post started out with r'\x0a' but then talked about '\xdd'.
I assumed that there was a pattern here, a raw string containing "\x"
and two more characters, and made a suggestion for converting any string
with that pattern. But the OP was very unclear what the task really
was, so h
It sounds like on your old computer, you used some kind of program to
write python code and perhaps to run it too. It would help if you could
say what that program was. Python itself - the actual program called
"python.exe" on Windows - runs a Python interpreter inside a Windows
console windo
On 12/13/2022 4:09 AM, Chris Angelico wrote:
On Tue, 13 Dec 2022 at 19:52, Roel Schroeven wrote:
Like Lars Liedtke this is not an exact answer to your question, but you
can side-step the issue by using parametrized queries, i.e. instead of
cur.execute('SELECT name, location FROM persons
Your problem is that datetime.datetime does not accept a tuple as an
argument. It expects an integer value for the first argument, but you
supplied a tuple. In Python, you can use a sequence (e.g., tuple or
list) the way you want by prefixing it with an asterisk. This causes
the sequence of
n with the "*" gives the same result as
the first expression. That line is not needed by any code, it's just
there to show you that the proposed expression gives the desired result.
Thank you.
-Original Message-
From: Python-list On
Behalf Of Thomas Passin
Sent: Tuesday
Dictionaries and sets are your friends here.
On 12/14/2022 1:50 PM, songbird wrote:
I'm relatively new to python but not new to programming in general.
The program domain is accounting and keeping track of stock trades and other
related information (dates, cash accounts, interest, divid
PEP-8, which is Guido's style guide and generally good to follow, does
not completely discourage single-line usage like the example. It's not
clear to me how Chris's example fits into the guidelines.
PEP-8:
"While sometimes it’s okay to put an if/for/while with a small body on
the same line,
c.total_seconds() / 60
minutes = c.seconds / 60
hours = 0
while (minutes > 59):
minutes = minutes - 60
hours += 1
minutes = round(minutes)
print ("77 Hours = <" + str(hours) + ">")
print ("78 Minutes = <" + str(minutes) + ">")
if hours > 7:
print(" T
There is a Python adapter for SQLITE called "APSW". It has a config()
function. I looked in the codebase and it defines the two configuration
constants needed to turn off the double quote behavior (see
https://sqlite.org/quirks.html). These constants are
SQLITE_DBCONFIG_DQS_DDL and SQLITE_DB
On 12/15/2022 3:58 AM, Chris Green wrote:
Thomas Passin wrote:
I personally tend to use
if test: return
even inside larger blocks.
I always try to avoid multiple returns from functions/methods, as soon
as things get complex it's all to easy to miss clean-up etc.
Oops,
"items = dstr[1:-2].split(',')"
should have read
"items = dstr[1:-1].split(',')".
On 12/15/2022 1:56 PM, Thomas Passin wrote:
It's hard to be sure from what you have offered, but I suspect that you
are taking the string "(2022, 12,
On 12/15/2022 11:34 PM, MRAB wrote:
On 2022-12-15 22:49, [email protected] wrote:
Yes, it works like a charm. On the tupility of it all.
Special thanks for the explanation too…..
(Originally asked but I found the errors. All is working)
Now that the code no longer produces the errors, I see
Please be more informative! Is this on Windows? Did Python 3 run as
you expected, before you uninstalled it? Exactly how did you try to
launch Python? Exactly what did you observe when it appeared not to run?
Did you try any other ways to run it? What version of Python are you
talking abou
You have strings, and you want to end up with numbers. The numbers are
not integers. Other responders have gone directly to whether you should
use float or decimal as the conversion, but that is a secondary matter.
If you have integers, convert with
integer = int(number_string)
If you don't
On 12/17/2022 1:41 PM, Mats Wichmann wrote:
On 12/17/22 07:15, Thomas Passin wrote:
You have strings, and you want to end up with numbers. The numbers
are not integers. Other responders have gone directly to whether you
should use float or decimal as the conversion, but that is a secondary
On 12/17/2022 3:45 PM, Paul St George wrote:
Thanks to all!
It was the rounding rounding error that I needed to avoid (as Peter J. Holzer
suggested). The use of decimal solved it and just in time. I was about to
truncate the number, get each of the characters from the string mantissa, and
then
>if 5 > 3: a = a * 3
> b = b * 3
That would be a fairly weird construction, neither one thing nor
another. But still, if you really want it that way, this is legal Python:
a = 2; b = 10
if 5 > 3: a = a * 3;\
b = b * 3
print(a, b) # 6 30
On 12/17/2022 6:57 PM, avi.e.gr...@
Pip is fine for most packages, as it looks like you know. Some distros
put some packages in unusual places, and those are the ones that either
are not or should not be installed via pip. Which ones varies from
distro to distro. (I just include this information here for others who
haven't dis
r the bonnet.
Here is a picture:
https://paulstgeorge.com/newton/cyclography.html
Thanks,
Paul
On 17 Dec 2022, at 16:54:05 EST 2022, Thomas Passin wrote:
On 12/17/2022 3:45 PM, Paul St George wrote:
Thanks to all!
It was the rounding rounding error that I needed to avoid (as Peter J. H
On 12/19/2022 9:10 AM, Peter J. Holzer wrote:
On 2022-12-19 09:25:17 +1100, Chris Angelico wrote:
On Mon, 19 Dec 2022 at 07:57, Stefan Ram wrote:
G = Decimal( 6.6743015E-11 )
r = Decimal( 6.371E6 )
M = Decimal( 5.9722E24 )
What's the point of using Decimal if you start with nothing more than
On 12/19/2022 9:59 AM, Weatherby,Gerard wrote:
Personally, I don’t use Windows and avoid it like the plague. Python is easy
to install on Linux and Mac.
That's not been my experience. Windows installers for Python have
worked well for me over many generations of Python releases. It's Linux
On 12/19/2022 11:36 AM, Chris Angelico wrote:
On Tue, 20 Dec 2022 at 03:05, Thomas Passin wrote:
That's not been my experience. Windows installers for Python have
worked well for me over many generations of Python releases. It's Linux
where I've found difficulties. For e
On 12/19/2022 12:28 PM, j via Python-list wrote:
I agree. Wasted too much time on last few installs.
It got to the point I downloaded python-embedded, unzipped it and set
the path manually for my work (needed it as part of a compiler).
I don't set those paths. If you have several different v
her, but it's a required starting point.
Without this kind of information, people who want to help feel frustrated.
jan
On 19/12/2022 17:55, Thomas Passin wrote:
On 12/19/2022 12:28 PM, j via Python-list wrote:
I agree. Wasted too much time on last few installs.
It got to the point I dow
On 12/19/2022 4:54 PM, Thomas Passin wrote:
On 12/19/2022 3:34 PM, j wrote:
I was unclear. I use the full path to the folder with the unzipped
python-embedded. I shouldn't have said 'set'.
I have complained on here before about broken installs but got
indifference. An i
On 12/19/2022 5:16 PM, Chris Angelico wrote:
On Tue, 20 Dec 2022 at 09:12, Thomas Passin wrote:
FWIW, I once set up a Python installation so that it could run from a
USB stick (Windows only). My launcher was a batch file that contained
the following:
@echo off
setlocal
: Find effective drive
On 12/19/2022 9:24 PM, Jach Feng wrote:
Mark Bourne 在 2022年12月20日 星期二凌晨4:49:13 [UTC+8] 的信中寫道:
Jach Feng wrote:
I have a script using the argparse module. I want to enter the string
"step\x0A" as one of its positional arguments. I expect this string has a
length of 5, but it gives 8. Obviously
On 12/20/2022 8:11 AM, Eryk Sun wrote:
[snipped]
I know we're not here to bash Windows, but... drive letters
really need to just die already.
I don't foresee drive-letter names getting phased out of Windows. And
Windows itself is unlikely to get phased out as long as Microsoft
continues to profi
On 12/21/2022 4:32 PM, Patrick EGLOFF wrote:
HI,
Some time ago I wrote a small software using pygame.midi
It worked just fine with Win10/ python 3.9 / SDL 2.0.14 / pygame 2.0.1
I had to change my computer and now I installed Win10 / Python 3.11.1 / SDL
2.0.18 / pygame 2.1.2
The following instru
This issue thread on Github says that everyone is waiting on the
packaging maintainer, but nothing from him for some time.
On 12/22/2022 5:04 AM, Peter J. Holzer wrote:
On 2022-12-21 17:23:47 -0500, Thomas Passin wrote:
The pygame web site says this:
"Pygame still does not run on Python
On 12/22/2022 8:35 AM, [email protected] wrote:
I want to extract / scrape the “Matrix form” dataset from the BCS website [1],
a.k.a., the data appeared in the 3rd column.
I tried with the following python code snippet, but still failed to figure out
the trick:
Tell what you observed, and w
On 12/27/2022 8:25 AM, Antoon Pardon wrote:
Op 27/12/2022 om 13:46 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 23:28, Antoon Pardon wrote:
At the moment I am happy with a solution that once the programmer has
imported from QYZlib.threaders that module will used as the threading
module.
On 12/28/2022 5:39 AM, Antoon Pardon wrote:
Op 27/12/2022 om 16:49 schreef Thomas Passin:
On 12/27/2022 8:25 AM, Antoon Pardon wrote:
Op 27/12/2022 om 13:46 schreef Chris Angelico:
On Tue, 27 Dec 2022 at 23:28, Antoon Pardon
wrote:
At the moment I am happy with a solution that once the
Happy New Year, everybody!
I'm new in the Python List, new in Python world, and new in coding.
A few days (weeks?) ago, I faced a problem trying to write a program for an
exercise. I asked for help and nobody answered.
In the meantime, I found a part of the solution, but a part still remains a
mys
1 - 100 of 564 matches
Mail list logo