ort in Python
update this information?
Thanks,
Dennis Benzinger
--
http://mail.python.org/mailman/listinfo/python-list
from newModule import *
> [...]
You don't even need a file for this.
Try: exec("print 123; print 456; print 789")
Bye,
Dennis
--
http://mail.python.org/mailman/listinfo/python-list
e stuff at the console.
thanks for any help,
DLC
--
====
* Dennis Clark [EMAIL PROTECTED]www.techtoystoday.com
*
* "Programming and Customizing the
Thanks all,
My problem came when I set PYTHONHOME, apparently that is a bad thing
(in this case). I know that I set it to the directory that python was
in, but something about that was "bad". now everything works.
DLC
Robert Kern <[EMAIL PROTECTED]> wrote:
: Dennis Clark wr
updated
to use the newest applicable Python features (e.g. the new any/all
functions)?
Dennis
--
http://mail.python.org/mailman/listinfo/python-list
ill maintaining the ability to transmit binary data.
>
> Does anyone know of an encoding format that would make this possible?
> [...]
Yes. You could use the Quoted-Printable encoding. See RFC 2045
Multipurpose Internet Mail Extensions (MIME) Part One: Format of
Internet Message Bodies <f
therefore it
is left unchanged <http://docs.python.org/ref/strings.html> in the
string which is passed to re.match.
>
>>>>re.match('\\d', '7').group()
>
> '7'
> [...]
This is the correct version. The first backslash escapes
they are not protected. Or, you could add access
> methods in the class like def GetVersion(self): return self.version
> If you want to protect version, call it self.__version which mangles
> the name from outside.
> wes
Or use the property function to define properties
<http://docs.python.org/lib/built-in-funcs.html>.
Dennis
--
http://mail.python.org/mailman/listinfo/python-list
ipting language.. why not use python directly? You
can pass commands from the game console via the exec statement, and have
the complete power of python in your game scripts
greetings,
Dennis
--
http://mail.python.org/mailman/listinfo/python-list
:
method(a=value)
except TypeError:
try:
method(b=value)
except TypeError:
method(a=value, b=value)
This is getting really complex the more optional parameters I want to
provide.
Is there any other way to access the method parameter?
Thanks in advance,
Dennis
--
http
Chris schrieb:
> On Feb 12, 9:38 pm, Dennis Kempin <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I have a set of some objects. With these objects I want to call a Python
>> method. But the writer of the method shall have the option to select
>> from these ob
Ben Sizer wrote:
I'd love to have some way of finding out what hidden gems are out
there in the Python world
If they were easy to find, they wouldn't be "hidden gems". :-)
Dennis Cote
--
http://mail.python.org/mailman/listinfo/python-list
ability to your program you can verify it has
been run and you can still use commandline arguments by changing the
shortcut.
--
Dennis
--
http://mail.python.org/mailman/listinfo/python-list
tilizes the time zone and DST bias of the locale (equivalent to
Clock).
-- Due to this simplified behavior, the implementation does not require
-- expensive system calls on targets such as Windows.
-- WARNING: Split_At_Locale is no longer aware of historic events and
may
-- produce inaccu
of
changes would be required?
https://docs.python.org/3/library/2to3.html
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
AGERETURN). Other languages on the
OS had different default file structures, but RMS would handle all of them
transparently.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
could show anything)
prompt> python C:\google-python-exercises\hello.py
INDIRECT
prompt> cd C:\google-python-exercises
C:\google-python-exercises> python hello.py
(note that the prompt has changed to reflect the CD of the first line)
In neither of t
587,776 Removepywin32.exe
08/25/2020 06:55 PM 123,848 update_check.exe
9 File(s) 3,143,672 bytes
0 Dir(s) 650,737,926,144 bytes free
C:\Users\Wulfraed>
Yes, it is an older version of the ActiveState release, but they did
install with the vari
e same.
The most likely guess would be that these items are not defined in your
PATH environment variable.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/
IFCCEQqwIyCAghEBYQHRAeOgUIABCABDoOCC4QgAQQsQMQgwEQ1AI6CAgAEIAEELEDOhEILhCABBCxAxCDARDHARDRAzoICC4QgAQQsQM6CwgAEIAEELEDEIMBOggILhCxAxCDAToFCC4QgAQ6EQguEIAEELEDEIMBEMcBEKMCOgsILhCABBDHARCjAjoICC4QgAQQ1AI6CwguEIAEELEDEIMBOgsILhCABBCxAxDUAjoOCC4QsQMQgwEQxwEQowI6DgguEIAEELEDEMcBENEDOg4ILhCABBCxAxCDARDJAzoICAAQsQMQgwE6BwgAEIAEEAo6CAgAEIAEEMkDOgYIABAWEB46BQgAEIYDUL0NWNRZYO9caAFwAHgBgAHYAYgBpx6SAQcyNC4xMi4xmAEAoAEBsAEA&sclient=gws-wiz
>
>Thank you!
>
>Brent Hunter
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
up, you have to make sure that the script and shortcut themselves are
not in protected (single user) locations.
Using the task scheduler, you'd have similar constraints on
directories, but shouldn't need to create a shortcut file. Instead, you'd
specify the pa
s behind-the-scenes modification to file data is fine for
text files, but will corrupt binary data like that in JPEG or EXE files. Be
very careful to use binary mode when reading and writing such files.
"""
--
Wulfraed Dennis
ft.com/en-us/cpp/text/support-for-unicode?view=msvc-170
)
For EBCDIC is still x0D, but is x25 (and there is a separate
[new line] at x15)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freedd
Since your code does not specify BINARY mode in the open statement,
Python should be using TEXT mode.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
arch... Done
w-scan/oldstable 20170107-2 amd64
Channel scanning tool for DVB and ATSC channels
wulfraed@ElusiveUnicorn:~$
-=-=-
Install and test. Windows partitions are accessible as
/mnt/
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.com
protocol... You might need to locate the source code for
w_scan. Perhaps https://github.com/tbsdtv/w_scan
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
bsequent I/O).
Interpretation of encoding appears to fall to the console driver
configuration when displaying the bytes output by tail.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
2.sourceforge.net/
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
quot;
'\'"\''
>>> '''"'"'''
'"\'"'
>>>
(Note that the interactive console displays results using repr(), and hence
escapes ' that are internal to avoid conflict with the ones wrapping the
outpu
-readable str() you will need to write your own
output loop to do the formatting of the structure, and explicitly print
each item of the structure.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.o
me up with something using native data type methods -- and using
the overhead of re with just simple text [ie; nothing that might be called
an "expression" designed to match /varying/ content) seems really
inefficient.
--
Wulfraed Dennis Lee Bieber AF6
elifoperations.lower() == "x":
Is that REALLY what the code has? I'd expect
"elifoperations"
to produce a syntax error of some sort since there is no apparent space
between the "elif" and "operations".
{s
=-=-
Microsoft Windows [Version 10.0.19044.1706]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Wulfraed>python
Python ActivePython 3.8.2 (ActiveState Software Inc.) based on
on win32
Type "help", "copyright", "credits" or "license" for more informa
t; whatAt(max, l)
(1, 3.1415923536)
>>>
(properly, I should either reverse the order of the return value, or change
the name to atWhat() )
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ile (removing any existing tag if one
exists).
"""
self.tag = id3.Tag()
self.tag.version = version
self.tag.file_info = id3.FileInfo(self.path)
return self.tag
... you probably need to be looking at
myID3.tag.
... try
cuments show attack/release settings acting as a limited AGC in
that it responds when transitions above and below threshold occur).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ome RDBMs even have extensions for spatial data handling.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
e
* Compare filename and title.
* IF MATCHED -- done
* IF NOT MATCHED
* Format ID3 track number as shown above
* Compare filename to (formatted track number + track
title)
* IF MAT
, I'm out-of-date... I'm on v3.8 and .removeprefix() and
.removesuffix() (from v3.9) simplify my previous post... Instead of
if myString.lower().endswith(".mp3"): #lower() is a precaution for case
myString = myString[:-4]
just use
myString = myStr
some time laying
out the "form" in any decent word processor, and developing the suitable
mail-merge definitions and database. Or even a decent report-writer with a
relational database.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.
On Tue, 14 Jun 2022 11:15:47 -0400, Dennis Lee Bieber
declaimed the following:
>On Tue, 14 Jun 2022 00:41:07 +0200, jak declaimed the
>following:
>
>>
>>https://www.guardiacostiera.gov.it/venezia/Documents/Bollettino%20MOD.%20TD123.pdf
>
> In
ticky=('EWNS'))
... please compare the spelling!
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ion of Python,
which was written in C... In contrast to things like Jython -- Python
implemented using Java.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
itten in C vs Java (Jython), C# (IronPython -- which M$ may be
deprecating these days, based on some stuff in my last Visual Studio
update), or other
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ense, a label will be combined with a button or entry
widget.
"""
https://tk-tutorial.readthedocs.io/en/latest/check/check.html#a-better-checkbutton-class
etc.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.micro
tOn Tue, 21 Jun 2022 02:52:28 + (UTC), Avi Gross
declaimed the following:
>
>I don't even want to think fo what sound a C# Python would make.
A musical hiss on a frequency of 277.183Hz (for the C# above middle-C)
--
Wulfraed Dennis Lee Bieber
ose for that was to differentiate from Python /language/
implemented in OTHER languages. IronPython is a M$ .NET/C# implementation,
Jython is a JVM/Java implementation.
When you just say "Python" you are referring to ALL of those
implementations.
--
Wulfraed
have historically been
outside of a user’s control, such as target platform, memory and threading
models, garbage collection strategies, and optimizations applied, including
whether or not to have a JIT in the first place.
"""
--
Wulfraed Den
ing on it will open a
console window, and that window will close when the program exits -- so
that option is often useless).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
NamedIntConstant, cls).__init__(cls, value)
>> self.name = name
>> return self
There does not appear to be any provision for keyword arguments at all.
The only use of "name" is to an undefined object.
--
Wulf
"named int", I'd expect value to the integer value of
this "constant" (and there should probably be a generic setter that... bars
changing value or name later). If a "name" keyword argument is not
supplied, using the str() of the value for the name might be valid
es.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
d once and then compiles with all major
C/C++ compilers in CPython 2.6, 2.7 (2.4+ with Cython 0.20.x) as well as
3.3 and all later versions.
"""
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
mal code listing that someone could attempt to run to perform
debugging.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
t for their "app store" and
things like Visual Studio -- my machine, however, is not logged in using
the M$ account, just my local username.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
binary attachments on this forum. Plain text may make it through
(since you could just include it as the message itself).
But... since no hiring manager is reading here, there is no reason to
include it. You need to investigate sites that manage job postings.
--
Wulfraed
hat your really want the data to look like.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 14 Jul 2022 17:20:55 -0400, declaimed the
following:
>Dennis,
>
>I see Nati sent some more code without explaining again what he wants. Yes,
>somewhere in this stack of messages he may have said things (that we generally
>failed to understand) but it would be helpful t
st,
making a new list if the element attribute matches the criteria. Python
treats 0 as "false" and if no element matched, the list created is empty,
so len() is 0. Anything else implies a match was found.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 23 Jul 2022 18:16:20 +0200, nhlanhlah198506
declaimed the following:
>Can I update my python account Sent from my Galaxy
WHAT Python account?
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comh
f that is something being passed to a
Windows command shell, the shell does not handle / (that's a command
OPTION), only \ for paths.
Have you navigated and proved you have such a file?
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.
honw.exe
PS C:\Users\Wulfraed>
That's from a stale ActiveState build... Anaconda may drop the "." in
the version (I'd expect it is python3.10.5)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
installed-package-with-python
provide any hints?
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
g wrong?)
What happens with
system_randint = SystemRandom().randint #no parens
index = system_randint(...)
which may remove the method lookup from the repetition.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.mi
ndint(1, len(to_try)) - 1
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ian/Ubuntu: apt install xxx, where xxx is not the native OS
Python)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97,
98, 99]
>>>
This option works because the list is sequential integers and the index
matches the values in the list (.remove() removes the first MATCHING
element, so if the list can have duplicates is may not remove the one AT
the index position).
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
list;
use some RDBM to keep the long-term data, accumulating it as you fetch it,
and letting the FFT read from the database for its processing.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
our network fetches as a transaction --
and close the transaction fast. Your FFT process would need to select all
data in the range to be processed, and load it into memory so you can free
that transaction
https://www.sqlite.org/lockingv3.html See section 3.0 and section 5.0
--
Wulfra
ectly, a long running action /will/ delay
others -- which could mean the (FFT) process could block collecting new
1-second readings while it is active. It also is "one-shot" on the
scheduled actions, meaning those actions still have to reschedule
themselves for the next time period.
--
ady to attack.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
Uninstalling PyQt5-5.15.1:
Successfully uninstalled PyQt5-5.15.1
Successfully installed PyQt5-Qt5-5.15.2 pyqt5-5.15.4
pyqt5-plugins-5.15.4.2.2 pyqt5-tools-5.15.4.3.2 python-dotenv-0.20.0
qt5-applications-5.15.2.2.2 qt5-tools-5.15.2.1.2
C:\Users\Wulfraed>
--
Wulfra
ation, by running the setup script as:
python setup.py bdist_msi
On Mac OS X, you can use bdist_dmg to build a Mac disk image.
"""
Note the command syntax and last line...
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comh
most likely __init__() involved is the one where
cx_Freeze.Executable is instantiated.
https://cx-freeze.readthedocs.io/en/latest/setup_script.html#cx-freeze-executable
shows 11 parameters (and "self" would make the 12th).
--
Wulfraed Dennis Lee
I suspect you need to pass JUST main.py or Maiui.py (based on casing)
-- which ever is really the file you'd invoke to start the program running.
I'd hope the freeze system then scans (recursively) that file to find
anything imported, and include those in the final product.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
t explore later. First tries ran into PyQt4 to
>PyQt5 conversions. Good start at
>https://towardsdatascience.com/how-to-easily-convert-a-python-script-to-an-executable-file-exe-4966e253c7e9
>
Note that pretty much all such python->executable scheme is just making
an archive of
ter/OS (Windows, most likely CP1252, which is a superset of latin-1 as
I recall). Whether the browser then re-encodes that to UTF-8 is something I
can't answer.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freedd
o make your complaints to the
Debian devs WRT how they have configured things (or, if using an R-Pi, the
R-Pi Foundation, as they customize Debian for their release).
.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdive
d various third-party libraries have
not been updated to be compatible with IT. Maybe install a version of
Python3.9 and start over loading all those extra packages.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
pi@rpi3bplus-1:~$
Or... You wait until somebody builds a Python3.10 ARMHF compatible
wheel.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.ne
On Mon, 29 Aug 2022 22:57:50 -0400, gene heskett
declaimed the following:
>Greetings all;
>
>The command to setup a venv, "python -m venv venv" has no man page that
>I have
>found.
>
https://docs.python.org/3/library/venv.html
--
Wulfraed
ns, with specialized books from Packt and APress.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ims signals down to earth. We had to
catch side-lobes as GPS birds were high enough to avoid
ionosphere/troposphere effects.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
RUN the installer program to install Python (and any other stuff
the distribution includes)
Hide the installer program/icons -- since they do NOT run Python
itself. Pure Python is run from a command line/shell interface; it is NOT a
graphical IDE.
--
Wulfraed
t `syslog` does let pass all messages by
>default.
>My point is I do manipulate via `syslog.setlogmask()` the current log
>leve. At the end I would like to set it back to its previous value.
>
>Kind
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
gt;
So a nearly different domain of languages... I'd hope the OP is porting
IDL constructs (vector/array) to numpy/scipy.
But that also opens the question of what plotting package is being
used? Matplotlib or something else?
--
Wulfraed Dennis Lee Bieb
What happens if you change the system to use the "command" shell
INSTEAD OF PowerShell?
PowerShell may not honor the same environment variables.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.free
nfuse me. Now I've
"expired"?
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ding=UTF8&qid=134371&sr=8-1
(Wow -- they want a fortune for the original hard-cover, which I own)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
as the primary item in the Python38 entry. I normally use an old
version of PythonWin (fyi: I'm using an old version of the ActiveState
Python package). I also have PyCharm installed.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://w
they have to be IN THAT ORDER?
>>> data = [(0,11), (1,1), (2,1), (0,1) , (1,41), (2,2), (0,9) , (1,3),
>>> (2,12)]
>>> reshape = list(zip(*data))
>>> result = sorted(reshape[1])[-3:]
>>> result
[11, 12, 41]
--
Wulfraed
c then length(X) returns the length
of a string representation of X.
"""
Note the last sentence for numerics.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
ts the names from the cursor description --
then run a loop to create the select max(length(col)), ... statement (which
is why I state the fetchall step, as unless one creates a second cursor,
the latter select will wipe out any unfetched data from the first).
It lets SQLite do the work of determining the max width occupied by
each column, rather than some complicated Python loop.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 12 Nov 2022 13:24:37 -0500, Dennis Lee Bieber
declaimed the following:
> Granted, this will NOT work with "select *" unless one does the select
>*/fetchall first, AND extracts the names from the cursor description --
>then run a loop to create the se
2, 3.145926536, "Pie"]
>>> clearx = x.clear
>>> x
[1, 2, 3.145926536, 'Pie']
>>> clearx()
>>> x
[]
>>>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
lfraed\Documents\_Hg-Repositories\Python Progs
The idea is to save the .py file in the /current working directory/.
That way you only need to type the name of the file, without the long
directory path, when invoking the program (which assumes 'python"
[python.exe] is on your system
wrong thread...
--
Wulfraed Dennis Lee Bieber AF6VN
wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/
--
https://mail.python.org/mailman/listinfo/python-list
le different protocol. TFTP is simplified to the point it
will fit on embedded devices which don't need security (the assumption
being that one has the embedded device physically present, FTP assumes
distributed networks).
https://wiki.python.org/moin/tftp
--
Wulfraed
end of the loop acts as an implicit
"continue"
OTOH: if the "if/continue" is buried in four or five layers of
conditionals, it could be cleaner than trying to configure the conditionals
to have a chained exit.
--
Wulfraed Dennis Lee Bi
101 - 200 of 370 matches
Mail list logo