Re: Clickable hyperlinks

2017-01-06 Thread Dennis Lee Bieber
ndefined) variable "Example", and then you attempt call that list as a function passing it some unrecognized keyword "http" with a colon that Python normally uses indicate the start of a code block; said block being "//www.example.com". Try print("[Exa

Re: Hey, I'm new to python so don't judge.

2017-01-06 Thread Dennis Lee Bieber
et) as a file (whatever.py). Open a command line interpreter/shell. Navigate (cd ...) to where you saved the file Type "python whatever.py" Copy and paste the results of the CLI/Shell window. -- Wulfraed Dennis Lee Bieber

Re: Clickable hyperlinks

2017-01-06 Thread Dennis Lee Bieber
above library routines to fetch the contents at the clickable's target) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Hey, I'm new to python so don't judge.

2017-01-06 Thread Dennis Lee Bieber
d where in your code do you test for that return word? To simplify things -- don't return words from your function... change it to return +1 for high, -1 for low, and 0 for "win". Then figure out how to modify the main loop to use those integers... -- Wu

Re: Hey, I'm new to python so don't judge.

2017-01-05 Thread Dennis Lee Bieber
result="win" >elif target > number: >result="low" >else: >result="high" >return result Count your parentheses... You should have the same number of ) as you have ( -- Wulfraed

Re: translating foreign data

2018-06-24 Thread Dennis Lee Bieber
From: Dennis Lee Bieber On Sat, 23 Jun 2018 15:44:14 + (UTC), Steven D'Aprano declaimed the following: >1.234.567,012345678 > >which is understandable to anyone who is aware of the possibility that >comma may mean decimal separator and period the thousan

Re: on perhaps unloading modules?

2021-08-22 Thread Dennis Lee Bieber
That just "dealt" four poker hands (needs logic to translate integer 1..52 into suit/rank). -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Regarding inability of Python Module Winsound to produce beep in decimal frequency

2021-08-17 Thread Dennis Lee Bieber
e sound card? > Possibly there is a section of code that determines if a sound card is available, and if not, routes to the basic internal speaker. The rest of the wave form logic is probably still of use for that. -- Wulfraed Dennis Lee Bieber AF6VN wlfr..

Re: Struggling to understand timedelta rpesentation when applying an offset for an hour earlier - why is days = -1?

2021-08-31 Thread Dennis Lee Bieber
100 0 <= seconds < 3600*24 (the number of seconds in one day) -9 <= days <= 9 """ Note that microseconds and seconds are ALWAYS normalized to be a positive integer. So your input on -3600 is normalized to +82800 from the previous day. --

Re: Create a real-time interactive TUI using Python.

2021-08-31 Thread Dennis Lee Bieber
certain Python may be a bit slower unless you can take advantage of compiled C libraries (regex, perhaps). Based upon the animated GIF, you'll have to master the curses library from Python. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix

Re: code to initialize a sequence

2021-08-30 Thread Dennis Lee Bieber
rn X Same -- nothing about UNIQUE values. Prefilling a list with None, just to immediate replace all the values feels "unPythonic". -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: software installation problems

2021-08-30 Thread Dennis Lee Bieber
include a Tkinter script called IDLE as a basic IDE (I don't use it, and hated it the few times I had to start it at work; ActiveState Windows installs included PythonWin as an IDE -- but in the last few years ActiveState has required one to register with them before one can download their packag

Re: The sqlite3 timestamp conversion between unixepoch and localtime can't be done according to the timezone setting on the machine automatically.

2021-08-30 Thread Dennis Lee Bieber
0 22:50:32 sqlite> I'm in EDT (Eastern Daylight Time) -- so 4 hours behind UTC. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: pip doesn't work

2021-08-13 Thread Dennis Lee Bieber
erything else in /Scripts available to the command line. Alternatively, you invoke Python passing it a "-m pip " (without the ") -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ --

Re: Can't get rid of old version of python

2021-08-13 Thread Dennis Lee Bieber
lick "uninstall" -- but make sure it is not YOUR Python... The simplest method would be to ensure YOUR Python is at the top of the PATH environment variable so it is found first when searching for applications. -- Wulfraed Dennis Lee Bieber

Re: question on trax

2021-08-18 Thread Dennis Lee Bieber
docstring. n_out: Number of outputs promised by the layer; default value 1. Returns: Layer executing the function `f`. """ -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/

Re: please help

2021-08-16 Thread Dennis Lee Bieber
program to be run by Python, rather than a pip .py file. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: some problems for an introductory python test

2021-08-16 Thread Dennis Lee Bieber
On Sun, 15 Aug 2021 00:15:58 -0300, Hope Rouselle declaimed the following: Giganews seems to have just vomited up three days worth of traffic... >Dennis Lee Bieber writes: > >> >> Granted, the fact that the Amiga used a shared common address space for >>

Re: on slices, negative indices, which are the equivalent procedures?

2021-08-16 Thread Dennis Lee Bieber
On Sun, 15 Aug 2021 00:05:29 -0300, Jack Brandom declaimed the following: >Dennis Lee Bieber writes: > >> subscript: '.' '.' '.' | test | [test] ':' [test] [sliceop] >> sliceop: ':' [test] > >This is looking less readable, so, no, I prefer that previous, which was &g

Re: on perhaps unloading modules?

2021-08-23 Thread Dennis Lee Bieber
Conway's Game of Life. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Connecting python to DB2 database

2021-09-03 Thread Dennis Lee Bieber
i adapter. The semi-colon is, in my experience, only required by basic interactive query utilities -- to tell the utility that the statement is fully entered, and can be sent to the server. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix

Re: The sqlite3 timestamp conversion between unixepoch and localtime can't be done according to the timezone setting on the machine automatically.

2021-09-02 Thread Dennis Lee Bieber
Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: The sqlite3 timestamp conversion between unixepoch and localtime can't be done according to the timezone setting on the machine automatically.

2021-09-02 Thread Dennis Lee Bieber
runswick" in the PRCa) Though https://roadsidethoughts.com/nb/lower-california-profile.htm doesn't help in deconfusion -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.o

Re: The sqlite3 timestamp conversion between unixepoch and localtime can't be done according to the timezone setting on the machine automatically.

2021-09-02 Thread Dennis Lee Bieber
pon. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: on floating-point numbers

2021-09-02 Thread Dennis Lee Bieber
he exponent was in the low byte) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: on floating-point numbers

2021-09-02 Thread Dennis Lee Bieber
s, I believe, >independent of data order. > Most likely it sorts the data so the smallest values get summed first, and works its way up to the larger values. That way it minimizes the losses that occur when denormalizing a value (to set the exponent equal to that of the next larger v

Re: on floating-point numbers

2021-09-02 Thread Dennis Lee Bieber
> >All I did was to take the first number, 7.23, and move it to the last >position in the list. (So we have a violation of the commutativity of >addition.) > https://www.amazon.com/Real-Computing-Made-Engineering-Calculations-dp-B01K0Q03AA/dp/B01K0Q03AA/ref=mt_other?_encoding=UTF8=

Re: on writing a while loop for rolling two dice

2021-09-08 Thread Dennis Lee Bieber
On Wed, 8 Sep 2021 16:32:45 - (UTC), Grant Edwards declaimed the following: >On 2021-09-08, Dennis Lee Bieber wrote: > >> I spent close to 20 years (80s-90s) maintaining the /output/ of such >> a preprocessor. > >Ouch. I hope it paid well. ;) Only if one

Re: on writing a while loop for rolling two dice

2021-09-08 Thread Dennis Lee Bieber
ntrant, allowing multiple compiles to share one in-core image; the preprocessor no doubt ran as one image per compile, triggering lots of page swapping to disk) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Problems with running Python in Npp

2021-09-09 Thread Dennis Lee Bieber
thon some-script-file-name" (though newer Python's include a so-called "launcher" invoked as just "py"). -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: The code version of python -i

2021-09-15 Thread Dennis Lee Bieber
/code.html > >and thus do not know what the limitations might be. Well, offhand, I'd say you need to provide a function to be used for raw_input (which will have to provide prompts, etc.). -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.com

Re: on writing a while loop for rolling two dice

2021-09-07 Thread Dennis Lee Bieber
ll_frozen_over(): > return False > >while not hell_frozen_over(): > Hell typically freezes every January (scroll down to monthly average): https://www.worldweatheronline.com/hell-weather-averages/michigan/us.aspx -- Wulfraed Dennis Lee Bieber

Re: on writing a while loop for rolling two dice

2021-09-06 Thread Dennis Lee Bieber
or repetitions ... end AND worse! You can combine them... do idx = start for repetitions while condition1 until condition2 ... end {I need to check if both while and until can be in the same statement} -- Wulfraed

Re: on floating-point numbers

2021-09-06 Thread Dennis Lee Bieber
which will store anything in any field, but uses some slightly obscure logic to determine what conversion is done) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Non sequitur: on writing a while loop for rolling two dice

2021-09-06 Thread Dennis Lee Bieber
y mind immediately flash on "The Man Who Never Returned"? (AKA: "M.T.A.", Kingston Trio song) (Especially as you describe just the opposite -- many returns ) -- Wulfraed Dennis Lee Bieber AF6VN wlf

Non sequitur: on writing a while loop for rolling two dice

2021-09-06 Thread Dennis Lee Bieber
The Man Who Never Returned"? (Especially as you describe just the opposite -- many returns ) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: on writing a while loop for rolling two dice

2021-09-08 Thread Dennis Lee Bieber
the F-IV output, so easy to locate... -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Friday Finking: Contorted loops

2021-09-09 Thread Dennis Lee Bieber
s Parser https://www.python.org/dev/peps/pep-0617/ >PEP 315 https://www.python.org/dev/peps/pep-0315/ >BDFL Rejection >https://mail.python.org/pipermail/python-ideas/2013-June/021610.html >Later discussion >https://mail.python.org/pipermail/python-ideas/2009-April/004306.html >and >https://mail.python.org/archives/list/python-id...@python.org/thread/2VUZ3J6C4GSHGBZJW62AY4HPEEBMXAT6/#2VUZ3J6C4GSHGBZJW62AY4HPEEBMXAT6 >PEP 548 https://www.python.org/dev/peps/pep-0548/ >BDFL Rejection >https://mail.python.org/pipermail/python-dev/2017-September/149232.html >Python-Ideas post >https://mail.python.org/archives/list/python-id...@python.org/thread/EDNARFL2RGOE53SLWPTD5ZLJQOYSVDCR/#EDNARFL2RGOE53SLWPTD5ZLJQOYSVDCR >Duke Paper >https://users.cs.duke.edu/~ola/patterns/plopd/loops.html#loop-and-a-half >RegEx in Python https://docs.python.org/3/library/re.html >and https://docs.python.org/3/howto/regex.html >"bastardise" (meaning 1) https://www.dictionary.com/browse/bastardize >https://stackoverflow.com/questions/743164/how-to-emulate-a-do-while-loop >DRY >https://code.tutsplus.com/tutorials/3-key-software-principles-you-must-understand--net-25161 > >-- >Regards, >=dn -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Friday Finking: Contorted loops

2021-09-09 Thread Dennis Lee Bieber
On Thu, 09 Sep 2021 19:07:49 -0400, Dennis Lee Bieber declaimed the following: >On Fri, 10 Sep 2021 09:36:36 +1200, dn via Python-list > declaimed the following: Someone, please shoot me now... >>This is a perennial question (one contributor calling it "immemorial&qu

Re: combine multiple xlsx files which include dropdown columns in them.

2021-09-08 Thread Dennis Lee Bieber
they are opened and saved with the same name. """ It does, however, grant access to the formulas in cells, rather than just last value; along with style information... -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://

Re: Problem with python

2021-09-04 Thread Dennis Lee Bieber
thon2 compatibility). > Given the nature of the error reported by the OP... It may be closer to state "whose maintainers may or may not care about" /Python3/ "compatibility"; the code appears to already be Python2 compatible -- Wulfraed Dennis Lee Bieber

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-30 Thread Dennis Lee Bieber
nsus implementation of an "X-Expire-After: " would have been friendlier (Google Groups USED to expire X-No-Archive posts after a week, instead of the current practice of: post says no-archive, delete immediately). -- Wulfraed Dennis Lee Bieber AF6VN

Re: on slices, negative indices, which are the equivalent procedures?

2021-08-12 Thread Dennis Lee Bieber
gt;available, or available within other, older languages, then might this >explain Python's adoption? > As part of the DO loop, FORTRAN did allow decrementing -- but one also had then to put the start-end in correct order... DO 10 I = 32, 0, -1 -- Wulfraed

Re: Is there a better way to create a list of None objects?

2021-08-12 Thread Dennis Lee Bieber
e. You "working" example is actually creating a TUPLE stored (as the only element) inside a LIST. >>> [None] * 8 [None, None, None, None, None, None, None, None] >>> Creates a LIST of 8 elements, each being None. -- Wulfraed

Re: some problems for an introductory python test

2021-08-12 Thread Dennis Lee Bieber
brought up a display with approximately "we created Amiga, CBM messed it up"]) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: some problems for an introductory python test

2021-08-12 Thread Dennis Lee Bieber
er liked to deal with floating-point. > Unfortunately, the most commonly available is Regina REXX, and to my knowledge it did not implement the arbitrary precision feature. Softrware emulation of multprecision floating point is slooo! -- Wulfraed D

Re: Generate a Google Translate API token through the Socks5 proxy using gtoken.py

2021-07-29 Thread Dennis Lee Bieber
On Thu, 29 Jul 2021 15:45:26 +0200, Peter Otten <__pete...@web.de> declaimed the following: >On 28/07/2021 18:40, Dennis Lee Bieber wrote: >> On Wed, 28 Jul 2021 09:04:40 +0200, Peter Otten <__pete...@web.de> >> declaimed the following: >> >>> >

Re: 'Pygame Module' not working

2021-07-31 Thread Dennis Lee Bieber
going wrong. First attempt: use a full pathname. Second: determine what the "current working directory" is in which your program is running, then use a pathname relative to that directory. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...

Re: some problems for an introductory python test

2021-08-11 Thread Dennis Lee Bieber
ries in the root directory block; each entry points the start of a linked list, follow the list until you reach the block with the component name; if it is a directory block, hash the next component and repeat; if it is a file block, the "entries" point to data blocks instead of lis

Re: some problems for an introductory python test

2021-08-11 Thread Dennis Lee Bieber
ht perusal of the Win32 API (the various guide books aren't layed out in any way to be a reference), and Linux seems to use UNIX sockets for IPC... No way to search for a connection point by name... But I've harangued long enough. -- Wulfraed

Re: on slices, negative indices, which are the equivalent procedures?

2021-08-11 Thread Dennis Lee Bieber
f or_test: and_test ('or' and_test)* and_test: not_test ('and' not_test)* not_test: 'not' not_test | comparison -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: XML Considered Harmful

2021-09-22 Thread Dennis Lee Bieber
ations (terminology from relational theory -- a "table" to most) linked by foreign keys. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Polymorphic imports

2021-09-22 Thread Dennis Lee Bieber
t do what you want -- as long as the module name itself remains fixed. The other alternative may be https://docs.python.org/3/library/functions.html#__import__ -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiver

Re: XML Considered Harmful

2021-09-22 Thread Dennis Lee Bieber
ass Fuel(): def __init__(self, name, ..., price): self.name = name ... self.price = price class Generator(): def __init__(self, name): self.name = name self.fuel = None self.curv

Re: What to write or search on github to get the code for what is written below:

2022-01-13 Thread Dennis Lee Bieber
On Fri, 14 Jan 2022 08:24:43 +1100, Chris Angelico declaimed the following: >On Fri, Jan 14, 2022 at 7:56 AM Dennis Lee Bieber >wrote: >> >> On Thu, 13 Jan 2022 15:22:50 -0500, Dennis Lee Bieber >> declaimed the following: >> >> Talking to

Re: What to write or search on github to get the code for what is written below:

2022-01-13 Thread Dennis Lee Bieber
On Thu, 13 Jan 2022 15:22:50 -0500, Dennis Lee Bieber declaimed the following: Talking to myself in public again... Bad habit... > As you've described this system, the only thing your application will >do is record "check-outs" by tracking available copies of book

Re: What to write or search on github to get the code for what is written below:

2022-01-13 Thread Dennis Lee Bieber
ot;) you'd use, say, column_dict["COPIES_LEFT"] where the dictionary has something like { ..., "COPIES_LEFT" : 5, ... } -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: What to write or search on github to get the code for what is written below:

2022-01-12 Thread Dennis Lee Bieber
thon's ODBC DB-API interface (which is a bit archaic as I recall -- does not match current DP-API specifications). -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- Wulfraed Dennis

Re: What to write or search on github to get the code for what is written below:

2022-01-12 Thread Dennis Lee Bieber
most recent message. Import into some supported database and normalize the data to make updates easier. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Why There Is No Python Compressed Archive or Binaries ?

2022-01-17 Thread Dennis Lee Bieber
rary) computers that may not have it installed, and for which users have no ability to install applications. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread Dennis Lee Bieber
text for that, and find it still makes no sense to me... I can code direct SQL queries faster than trying to figure out the equivalent functionality in SQLAlchemy... And if the OP has a fixation on spreadsheet views of the data, SQLAlchemy will really be a mystery. } -- Wulfraed

Re: What to write or search on github to get the code for what is written below:

2022-01-17 Thread Dennis Lee Bieber
n up and loaded from scratch. One is supposed to use one of the client server databases provided by Heroku for persist ant storage (since those are not inside "dyno" container -- the app makes a network connection to the database server. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Behavior of the for-else construct

2022-03-04 Thread Dennis Lee Bieber
ectory listing. {Though the BASIC interpreter gave it away -- doing a directory from within the interpreter resulted in a hex representation of names with non-graphic characters... In EBCDIC of course} -- Wulfraed Dennis Lee Bieber AF6VN wlfr.

Re: How to solve the given problem?

2022-03-04 Thread Dennis Lee Bieber
*. **. **. **. **. ***. + (Not very visible as each * is 10 units, and using . for 2.5, - for 5, + for 7.5) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Non sequitur: Changing subject line... WAS: Behavior of the for-else construct

2022-03-07 Thread Dennis Lee Bieber
;1mc72hll06itd6jnbgdherqb3thf1fk...@4ax.com> <20220306163951.2ozmrhfbtsktb...@hjp.at> it will still appear under the parent message; it will only thread differently if one's client merely sorts on subject and date/time. -- Wulfraed Dennis Lee Bieber

Re: Behavior of the for-else construct

2022-03-05 Thread Dennis Lee Bieber
(RH ring finger to top-row followed by RH middle finger to top-row ). More fun is had when doing APL without a dedicated APL keyboard (Though Xerox Sigma APL also had plain text alternatives: $RHO for example) -- Wulfraed Dennis Lee Bieber AF6VN wlfr.

Re: Behavior of the for-else construct

2022-03-05 Thread Dennis Lee Bieber
library to get advanced math functions (I believe later versions incorporated the FORTRAN math natively). -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Reportlab / platypus bug?

2022-03-13 Thread Dennis Lee Bieber
original. """ My hypothesis is that rendering the "story" results in changes to the contained objects (possibly they are even "consumed" as they are rendered -- so you first attempt ends up passing an empty "story" for the second PDF).

Re: Reportlab / platypus bug?

2022-03-14 Thread Dennis Lee Bieber
lf.build(tempStory, **buildKwds) #self.notify('debug',None) """ -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Behavior of the for-else construct

2022-03-06 Thread Dennis Lee Bieber
11 assembly were run on a pair of LSI-11 systems. Assembly used for the operating system principles course. I didn't encounter "real" C until getting a TRS-80 (first as integer LC, then Pro-MC), along with Supersoft LISP (on cassette tape!). (I had books for C and Ada before encounter

Re: How to solve the given problem?

2022-02-16 Thread Dennis Lee Bieber
t it for grading (unless proven otherwise, these have the appearance of homework assignments and, to reiterate, we do not provide solutions to homework). OR ask the person who gave you the assignment if your understanding is correct. -- Wulfraed Dennis Lee Bi

Re: Long running process - how to speed up?

2022-02-19 Thread Dennis Lee Bieber
at loop... definitely remove the .sleep(). That loop is already I/O bound, the fastest you can obtain is determined by how rapidly the OS can transfer records from the file system to your program. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netc

Re: C is it always faster than nump?

2022-02-25 Thread Dennis Lee Bieber
es cannot be made part of python >such as a vector/array that holds exactly one kind of data structure and not >force use of things like a list when that is more than is needed? > https://docs.python.org/3/library/array.html seems to fit the criteria... -- Wulfraed

Re: How to solve the given problem?

2022-02-17 Thread Dennis Lee Bieber
on and get 6 1.333 .333v 6 1.333 .666v 13 2.666 1.333^ .333 25 5.333 .666v 26 5.333 .999^ (again, 3 decimal places) 0.0 38 8.0 0.0 38 8

Re: Best way to check if there is internet?

2022-02-22 Thread Dennis Lee Bieber
requested in the desired operation -- and if that succeeds you've basically performed the shorter tree. > >> -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: How to solve the given problem?

2022-03-01 Thread Dennis Lee Bieber
_Hg-Repositories\REXX> -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-11 Thread Dennis Lee Bieber
using the win32py (or whatever the current name is) extension... Or with more difficulty, ctypes! -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Getting Syslog working on OSX Monterey

2022-02-27 Thread Dennis Lee Bieber
On Sun, 27 Feb 2022 14:17:39 -0500, Dennis Lee Bieber declaimed the following: APOLOGIES -- I thought I KILLED the draft message, not sent it... -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp

Re: How to solve the given problem?

2022-02-26 Thread Dennis Lee Bieber
nd feed, but not discovered until after the third feed. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: C is it always faster than nump?

2022-02-26 Thread Dennis Lee Bieber
) and %descr() -- descriptor being a small structure with the address reference along with, say, upper/lower bounds; often used for strings). -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.or

Re: Getting Syslog working on OSX Monterey

2022-02-27 Thread Dennis Lee Bieber
n, which is loaded according to syslog -config: >> /var/log/appName/appName.log mode=0640 compress format=std rotate=seq >file_max=50M all_max=500M >? [CA= Sender appName] file /var/log/appName/appName.log > >My end goal is really to get just a working python logging -> >var/log

Re: Long running process - how to speed up?

2022-02-20 Thread Dennis Lee Bieber
Type "help", "copyright", "credits" or "license" for more information. >>> import multiprocessing as mp >>> mp.cpu_count() 4 >>> exit() md_admin@microdiversity:~$ -=-=- -- Wulfraed Dennis Lee Bieber

Re: Difficulty in installing Python

2022-03-23 Thread Dennis Lee Bieber
stall a Tkinter script called IDLE which provides a rudimentary IDE capability. > >Kind Regards, >Reuel R. Lewis -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Feature Request

2022-03-23 Thread Dennis Lee Bieber
h.trunc -3, math.floor -4, math.ceil -3 >>> int() and .trunc() move toward 0, .floor() moves to less positive, .ceil() moves to more positive. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Qualification?

2022-03-29 Thread Dennis Lee Bieber
and plotting the timing of the packets intended to pass through and verifying that "classified" contents were blocked or sanitized). -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://m

Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Dennis Lee Bieber
tion in there somewhere? Crystal ball is hazy... However... Note that once you encode the Unicode literal, you have a BYTE string. There are 12 bytes in that binary -- it is NOT considered Unicode at that point (only when you decode it with the same CODEC will it be Unicode). -- Wu

Re: 'äÄöÖüÜ' in Unicode (utf-8)

2022-03-31 Thread Dennis Lee Bieber
gt; Ah yes... Unfortunately, when gmane made the mirror read-only, I had to revert to comp.lang.python... and all the junk that gets in via that and Google Groups... -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.

Re: Exchange OWA using Python?

2022-03-31 Thread Dennis Lee Bieber
is called "Outlook for the Web"). That would explain why there is no documentation of an "API"... I get the impression that any so-called API programs have had to reverse engineer (maybe using things like WireShark) the HTTP communication. -- Wulfraed

Re: pyinstaller is not a internal or external command

2022-04-05 Thread Dennis Lee Bieber
ot;" A second possibility is that your environment is not configured to recognize .PY files as executables. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Pycharm IDE: seeking an assist!

2022-03-21 Thread Dennis Lee Bieber
ince deleting the variable might affect how that application operates. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: What to write or search on github to get the code for what is written below:

2022-01-29 Thread Dennis Lee Bieber
On Fri, 28 Jan 2022 14:31:20 -0700, Cousin Stanley declaimed the following: >Dennis Lee Bieber wrote: > >> Ignoring the code spam I presume >> > > I'm an sqlite user myself and was glad to see > the code you posted and have a couple of tiny example &g

Re: Data unchanged when passing data to Python in multiprocessing shared memory

2022-02-02 Thread Dennis Lee Bieber
not writing through to RAM? Can't find anything on Google to force a cache flush Can you test on a different OS? (Windows vs Linux) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Data unchanged when passing data to Python in multiprocessing shared memory

2022-02-02 Thread Dennis Lee Bieber
On big-endian machines, no code is inserted since none is needed; the functions are defined as null. """ -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: What to write or search on github to get the code for what is written below:

2022-01-28 Thread Dennis Lee Bieber
event loop invoking call-backs, rather an explicit loop with comparison for event/widget and dispatch to handler functions) -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org

Re: What to write or search on github to get the code for what is written below:

2022-01-31 Thread Dennis Lee Bieber
id not send/receive messages -- one had to invoke scripts to queue outgoing messages for sending, and others to fetch from POP3 servers. I'll admit I couldn't do that now -- the need for SSL/TLS protocols complicates things.} -- Wulfraed Dennis Lee Bieber AF6VN

Re: Problem upgrading pip and installing pygame

2022-01-31 Thread Dennis Lee Bieber
EXACT operations you are performing and the results... [NOT SCREEN CAPTURES -- this forum strips non-text attachments; select the TEXT and cut that] -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/

Re: Best way to check if there is internet?

2022-02-07 Thread Dennis Lee Bieber
On Mon, 07 Feb 2022 11:40:24 -0800 (PST), Grant Edwards declaimed the following: >On 2022-02-07, Dennis Lee Bieber wrote: > >> Also, for a machine freshly booted, with no cache, even pinging >> Google first requires making contact with a DNS server to ask for >

Re: Openning Python program

2022-02-06 Thread Dennis Lee Bieber
gured to accept .py as an executable file, with the Python interpreter as the "runner", which is how the lines without "python" function -- but if you explicitly invoke python with a file name you must provide the full name. C:\Users\Wulfraed>assoc .py .py=Python.File C:\Us

Re: Best way to check if there is internet?

2022-02-07 Thread Dennis Lee Bieber
K/NAK packets for each one it sends out. If it doesn't receive either it will, after some time-out period, declare a broken connection. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'

2022-02-09 Thread Dennis Lee Bieber
e. Multiple record updates within a transaction are possible. -- Wulfraed Dennis Lee Bieber AF6VN wlfr...@ix.netcom.comhttp://wlfraed.microdiversity.freeddns.org/ -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   >