s path variable currently
refers to python 3.2, but anyway - just wondering if it's better to not rush
into newer versions off-hand, since also think my boss mentioned 2.6 to me or
something?
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his
ect handling, etc. - hope that
terminology isn't too far off, but mean things like list, tuple, dictionary
objects, etc. etc., and I do also quite like the polymorphism of
object/variable types, but along with their built-in function
handling/attachment.
Stay well
Jacob Kruger
Blind Bik
Ok, only major change have found/made thus far is now that have changed all the
input() prompts for command line over to raw_input() for now.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his s
as
such, or else at runtime it tells me it can't find the other module to import a
function from.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 mailing list
pytho
py that file to somewhere else, and then just tell it to do
something like:
"includes" : ["mapDataFn"]
Or should I maybe just run an import higher up inside setup.py itself?
Sorry if I'm misunderstanding anything/everything...
seem available using it's namespace string,
is it then possible to instantiate something like that using an actual file
path?
Asking since do have another DLL here that gives a bit more control over
text-to-speech options/usage.
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate
directly,
but which windows7 doesn't seem to want to register a class name for, etc., but
will now just have to look into what files etc. I'll need to copy/move around
if I want to produce spoken text aside from normal output, etc.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
&
, etc., and can't remember if ran some other
scripts on my windows7 32 bit machine before it worked, but anyway.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 mail
ta = open(sMapName + ".txt", "r")
except:
fData = None
finally:
if not bool(fData): print("invalid map name - " + sMapName + ".txt");
exit()
Any thoughts/ideas/alternative workarounds?
Jacob Kr
ondly, the reason I'm using tabs to handle indentation is partly since
the editor I specifically am using for python source editing prefers that for
use by VI/blind guys, and that's why it suits me, but anyway...
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body
er an object/class instance to
a string rendition, and then to maybe reiterate the original object later on..?
TIA (and not too important, but just wondering)
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not
arrow keystrokes.
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
72 = up
75 = left
77 = right
80 = down
Anyway, this is just testing, and like you said, would most likely not work too
cross platform as such, but anyway.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but
few google
searches, etc., but didn't find a real answer until now, but, like you said,
since it's not really platform independent, I think will for now leave it
alone as such.
Thanks again for help, either way
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his
lot more in it than I really
need/want, and it's also given me some minor issues relating to trying to then
build redistributable executables, etc., and this one really/honestly seems
more suitable/more like what I actually want it for.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
&
Maybe I'll check it out (pySonic) in any case.
Once audiere is imported it seems to work nicely/well enough, but would be nice
if could get it to import/load easily enough, but anyway.
Thanks
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not
now will be
sticking to text editor, or maybe try out eclipse, since that's what they want
me to use here at work in any case, but anyway...
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not
what could really be happening here, or should I try sort out
reinstalling windows7 or something...?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 mailing list
python-w
ption = "testingWxPython",
name = "aboutBox",
options = {'py2exe': options},
# targets to build
console = ["AboutBox.py"],
data_files=data_files
)
#---end of source---
Could it also maybe be something to do with this line?:
console = ["
.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: "Tim Roberts"
To: "Python-Win32 List"
Sent: Thursday, August 25, 2011 6:57 PM
Subject: Re: [python-win32] Recurring DLL err
Thanks, Werner
Adding the reference to the dll_excludes to the options dict made the
py2exe setup.py now run fine.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message ---
Subject: Re: [py
server from home
where connection is at least decent...
So, thanks again, and stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message ---
Subject: Re: [python-win32] Recurring DLL error with py2exe
F
but that's also more suitable for my sort of
development environment:
http://www.blindza.co.za/uploads/LBC/childWindowsLBC.zip
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 m
ve a look at it - starting
point/file is mapDataGenerator.py - 421Kb:
http://www.blindza.co.za/uploads/mapData/mapDataLBC_src/mapDataGenLBC_indent_src.zip
--
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
.
However, here's the python source:
http://www.blindza.co.za/uploads/mapData/mapDataLBC_src/mapDataLBC_src.zip
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32
now what I mean.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
tly, it otherwise seems quite happy/comfortable to run multiple threads/play
multiple sounds at the same time/near enough to each other, which is nice.
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
_
value of it's
internal counter variable, etc. - simple example, but seems to work well
enough, if you get my/the drift, and, what have pretty much found all over the
'net is that you get told not to try destroy anything manually/yourself, but
anyway.
Stay well
Jacob Kruger
Blind Bi
world thus far.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: "Ben Timby"
To:
Sent: Thursday, October 27, 2011 4:31 PM
Subject: Re: [python-win32] Restart/re-run a thread
Jaco
that makes use
of actual screen reader voices in meantime, and which works with python 2.7,
which is what am using at the moment, but anyway:
http://hg.qwitter-client.net/accessible_output/
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his s
sound_lib seems to make use of the base24 component - you seem to just need
to copy the base.dll file that's included in downloads from the following site
into the relevant lib/site_packages.../sound_lib folder:
http://www.un4seen.com/
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
Oh yes, and another module is the wxPython keyboard_handler:
http://hg.qwitter-client.net/keyboard_handler
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: Jacob Kruger
To: python-win32@
ways it would be better to
connect to a MySQL database/server, and if there are commonly used examples out
there, since didn't seem to find any off hand, and this is starting to come
together, but, just wondering..?
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broke
Will check it out.
Thanks
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: Vernon Cole
To: Jacob Kruger
Cc: python-win32@python.org
Sent: Friday, November 25, 2011 7:32 PM
Subject: Re: [py
Ok, here seems to be quite a nice, sort of step-by-step bit of
reference/tutorial material related to making use of MySQLdb, etc.:
http://www.kitebird.com/articles/pydbapi.html
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his s
round quite easily)
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
How easy/simple is it to actually compile python code into a DLL to be used on
windows by other programming languages, etc.?
I can easily enough use py2exe to generate command line apps that can be called
using command line arguments, etc., but was just wondering (as well).
TIA
Jacob Kruger
Although have looked around, haven't found too much consistent information
relating to doing something like referencing a DLL, preferably using something
like a relative file path, as opposed to having it as a registered DLL through
regsvr32, etc.
Is this possible/simple as such?
TIA
keystroke to invoke system menu, opened up the edit
submenu, done a select all, and then a similar copy to copy contents of that
window to clipboard for later reference.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Origin
cific text editor, but it's again just that - a beefed
up text editor program, so don't think it can really log changes, or run
it's own version of source control as such - sorry.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spir
Wondering off-hand if there's a simple/easy way to obtain mouse cursor
coordinates, and, also, how simple is it to interact with operating system, in
terms of if the mouse cursor is in fact outside the GUI as such - if that makes
sense?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'.
ground, but not
hidden/minimised as such, but don't think that would help it catch certain
keystroke combinations as such.
Sorry if these are silly questions...
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Mes
Ok, just tested it using win32gui.GetCursorPos function, and it does seem to
obtain coordinates outside primary window as well, so let's see - thanks.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Mess
le to implement something like a large cross hair cursor based on a
keystroke as such, using built in windows functionality.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: "Jacob Kruger&
these make use of
externally installed modules, but haven't encountered similar issues on
physical machines as of yet, but anyway.
Thoughts?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
L data to and from a dictionary
collection.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
s of just, at least being able to manipulate
playback pitch, at least 2D panning, pausing/stopping on demand, etc.?
And, got hold of that sound_lib module from here:
http://hg.qwitter-client.net/sound_lib
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not
then changed frequency in an incremental way,
it sounded literally like speeding up, etc., as such.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: "Tim Roberts"
To: "Pyth
As subject line says - current example .xml file is tracks.xml, and sound clips
are in /sounds subdirectory, and it uses sound_lib to handle playback:
https://dl.dropboxusercontent.com/u/13327195/soundMixing2Source.zip
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body
me to generate layout quickly
and easily, but, know should look into wx itself in more detail/depth.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: Tim Roberts
To: Python-Win32 List
thing,
instead of how this one is currently operating.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: Tim Roberts
To: Python-Win32 List
Sent: Wednesday, November 20, 2013 03:03 AM
Subje
her all, or multiple exception types, etc.?
And, if am confused, or targeting the wrong approach, you are also welcome to
offer better suggestions/guidelines relating to any form of exception handling
approach, etc.?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his
at least generate a form of error/exception log in
the location I specify as logdir.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: Jacob Kruger
To: python-win32@python.org
Sent: Tu
In windows at least, I can use os.stat(sFileName) to retrieve file
attributes, including modified time, accessed time, etc.?
Haven't used it, but, anyway:
http://docs.python.org/2/library/os.html#os.stat
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not
ility
packages, and wxPython is best bet thus far, but, I work primarily in web
development, so, yes, would be nice to work with web layout implementation as
well...
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his
UI's, I am now trying to get going using wxPython
properly/itself.
If I may ask, what do you use to edit your python code, etc.? I use
edSharp, which is a sort of blind programmers text editor, created by Jamal
Masry - if tht name means much to you.
Stay well
Jacob Kruger
Blind Biker
uot;, line 82, in load_module
File "wx\_core.pyo", line 125, in
AttributeError: 'module' object has no attribute 'PROCESS_ENTER'
Is there an alternative to py2exe I can try making use of?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body
OK, another update - took, and modified a slightly different version of the
setup.py for py2exe that includes packaging MS runtime files/DLL's in
library.zip, etc., and .exe output now seems to work, but anyway...
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broke
nce I primarily just navigate whole operating
system using cursor and tab keys, along with keyboard invocation of menu
systems, control shortcut keys, etc..
Suggestions?
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body
Ok, figured out workaround that does pretty much what I want:
win32api.GetLastInputInfo()
That seems to return time stamp of last user interaction, including mouse
moving, clicking, keyboard input, app switching, etc.
stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broke
w anyway.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: Tim Roberts
To: Python-Win32 List
Sent: Wednesday, 19 February, 2014 8:05 PM
Subject: Re: [python-win32] win32gui cursor position
In other words, would like to be able to hide the main part of the interface,
and display an icon in the windows system tray, which then either offers a
context menu, or else just re-displays the main part of the interface when you
double-click on the system tray icon?
TIA
Jacob Kruger
Blind
Thanks - will check it out, and, it seems to pretty much do what I want if I
just run it.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: "Mark Hammond"
T
sound
clips, etc.?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
bit machine:
explorer /select,c:\temp\testFile.txt
Wondering if there's a relatively simple way to bring a specific, external
window/application into foreground focus?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janito
Perfect!
Only issue will be varying possibilities of titles for windows explorer window,
but, can work around that.
Thanks
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From:
ndentation - and have left it
like that in source code for now.
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32
Thanks.
BTW, the other non-standard modules am making use of, aside from wxPython 3.0 -
went over to that one for help with wx.lib.scrolledpanel - include
accessible_output, and sound_lib - from:
http://hg.q-continuum.net
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wan
sound_lib.py2exe_datafiles(),
etc. to the output folder of cx_Freeze as well..?
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: "James Scholes"
To:
Sent: Saturday, 22 March,
here
you don't have to worry about end user environment as much...
TIA
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
ÿþ<