ng list:
https://programmingforeveryone.groups.io/g/pythonvis
But, besides that, I am a 100%/full-time python web-developer, who uses
python for other things as well, and, besides VS code, edSharp
programmer's text editor is still probably my code editor of choice.
Jacob Kruger
+2782 413 4791
&
ince the number of target machines
could easily be enough to use up a lot of bandwidth, etc., so, what we
are looking into at the moment relates to only triggerring recordings at
certain times on certain machines, in between.
Thanks in advance
---
Jacob Kruger
+2782 413 4791
"Resista
the folder/directory containing the code and the virtual
environment seemed to be causing these errors/issues, specific to
altgraph, which doesn't really make sense to me, but, it's now working,
so, will archive this to memory, for later reference.
Jacob Kruger
+2782 413 4791
&quo
Ok, last update for now - checked out the following page on
pyinstaller.org, and, ended up posting to the mailing list, so, let's see:
https://pyinstaller.org/en/latest/when-things-go-wrong.html
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
as
convenient, and, still wondering what changed here.
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
On 2024/03/31 14:51, Barry wrote:
On 31 Mar 2024, at 13:24, Jacob Kruger via Python-list
wrote:
pkg_resources.DistributionNotFound: The
ywin32 has caused an issue?
Should I try installing python 3.12 version instead and see if it changes?
Also, if relevant, while running under latest up-to-date version of
windows 11 64 bit, have in any case enabled case-sensitivity on the
folder I store all my python code in, just in case.
TIA
--
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
--
https://mail.python.org/mailman/listinfo/python-list
prefer to work via classes, modules, etc. at
runtime, but this was more or less mostly testing, which then caused
confusion/interference on my side...LOL!
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
On 2024/03/07 03:55, Grant Edwards via Python-l
Ok, Ethan, that makes sense - I generally work with modules in folders,
etc., but, this was just test code, but, 'see' if I instead import
scoping2 as sc2, and then refer to sc2.dt_expiry and sc2.do_it, then it
does operate as it should - thanks, again.
Jacob Kruger
+278
, via command line - generally
working with flask, and/or other forms of command line interaction, most
of the time.
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
On 2024/03/06 17:39, Roel Schroeven via Python-list wrote:
Op 6/03/2024 om 13:55 schre
nt(dt_expiry)
1970-01-01 00:00:00+00:00
>>> print(id(dt_expiry))
1808577867152
>>>
---end session---
As in, the two different ID values are being returned outside and inside
the function, whereas, if I included that bit inside the interpreter
while typing code manually, chances are th
ss?
So, yes, know this comes across like some form of a scam/joke, or
list-garbage, since it doesn't make any sense to me at all, but still
just wondering if missing something, or should I shift over to 3.12 to
see if if works differently, or just try reinstalling 3.11 from scratch,
or should I re
e function?
Unless this is something that changed from 3.11 to 3.12 - since that
snippet is more or less referring to 3.12, but, don't think it was
changed in any way?
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
On 2024/03/06 14:5
from scratch seems to then ignore the global scope specified in
the first line inside the function?
Hope this makes more sense
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
On 2024/03/05 20:23, dn via Python-list wrote:
Jacob,
Please reduce the prob
anks if you have any ideas/thoughts on the matter
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
--
https://mail.python.org/mailman/listinfo/python-list
- the
one included here in flet seemed 'nicer':
https://beeware.org/project/projects/libraries/toga/
But, haven't taken time to really take it much further than just a bit
of playing around so far.
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile.
flet.dev/docs/guides/python/deploying-web-app/progressive-web-apps/>
--
Jacob Kruger
+2782 413 4791
"Resistance is futile!...Acceptance is versatile..."
--
https://mail.python.org/mailman/listinfo/python-list
Think performing a session/transaction flush after the first two inserts
should offer the workaround before you've committed all transaction
actions to the database finally:
https://medium.com/@oba2311/sqlalchemy-whats-the-difference-between-a-flush-and-commit-baec6c2410a9
HTH
Jacob K
Beeware is the only one I have tried out:
https://beeware.org/
Jacob Kruger
+2782 413 4791
"Resistance is futile...but, acceptance is versatile..."
On 2023/01/25 22:55, Jules Tillinghast wrote:
Is there a good python library for converting python3 to android APK
--
https://mail.
ering forms of low-level monitoring for UI
elements, but, this is not really related to initial task, but, could
almost relate to forms of non-visual gaming interfaces, for blind/VI
individuals - I am myself 100% blind, but, that's not really relevant in
this context.
Stay well
Ja
, or might roll back
to 3.10 if relevant, but, main thing is just want to get an idea of
what's simplest to make use of in this context?
Thanks in advance
--
Jacob Kruger
+2782 413 4791
"Resistance is futile...but, acceptance is versatile..."
--
https://mail.python.org/mailman/
-time python developer nowadays, and,
when it comes to web development in this context, I work with either
flask or django, but anyway.
Regards
--
Jacob Kruger
+2782 413 4791
"Resistance is futile...but, acceptance is versatile..."
--
https://mail.python.org/mailman/listinfo/python-list
Presume you're talking about python idle IDE?
Forget it, and, like said, I use edSharp programmers text editor, and
work from command line/console when want to test/run my code.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Resistance is futile, but, acceptance is versati
What part is not accessible?
Ask since while haven't really gone past 3.4 and 3.5.1, at times, I
generally work with specific text/code editors, and the command line
window, and this works fine for me with both NVDA, and jaws 17 at times.
Stay well
Jacob Kruger
Blind Biker
Skype: Bl
tence")
s.replace(",", "") #do this for all common punctuation characters
l = s.split(" ") #space is actually default
s2 = input("enter word")
i = l.index(s2)
print("Your word is at position " + str(i+1) + " in the sentence")
#end code
That
pyGame under 3.5.1:
https://skellykiernan.wordpress.com/2015/01/04/python-pygame-install/
That was after copying the .whl file into the./scripts directory under
python 3.5.1 installation path.
HTH
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space jani
Environment variables pointing to c:\python..?
(needs to point to actual installation directory)
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
On 2016-01-16 11:41 PM, Hmood Js wrote:
cmd won't recognize python
#x27; if
can get hold of that module for 2.7, and take it from there.
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
On 2016-01-08 7:07 AM, Bernardo Sulzbach wrote:
On Fri, Jan 8, 2016 at 1:54 AM, jacob Kruger wrote
urllib2,
and under 3.4, pip install can't find it either..?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
On 2016-01-08 1:08 AM, Saeed Moqadam wrote:
create multi platform desktop application by using P
help with feedback, etc., and can also put you
in touch with various other blind developers who do also work with python,
etc.
For example, AFAIK, the primary blind programmers mailing list is
progra...@freelists.org, and besides me, there are a few other python
developers on that list as well.
Stay we
omatically, etc.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
--
https://mail.python.org/mailman/listinfo/python-list
bers will have more to offer - I
myself have no real formal training, and work in a slightly odd sector in terms
of my own approach - but, will send you a bit more information specific to
local python activity, off list.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roge
ure about industry specific use of different
languages/platforms.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
--
https://mail.python.org/mailman/listinfo/python-list
this page seems to offer enough detail relating to PDB, to
start off with anyway:
https://docs.python.org/3/library/pdb.html
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
--
https://mail.python.org/mailman/listinfo/python-list
rd UI
controls, and make sure tab index/order is suitable/relevant at times, etc.
etc.
As in, I think we'd primarily want to avoid having to use a mouse at all if
possible, but anyway.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space j
gging code
execution, etc. - at moment, primarily either print out information to
console, during dev process, or at times invoke sound effects/TTS output to
keep track, or even, occasionally use pickle to store images of objects for
later review, etc., but anyway...
Stay well
Jacob Kruger
Blind Biker
Skyp
couple of other topic specific
ones, but anyway.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: "Bryan Duarte"
To:
Sent: Wednesday, February 18, 2015 7:43 P
gh to command line prompt before, or something,
since am 99.9% sure always just used key to advance one screen at a
time before - who knows, but, main thing is, yes, space bar does what I want
it to.
Thanks
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the
- Original Message -
From: "Steven D'Aprano"
Newsgroups: comp.lang.python
To:
Sent: Saturday, January 31, 2015 11:13 AM
Subject: Re: help() function screen output
Jacob Kruger wrote:
Using python 3.4 32 bit on windows 7 64 bit machine, and when, for
example, type in
information, but,
when, for example, hit enter key, it merely populates one more line of info,
each time - under pythn 2.7, it seemed to render one full screen of info each
time.
Is there rather a different keystroke should use to invoke that, or is this a
python 3.4 feature/issue?
TIA
Jacob Kruger
hon implementation - you're right that should have just redone that
part of it ;)
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
--
https://mail.python.org/mailman/listinfo/python-list
- Original Message -
From: "Dennis Lee Bieber"
To:
Sent: Thursday, January 15, 2015 4:22 PM
Subject: Re: [OT] Re: MySQL connections
On Thu, 15 Jan 2015 13:48:34 +0200, "Jacob Kruger"
declaimed the following:
Agree with that, but, like said in prior e-mail, ju
- Original Message -
From: "Chris Angelico"
Cc:
Sent: Thursday, January 15, 2015 2:33 PM
Subject: Re: MySQL connections
On Thu, Jan 15, 2015 at 10:59 PM, Jacob Kruger
wrote:
Tried generating .exe with both cx_freeze, and pyInstaller, and the code
itself, and both v
and then copy .exe back to this primary
machine, then get same error - think it must relate to something else on
this machine, but can't track it down.
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
--
https://mail.python.org/mailman/listinfo/python-list
- Original Message -
From: "Peter Otten" <__pete...@web.de>
To:
Sent: Thursday, January 15, 2015 12:40 PM
Subject: [OT] Re: MySQL connections
Jacob Kruger wrote:
However, if implement similar code - down to just trying to open a
connection, wait a few seconds, a
And, FWIW, if I compile the 2.7 version on the other machine where it works, in
both code and compiled forms, and then copy .exe back to the main machine, same
error message pops up, so must be something to do with machine's configuration,
etc.
Stay well
Jacob Kruger
Blind Biker
()
#MySQLdb version
import MySQLdb
cn = MySQLdb.connect("localhost", "root", "", "import_test")
time.sleep(5)
cn.close()
#end code
Stay well (away from this machine ;) )
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
--
https://mail.python.org/mailman/listinfo/python-list
happens, but, the moment I in fact try to then just close the connection,
that's when error dialogue immediately pops up.
Sorry - should also have mentioned the connection, cursor, etc. ec. all work
fine under normal python interpreter, but anyway.
Jacob Kruger
Blind Biker
Skype: BlindZA
&
, but,
the moment I in fact try to then just close the connection, that's when
error dialogue immediately pops up.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From:
See answers below.
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: "Dennis Lee Bieber"
The very first hit /I/ get is:
https://social.technet.microsoft.com/Forums/wi
exc:
s_exc = str(exc.args)
#lbc.DialogShow(title="errorMessage", message=s_exc)
print(s_exc)
exc_type, exc_obj, tb = sys.exc_info()
print(str(exc_obj))
print("line number: " + str(tb.tb_lineno))
#end of convertExport function
#---end cod
slate' it into a string value,
and will apparently try handle some forms of character substitution - but will
play around with it a bit more, and let's see...
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet...
Thanks.
Yes, sorry didn't mention 2.7, and, unfortunately in this sense, all of this
will be running on windows machines.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message
this on site, so had to work first with generating string
values, and then handle executing those statements against a MySQL server
later on using MySQLdb.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
which
could possibly result in a whole bunch of different character sets, etc.
being copied across, so it comes down to that while can't control sources of
data, need to manipulate/work with it to make it useful on our side now.
Thanks again
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger
copy/pasted strings from documents, with strange encoding, or something:
#sample code line for binary encoding into string output
s_values += "0x" + str(l_data[J][I]).encode("hex").replace("\\", "") + ", "
TIA
Jacob Kruger
Blind Biker
Skype:
also
pretty much useless to me, but anyway.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: "Eric S. Johansson"
To:
Sent: Monday, January 05, 2015 8:18 PM
Subj
Not sure after quick skim/scan, but, I would generally use either for I in
range(len(inlist)): or just for it in inlist, instead of using while, etc.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- O
Ok, makes sense - just slipped same one line if: action bit of code inside a
function, and worked fine.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: Skip Montana
Ok, makes sense - just slipped same one line if: action bit of code inside a
function, and worked fine.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: Skip Montana
Actually more that in the interpreter, it's prompting me with ... as if I had
left out a closing ) or something, but, suppose it could work fine in an actual
imported bit of code?
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space
One line assignment is ok, but, seems like you can't perform actions.
#the following will work:
I = 1 if True else 2
#but the following will generate an error:
if I == 1: print("one")
And, not sure if/how to work around that second one myself.
Stay well
Jacob Kruger
Bl
One line assignment is ok, but, seems like you can't perform actions.
#the following will work:
I = 1 if True else 2
#but the following will generate an error:
if I == 1: print("one")
And, not sure if/how to work around that second one myself.
Stay well
Jacob Kruger
Bl
, but let's
see...
Am not sure of redistribution licence either, and will need/want to test it
on a couple of other types of machines.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Messa
olume(1, 0)
channel = pygame.mixer.Sound.play(song)
time.sleep(1)
#end code
Will now just have to double-check/test compilation of something including
something like this, using something like cx_freeze, etc., but, thanks again.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
...Roger Wilc
self to be installed, or something.
Jacob Kruger
Blind Biker
Skype: BlindZA
...Roger Wilco wants to welcome you, to the space janitor's closet...
- Original Message -
From: Ian Kelly
To: Python
Sent: Wednesday, December 17, 2014 3:49 AM
Subject: Re: Simple background sound
to compiling into executable, and
main thing is would like to keep it simple...
Suggestions?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
...Roger Wilco wants to welcome you, to the space janitor's closet...
--
https://mail.python.org/mailman/listinfo/python-list
e this?
That's also why am posting this here - trying to figure out how to track down
what's causing this odd behaviour.
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
...Roger Wilco wants to welcome you, to the space janitor's closet...
--
https://mail.python.org/mailman/listinfo/python-list
67 matches
Mail list logo