Install Universal Encoding Detector

2006-03-15 Thread Jacob
How do I install Universal Encoding Detector (http://chardet.feedparser.org/)? Thanks, Jacob -- http://mail.python.org/mailman/listinfo/python-list

Re: Install Universal Encoding Detector

2006-03-15 Thread Jacob
Thanks :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Install Universal Encoding Detector

2006-03-16 Thread Jacob
How do I uninstall? /Jacob -- http://mail.python.org/mailman/listinfo/python-list

Re: How do you refer to an iterator in docs?

2012-04-19 Thread Jacob MacDonald
On Thursday, April 19, 2012 5:21:20 AM UTC-7, Roy Smith wrote: > Let's say I have a function which takes a list of words. I might write > the docstring for it something like: > > def foo(words): >"Foo-ify words (which must be a list)" > > What if I want words to be the more general case of

Re: with statement

2012-04-19 Thread Jacob MacDonald
On Thursday, April 19, 2012 10:15:23 AM UTC-7, Kiuhnm wrote: > A with statement is not at the module level only if it appears inside a > function definition or a class definition. > Am I forgetting something? > > Kiuhnm That sounds about right to me. However, I haven't really used with's very mu

Re: os.system()

2012-04-19 Thread Jacob MacDonald
On Thursday, April 19, 2012 11:09:22 AM UTC-7, Yigit Turgut wrote: > When I use os.system() function, script waits for termination of the > windows that is opened by os.system() to continue thus throwing errors > and etc. How can i tell Python to let it go and keep on with the next > execution afte

Re: can I overload operators like "=>", "->" or something like that?

2012-04-19 Thread Jacob MacDonald
On Thursday, April 19, 2012 12:28:50 PM UTC-7, dmitrey wrote: > hi all, > can I somehow overload operators like "=>", "->" or something like > that? (I'm searching for appropriate overload for logical implication > "if a then b") > Thank you in advance, D. I don't believe that you could overload t

Re: can I overload operators like "=>", "->" or something like that?

2012-04-20 Thread Jacob MacDonald
On Thursday, April 19, 2012 11:09:52 PM UTC-7, Ben Finney wrote: > alex23 writes: > > > On Apr 20, 5:54 am, Jacob MacDonald wrote: > > > > > On Thursday, April 19, 2012 12:28:50 PM UTC-7, dmitrey wrote: > > > > can I somehow overload operators like &q

Re: How do you refer to an iterator in docs?

2012-04-20 Thread Jacob MacDonald
On Friday, April 20, 2012 6:41:25 AM UTC-7, Roy Smith wrote: > In article <4f910c3d$0$29965$c3e8da3$54964...@news.astraweb.com>, > Steven D'Aprano wrote: > > > I refer you to your subject line: > > > > "How do you refer to an iterator in docs?" > > > > In documentation, I refer to an iterator

Initial introduction

2022-12-07 Thread jacob kruger
-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

Recommendations in terms of threading, multi-threading and/or asynchronous processes/programming? - Sent Mail - Mozilla Thunderbird

2023-01-06 Thread jacob kruger
, 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/

Re: Recommendations in terms of threading, multi-threading and/or asynchronous processes/programming? - Sent Mail - Mozilla Thunderbird

2023-01-08 Thread jacob kruger
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

Re: Android APK

2023-01-25 Thread jacob kruger
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.

zpifile.py error - no crc 32 attribute

2018-08-22 Thread jacob m
Hi guys, I have a problem with zipfile and zlib module, and hope to get some help. That's my error: "import zipfile File "/home/lib/python3.7/lib/python3.7/zipfile.py", line 19, in crc32 = zlib.crc32 AttributeError: module 'zlib' has no attribute 'crc32' " I have no idea what to do wi

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread jacob m
0 newly installed, 0 to remove and 0 not upgraded." Regards On 22 August 2018 at 13:12, jacob m wrote: > Hi guys, > I have a problem with zipfile and zlib module, and hope to get some help. > > That's my error: > "import zipfile > File "/home/lib/pytho

Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread jacob m
2 August 2018 at 23:09, Ashok Arora wrote: > Test this in the interpreter:- > > import zlib > zlib.__file__ > > It will return the location of zlib module. > > On 8/22/18, jacob m wrote: > > Hi, > > " Is there perhaps a different zlib on > >

Re: zpifile.py error - no crc 32 attribute

2018-08-24 Thread jacob m
On 2018-08-22 23:43, jacob m wrote: > > " import zlib > > print(zlib.__file__)" > > > > When I don't have the zlib uploaded to my Python3.7 library, I have the > > following error: > > "Traceback (most recent call last): > >File "

gmpy2 problem

2018-11-01 Thread jacob m
Hi guys I have some problems with gmpy2 module installation - pip install gmpy2 doesn't work for me [image: image.png] How to fix it? Regards -- https://mail.python.org/mailman/listinfo/python-list

Re: gmpy2 problem

2018-11-05 Thread jacob m
Sorry Rhodri, my gmail set your email as default recipient when I was responding, I forgot to change that. Sorry for that Regards On Mon, 5 Nov 2018 at 13:06, Rhodri James wrote: > Jacob, please reply to the list, not to me personally. As I said, I > have no idea about gmpy2 or pip,

Resources/pointers for writing maintable, testable Python

2016-05-18 Thread Jacob Scott
all of what I'm looking for, include - PEP-8 and PEP-20 - The Hitchhiker's Guide to Python <http://docs.python-guide.org/en/latest/> - Effective Python <http://www.effectivepython.com/> I'd appreciate any pointers to resources I might have missed

Re: Resources/pointers for writing maintable, testable Python

2016-05-18 Thread Jacob Scott
) tend to be a bit lower level (utf-8 str) than what I'm focused on (maintainable and testable classes, functions, modules, etc). Thanks for the pointer to Code Like A Pythonista and the feedback on 2.7 vs 3! Jacob On Wed, May 18, 2016 at 5:55 PM, Ben Finney wrote: > Jacob Scott

Re: Resources/pointers for writing maintable, testable Python

2016-05-19 Thread Jacob Scott
Indeed, I skimmed the TOC for Test-Driven Development with Python and it does look to be rather Django-centric (which makes it a bit less helpful to me). I will take a look at "Testing Python: Applying Unit Testing, TDD, BDD and Acceptance Testing"! Thanks, Jacob On Thu, May 19, 2016

Re: New to programming and asking about accessibility with jaws screen reader.

2016-07-24 Thread Jacob Kruger
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

Re: New to programming and asking about accessibility with jaws screen reader.

2016-07-24 Thread Jacob Kruger
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

Dynamical loading of modules

2005-10-03 Thread Jacob Kroon
the instantiated objects class-names becomes fruit.apple.Apple/fruit.banana.Banana, whild I want it to be fruit.Apple/fruit.Banana. Is there a smarter way of accomplishing what I am trying to do ? If someone could give me a small example of how to achieve this I would be very grateful.

Re: where to download md5.py?

2005-11-04 Thread Jacob Hallen
Python module (written in C). it's been in Python since >the early ages, so if you don't have it, your install is most likely >broken (per- >haps intentionally, based on this: http://eprint.iacr.org/2004/199 ) A pure python implementation of md5 is included in the pypy project.

SQLObject transaction rollback not working

2005-11-28 Thread jacob . miles
Hello. I'm trying to wrap a function call in a transaction, but when I intentionally throw an exception in the middle of the function it doesn't actually roll back the transaction. The debug output says 1/ROLLBACK, without any 1/COMMITs in there, but when I view the data in the command-line mysql

Help with saving and restoring program state

2005-01-24 Thread Jacob H
encing my game objects through module attributes and lists. I'm open to any suggestions. Thanks in advance for any help! Jacob -- http://mail.python.org/mailman/listinfo/python-list

Re: what's OOP's jargons and complexities?

2005-01-28 Thread jacob navia
Good post. First article that demistifies this OO centered approach in quite a long time. This approach has its strength, but also has it weakness, it is not the solution for every problem appearing in data processing. -- http://mail.python.org/mailman/listinfo/python-list

Europython 2005 - last call

2005-06-21 Thread Jacob Hallen
Europython 2005 will start on Monday 27 June! If you haven't preregistered for Europython 2005, you still have a few hours to do so. You can register and pay by credit card until 21 June 18.00 CEST. Payment by SWIFT/IBAN is closed, since we would not receive your payment before the conference sta

use a regex or not?

2005-06-21 Thread Joost Jacob
I am looking for a function that takes an input string and a pattern, and outputs a dictionary. # @param s str, lowercase letters # @param p str, lowercase and uppercase letters # @return dict def fill(s, p): d = {} return d String s has characters from the lowercase letters. Str

Re: use a regex or not?

2005-06-21 Thread Joost Jacob
Oops, the 3rd test should be fill('bb', p='Aa') resulting in the empty dict {} because no binding for A can be found. -- http://mail.python.org/mailman/listinfo/python-list

Host resolution problems with socket module

2005-07-03 Thread Jacob Lee
resentative of some lower-level subtlety (e.g. in the C libraries) that I'm unaware of? Has anyone else run into this before? -- Jacob Lee [EMAIL PROTECTED] | www.nearestneighbor.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Lisp development with macros faster than Python development?..

2005-07-05 Thread Joost Jacob
Very hard to say. LISP has OOP too, Google for CLOS. Operator overloading is something to avoid anyway, IMHO, just like static typing is something to avoid if you need fast development, on schedule and the like. LISP has one thing that Python does not have: LISP code is LISP data. A thorough stu

Python Module Exposure

2005-07-07 Thread Jacob Page
forum for exposing modules to the public, or is there somewhere more-acceptable? Does this newsgroup find attachments acceptable? -- Jacob -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Module Exposure

2005-07-07 Thread Jacob Page
Robert Kern wrote: > Jacob Page wrote: > >> I have created what I think may be a useful Python module, but I'd >> like to share it with the Python community to get feedback, i.e. if >> it's Pythonic. If it's considered useful by Pythonistas, I'l

Re: Polling, Fifos, and Linux

2005-07-07 Thread Jacob Page
Jeremy Moles wrote: > This is my first time working with some of the more lower-level python > "stuff." I was wondering if someone could tell me what I'm doing wrong > with my simple test here? > > Basically, what I need is an easy way for application in userspace to > simply echo values "down" to

Re: Python Module Exposure

2005-07-08 Thread Jacob Page
Thomas Lotze wrote: > Jacob Page wrote: > >>better-named, > > Just a quick remark, without even having looked at it yet: the name is not > really descriptive and runs a chance of misleading people. The example I'm > thinking of is using zope.interface in the sa

Re: Python Module Exposure

2005-07-09 Thread Jacob Page
George Sakkis wrote: > 1. As already noted, ISet is not really descriptive of what the class > does. How about RangeSet ? It's not that long and I find it pretty > descriptive. In this case, it would be a good idea to change Interval > to Range to make the association easier. The reason I decided

Re: Python Module Exposure

2005-07-09 Thread Jacob Page
George Sakkis wrote: > "Jacob Page" <[EMAIL PROTECTED]> wrote: > >>George Sakkis wrote: >> >>>1. As already noted, ISet is not really descriptive of what the class >>>does. How about RangeSet ? It's not that long and I find it pretty >&g

Re: Python Module Exposure

2005-07-09 Thread Jacob Page
George Sakkis wrote: > "Jacob Page" <[EMAIL PROTECTED]> wrote: > >>I think I will keep Interval exposed. It sort of raises a bunch of >>hard-to-answer design questions having two class interfaces, though. >>For example, would Interval.between(2, 3) + Int

ANN: interval module 0.2.0 (alpha)

2005-07-09 Thread Jacob Page
well as a change log. Again, any suggestions would be greatly appreciated. I especially want to sort out big design-level changes first. Then I can upgrade the project status to beta and try to keep interface compatibility intact. -- Jacob -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Module Exposure

2005-07-09 Thread Jacob Page
George Sakkis wrote: > "Jacob Page" <[EMAIL PROTECTED]> wrote: > >>I selected option one; Intervals are immutable. However, this doesn't >>mean that __add__ has to go, as that function has no side-effects. The >>reason I chose option one was because

Re: Python Module Exposure

2005-07-10 Thread Jacob Page
George Sakkis wrote: > "Jacob Page" <[EMAIL PROTECTED]> wrote: > >>If the union of two integers yielded a set of integers, then >>it'd make more since for the union of two Intervals to yield an >>IntervalSet. > > AFAIK union is defined over se

set and frozenset unit tests?

2005-07-11 Thread Jacob Page
if you've got any. My goal for this project is to make the classes built-in-data-type quality. -- Jacob -- http://mail.python.org/mailman/listinfo/python-list

Re: set and frozenset unit tests?

2005-07-12 Thread Jacob Page
Reinhold Birkenfeld wrote: > Jacob Page wrote: > >>I'd like to >>run my code through actual set and frozenset unit tests. Does any such >>code exist? Is it in pure Python? If so, where can it be obtained? > > Look at /usr/lib/python2.x/test/ (on unix platf

Re: set and frozenset unit tests?

2005-07-14 Thread Jacob Page
Steven Bethard wrote: > Jacob Page wrote: > >> Oye, there's quite a number of set and frozenset features that aren't >> well-documented that I now need to implement. What a fun chore! > > It would be a great help if you could submit appropriate documentation

Re: Compiling a Python File on Mac OS X Tiger

2005-07-26 Thread Jacob Page
Asad Habib wrote: > Hello. I am working on Tiger and wanted to find out how to compile a > Python (.py) file into a .pyc file and then into a .pyo file. Can the > compilation be achieved within the interpreter? Also, I am > new to Python and wanted to know the difference between .pyc and .pyo > fil

[ANN] PyDO-2.0b1 Released

2005-07-27 Thread Jacob Smullyan
kWeb mailing list at sourceforge: http://lists.sourceforge.net/lists/listinfo/skunkweb-list Cheers, js -- Jacob Smullyan -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Vs Rails

2005-09-15 Thread Jacob Smullyan
is likely to fail in unpredictable ways, including silently, whereas an explicit declaration of what fields are in a table, for instance, will fail with a hard error. But maybe this is anal retentiveness, akin to a need for strong typing. js -- Jacob Smullyan -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Vs Rails

2005-09-15 Thread Jacob Smullyan
one of the reasons for unit tests :-) They > can help finding out where is the problem and they should never fail > silently. You are right. I am consoled. js -- Jacob Smullyan -- http://mail.python.org/mailman/listinfo/python-list

code for Computer Language Shootout

2005-03-15 Thread Jacob Lee
ode? By the way - is there a good way to find out the maximum memory a program used (in the manner of the "time" command)? Other than downloading and running the shootout benchmark scripts, of course. -- Jacob Lee [EMAIL PROTECTED] | www.nearestneighbor.net -- http://mail.python.org/mailman/listinfo/python-list

Re: code for Computer Language Shootout

2005-03-15 Thread Jacob Lee
uirements. What if your last line is less than 60 characters long? You no longer will be displaying the input in reverse order. Otherwise you'd be right - my solution would be unnecessarily unwieldy (and the problem would be much simpler...) . -- Jacob Lee [EMAIL PROTECTED] | www.nearestneighbor.net -- http://mail.python.org/mailman/listinfo/python-list

Re: code for Computer Language Shootout

2005-03-15 Thread Jacob Lee
'TGVHCDM\nKNSYAAWBRTGVHCDMKNSYAAWBR')): seq = seq.translate(table)[::-1] for i in range(0, len(seq), 60): print seq[i:i+60] def main(): seq = [] for line in sys.stdin: if line[0] in ';>': show(''.join(seq)) print line, del seq[:] else: seq.append(line[:-1]) show(''.join(seq)) main() -- Jacob Lee [EMAIL PROTECTED] | www.nearestneighbor.net -- http://mail.python.org/mailman/listinfo/python-list

Re: code for Computer Language Shootout

2005-03-16 Thread Jacob Lee
> > This is my shorter and faster version of Harmonic (I hope the use of > sum instead of the for is okay for the Shootout rules): > http://shootout.alioth.debian.org/benchmark.php?test=harmonic&lang=python&id=0&sort=fullcpu > > import sys > print sum(

how to force HTTP 1.1 when using urllib2?

2004-12-21 Thread jacob c.
When I request a URL using urllib2, it appears that urllib2 always makes the request using HTTP 1.0, and not HTTP 1.1. I'm trying to use the "If-None-Match"/"ETag" HTTP headers to conserve bandwidth, but if I'm not mistaken, these are HTTP 1.1 headers, so I can't reasonably expect a web server to

Re: Grouping code by indentation - feature or ******?

2005-03-26 Thread Jacob Lee
llows you to set upper and lower bounds, and he combines this with for loops that usually start at one but don't always. I doubt he was trying to get this point across, but the lesson I've learned is to always start at zero and count to less than the length of the list (in c, the idi

Europython 2005 is now accepting talk submissions

2005-04-04 Thread Jacob Hallen
not too late to revive the Applications Track. We also need people to help out in the reception during the conference. Send an email to [EMAIL PROTECTED] Jacob Hallén Head organiser -- -- http://mail.python.org/mailman/listinfo/python-list

Europython 2005 registration open

2005-04-26 Thread Jacob Hallen
EuroPython is held -for the second time- in Göteborg, Sweden, during the week of June 27-29, 2005. Registration is open and now is your chance to submit a proposal (or more). Several topics are handled in parallel tracks at EuroPython2005, these include: Business, Education, Lightning talks, Pyth

ipython and pyglet

2014-01-01 Thread Jacob Goodson
Hello! Has anyone here tried to get ipython to interact with the event loop for pyglet? If so, would you be willing to share come example code? I would like to be able to interactively code in pyglet, creating and updating objects while the program is running. Thanks! -- https://mail.python

Re: PyFladesk :: create GUI apps by Python and HTML, CSS and Javascript.

2016-01-07 Thread jacob Kruger
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

Re: PyFladesk :: create GUI apps by Python and HTML, CSS and Javascript.

2016-01-07 Thread jacob Kruger
#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

Re: Hello.

2016-01-17 Thread jacob Kruger
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

Re: Installing pygame

2016-01-21 Thread jacob Kruger
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

Re: Help

2016-02-28 Thread jacob Kruger
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&#

New member - 'odd' question

2014-12-11 Thread Jacob Kruger
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

Simple background sound effect playback

2014-12-16 Thread Jacob Kruger
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

Re: Simple background sound effect playback

2014-12-17 Thread Jacob Kruger
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

RE: Simple background sound effect playback

2014-12-20 Thread Jacob Kruger
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

Re: Simple background sound effect playback

2014-12-21 Thread Jacob Kruger
, 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

Re: If One Line

2014-12-25 Thread Jacob Kruger
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

Re: If One Line

2014-12-25 Thread Jacob Kruger
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

Re: If One Line

2014-12-25 Thread Jacob Kruger
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

Re: If One Line

2014-12-25 Thread Jacob Kruger
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

Re: If One Line

2014-12-25 Thread Jacob Kruger
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

Re: Why For Loop Skips the Last element?

2015-01-01 Thread Jacob Kruger
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

Re: need some guidance on Python syntax smart editor for use with speech recognition

2015-01-05 Thread Jacob Kruger
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

String character encoding when converting data from one type/format to another

2015-01-07 Thread Jacob Kruger
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:

Re: String character encoding when converting data from one type/format to another

2015-01-07 Thread Jacob Kruger
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

Re: String character encoding when converting data from one type/format to another

2015-01-07 Thread Jacob Kruger
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..."

Re: String character encoding when converting data from one type/format to another

2015-01-07 Thread Jacob Kruger
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

unidecode

2015-01-12 Thread Jacob Kruger
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...

Python 2.7, on windows7 64 bit development machine, inconsistent issue on similar machines

2015-01-13 Thread Jacob Kruger
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

Re: Python 2.7, on windows7 64 bit development machine, inconsistent issue on similar machines

2015-01-13 Thread Jacob Kruger
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

Re: Python 2.7, on windows7 64 bit development machine, inconsistent issue on similar machines

2015-01-13 Thread Jacob Kruger
, 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:

Re: Python 2.7, on windows7 64 bit development machine, inconsistent issue on similar machines

2015-01-13 Thread Jacob Kruger
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 &

MySQL connections

2015-01-15 Thread Jacob Kruger
() #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

Re: MySQL connections

2015-01-15 Thread Jacob Kruger
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

Re: [OT] Re: MySQL connections

2015-01-15 Thread Jacob Kruger
- 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

Re: MySQL connections

2015-01-15 Thread Jacob Kruger
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

Re: MySQL connections

2015-01-15 Thread Jacob Kruger
- 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

Re: [OT] Re: MySQL connections

2015-01-15 Thread Jacob Kruger
- 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

Re: [OT] Re: MySQL connections

2015-01-15 Thread 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

help() function screen output

2015-01-31 Thread Jacob Kruger
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

Re: help() function screen output

2015-01-31 Thread Jacob Kruger
- 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

Re: help() function screen output

2015-01-31 Thread Jacob Kruger
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

Re: Accessible tools

2015-02-19 Thread Jacob Kruger
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

Re: Accessible tools

2015-02-19 Thread Jacob Kruger
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

Re: Accessible tools

2015-02-20 Thread Jacob Kruger
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

Re: Accessible tools

2015-02-22 Thread Jacob Kruger
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

  1   2   3   >