Re: Is Microsoft Windows secretly downloading childporn to your computer ?!

2015-12-02 Thread Steve Hayes
On Thu, 03 Dec 2015 06:21:45 +0200, Steve Hayes wrote: >On Wed, 2 Dec 2015 15:20:13 + (UTC), Grant Edwards > wrote: > >>On 2015-12-02, Richard Heathfield wrote: >>> On 02/12/15 08:57, Juha Nieminen wrote: >>>> In comp.lang.c++ Steve Hayes wrote: >&

Re: Is Microsoft Windows secretly downloading childporn to your computer ?!

2015-12-02 Thread Steve Hayes
On Wed, 2 Dec 2015 15:20:13 + (UTC), Grant Edwards wrote: >On 2015-12-02, Richard Heathfield wrote: >> On 02/12/15 08:57, Juha Nieminen wrote: >>> In comp.lang.c++ Steve Hayes wrote: >>>> You download things FROM a computer, you upload them TO a comp

Re: Is Microsoft Windows secretly downloading childporn to your computer ?!

2015-12-01 Thread Steve Hayes
much about computers, anything else you say is obviously not worth readin. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: how do I learn python ?

2015-11-19 Thread Steve Hayes
On Wed, 18 Nov 2015 04:58:30 +, ÏÄ»ªÁÖ wrote: > -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop

Re: Python.exe is not a valid Win32 application error message

2015-11-11 Thread Steve Hayes
ported OS for Python 3.5+ Or revert to an earlier version of Python that does work. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: Python.exe is not a valid Win32 application error message

2015-11-11 Thread Steve Hayes
ncluding Python) need to be updated, but when I've downloaded and updated them, the update hasn't worked. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: Python for Dummies exaple

2015-10-14 Thread Steve Hayes
) > >http://www.openbookproject.net/thinkcs/python/english3e/ >How to Think Like a Computer Scientist:Learning with Python 3 > >Many of these are updated versions (2 or 3 years old) of well known py2 >books. That may be so, but I've not seen any of them in any bookshops or

Re: Python for Dummies exaple

2015-10-14 Thread Steve Hayes
It's much easier, and you don't have to spend hours searching online for differences between 3.x and 2.x just to find what caused an error in an example script. Once you've l;earnt it, then you can start learning the differences, and maybe by that time there will be a book that de

Re: Who uses IDLE -- please answer if you ever do, know, or teach

2015-08-06 Thread Steve Hayes
ean with Python >3. With respect to programming, are you >amateur (unpaid) -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: Why pay DICE When TheGongzuo.com is !! FREE !!

2015-07-14 Thread Steve Hayes
dustry) skilled Professional Candidates, So what does it actually DO? I'm assuming that it's some kind of enhancement for Python, but why would anyone actually use it? -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail

Re: JSON Object to CSV File Troubleshooting

2015-06-18 Thread Steve Hayes
t time? [follow-ups set] -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: JSON Object to CSV Question

2015-06-18 Thread Steve Hayes
On Wed, 17 Jun 2015 17:49:35 -0400, Saran Ahluwalia wrote: >Good Evening Everyone: > >I would like to have this JSON object written out to a CSV file so that the You've already said that in another thread, and got several answers. What are you? Some kind of troll? -- Steve Haye

Re: Extract email address from Java script in html source using python

2015-05-23 Thread Steve Hayes
On Sat, 23 May 2015 19:01:55 +1000, Chris Angelico wrote: >On Sat, May 23, 2015 at 4:46 PM, savitha devi wrote: >> I am developing a web scraper code using HTMLParser. I need to extract >> text/email address from java script with in the HTMLCode.I am beginner level >> in python coding and totall

Re: New to Programming - XML Processing

2015-04-02 Thread Steve Hayes
ily frowned upon here. >> >>TIA. > >Would it be possible to use a script that checks every incoming mail to the >Python mail list? Main ingredients beatfilsoup (to textify And that badly formatted posts like this are corrected for proper line length. -- Steve Hayes from Tsh

Re: Monotheism - One God

2015-03-20 Thread Steve Hayes
On Thu, 19 Mar 2015 14:57:33 -0700 (PDT), bv4bv4...@gmail.com wrote: >Monotheism - One God There is no God but Monty, and Python is his prophet. -- Terms and conditions apply. Steve Hayes hayesm...@hotmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Odo: Shapeshifting for your data

2015-03-06 Thread Steve Hayes
lear is whether odo is something you have to download somewhere. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: (Still OT) Nationalism, language and monoculture [was Re: Python Worst Practices]

2015-03-06 Thread Steve Hayes
sionally to communicate. > >I really dont understand what we are communicating (or not) about... > >Can you hear my accent? I certainly cant hear yours And if I call a Python list "books", is Python going to complain about my accent? Really? -- Steve Hayes from Tshwane, Sout

Re: (Still OT) Nationalism, language and monoculture [was Re: Python Worst Practices]

2015-03-05 Thread Steve Hayes
erwhelming, try to speak like a BBC newsreader. Your native accent can >be very difficult to understand. Are things named in Python named with an accent? Can you tell what my accent is like when I write in this newsgroup? -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.

Re: When to use SQLite3 [was Re: 'Lite' Databases (Re: sqlite3 and dates)]

2015-02-18 Thread Steve Hayes
ifferences were between SQLite and MySQL, and I got a lot of uninformative gobbledegook. This was more informative. I would summarise it by saying if you want a multiuser database running on a network, use MySQL. If you want a standalone database on a single machine, use SQLite. -- Steve Hay

Not sqlite3 and dates

2015-02-18 Thread Steve Hayes
> >But SQLite3 is *not* great if you look on it as a database engine >comparable with DB2, PostgreSQL, and even MySQL. And how does that answer the OP's question? -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Not sqlite3 and dates

2015-02-18 Thread Steve Hayes
re you saying that Frank made three major errors of judgement? :) No, ChrisA did, in answering questions that no one was asking, and changing the subject of the thread without changing the subject line. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://k

Re: sqlite3 and dates

2015-02-18 Thread Steve Hayes
welcome to disagree, but since PostgreSQL doesn't cost any >money and (on Linux at least; can't speak for other platforms) doesn't >take significant effort to set up, I will continue to recommend it. All of which has nothing, absolutely nothing, to do with the OP's quest

Re: sqlite3 and dates

2015-02-18 Thread Steve Hayes
at extent it uses Python to interac t with the database, but it seems to do a pretty good job of handling dates, calculating ages etc. http://www.rootsmagic.com/ -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see we

Re: How to "wow" someone new to Python

2015-01-21 Thread Steve Hayes
notice. 1. I found it already on my computer. 2. It seemed to be used to run the Gramps genealogy program, which is quite complex. I was impressed. 3. When I started to look at it, I found that strings could be any length and were not limited to swomething arbitrary, like 256 characters. -

Re: Hello World

2015-01-08 Thread Steve Hayes
dora had it as well. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: If you were starting a project with XML datasource using python

2015-01-05 Thread Steve Hayes
from there. Could ignore XML by just converting to json with something like xml2json and pushing to many databases from there. (reposted to fix the long lines produced by the lame GoogleGroups editor) -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http

Re: what is wrong with d.clear()?

2014-12-23 Thread Steve Hayes
uot; I usually reply to those saying "So why did you send it to me?" I suspect that in most cases the senders do not know that that is what their mail program is sending, and do it to let them know that their mesdsage could not be read. -- Steve Hayes from Tshwane, South Africa Web:

Re: Hello World

2014-12-21 Thread Steve Hayes
On Mon, 22 Dec 2014 17:33:10 +1100, Chris Angelico wrote: >On Mon, Dec 22, 2014 at 5:21 PM, Steve Hayes wrote: >> Yes, my initial reaction was "that's awesome". >> >> And my second thought was that it was scary. >> >> I ran it. It worked, and prin

Re: Hello World

2014-12-21 Thread Steve Hayes
e obfuscated code >for production use. Yes, my initial reaction was "that's awesome". And my second thought was that it was scary. I ran it. It worked, and printed "Hello world". I was awed. But what if I had run it and it reformatted my hard disk? How would I ha

Re: Hello World

2014-12-20 Thread Steve Hayes
), >lambda _: _.func_code.co_argcount, >( >lambda _: _, >lambda _, __: _, > lambda _, __, ___: _, >lambda _, __, ___, : _, >lambda _, __, ___, , _: _, >lambda _, __, ___, , _, __: _, >l

Re: Using Python for date calculations

2014-11-21 Thread Steve Hayes
On Fri, 21 Nov 2014 15:07:39 -0500, Denis Beauregard wrote: >On Fri, 21 Nov 2014 14:35:14 -0500, Dennis Lee Bieber > wrote in soc.genealogy.computing: > >>On Fri, 21 Nov 2014 10:35:19 +0200, Steve Hayes >>declaimed the following: >> >> >>>This Python s

Re: Using Python for date calculations

2014-11-21 Thread Steve Hayes
On Sat, 22 Nov 2014 06:51:15 +1100, Paul Blair wrote: >On 22-Nov-2014 6:35 am, Dennis Lee Bieber wrote: >> On Fri, 21 Nov 2014 10:35:19 +0200, Steve Hayes >> declaimed the following: >> >> >>> This Python script does it for me. >>> >>> ye

Re: Using Python for date calculations

2014-11-21 Thread Steve Hayes
On Fri, 21 Nov 2014 14:50:36 -0500, Dennis Lee Bieber wrote: >On Fri, 21 Nov 2014 12:15:03 +0200, Steve Hayes >declaimed the following: > >>On Fri, 21 Nov 2014 19:40:22 +1100, Chris Angelico wrote: >> >>>On Fri, Nov 21, 2014 at 7:35 PM, Steve Hayes wrote: >&

Re: Using Python for date calculations

2014-11-21 Thread Steve Hayes
On Fri, 21 Nov 2014 17:03:12 +, duncan smith wrote: >On 21/11/14 08:35, Steve Hayes wrote: >> I've finally found a use for Python. >> >> When, in the course of my genealogy research, I look at census or burial >> records, I often want to work out a perso

Re: Using Python for date calculations

2014-11-21 Thread Steve Hayes
On Fri, 21 Nov 2014 10:20:06 +, Mark Lawrence wrote: >On 21/11/2014 08:50, Gary Herron wrote: >> On 11/21/2014 12:35 AM, Steve Hayes wrote: >>> I've finally found a use for Python. >>> >>> When, in the course of my genealogy research, I look at cens

Re: Using Python for date calculations

2014-11-21 Thread Steve Hayes
On Fri, 21 Nov 2014 19:40:22 +1100, Chris Angelico wrote: >On Fri, Nov 21, 2014 at 7:35 PM, Steve Hayes wrote: >> This Python script does it for me. >> >> year = input("Year: ") >> age = input("Age: ") >> born = year-age >> print 

Using Python for date calculations

2014-11-21 Thread Steve Hayes
g routines, namely to convert the kinds of dates produced by genealogy programs to a simple -mm-dd that computer database programs can understand, so that "Abt May 1677" would be rendered as "1677-05-00" Has anyone done something like that in Python? -- Ste

Re: Python modules

2014-11-09 Thread Steve Hayes
On Mon, 10 Nov 2014 16:12:07 +1100, Ben Finney wrote: >Steve Hayes writes: > >> I have a book on Python that advocates dividing programs into modules, >> and importing them when needed. > >Which book is this? (This is not essential to your question, but it >might

Python modules

2014-11-09 Thread Steve Hayes
understand that Python is an interpreted language, and If I wrote a program in Python like that, and wanted to run it on another computer, how would it find all the modules to import at run-time, unless I copied the whole directory structure over to the other computer? -- Steve Hayes from Tshwane

Re: Python has arrived!

2014-11-07 Thread Steve Hayes
alware that installs Python onto the device, > [...]" > 404: Page not found -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk --

Re: Python Programing for the Absoulte Beginner

2014-08-02 Thread Steve Hayes
On Sun, 3 Aug 2014 15:12:02 +1000, Chris Angelico wrote: >On Sun, Aug 3, 2014 at 3:11 PM, Steve Hayes wrote: >>>You're looking at a Python 2 book, and you're running Python 3. I >>>would recommend instead getting a Python 3 tutorial: >> >> Or do a

Re: Python Programing for the Absoulte Beginner

2014-08-02 Thread Steve Hayes
this instead: > >print("Game Over") > >You're looking at a Python 2 book, and you're running Python 3. I >would recommend instead getting a Python 3 tutorial: Or do as I did, and install Python 2. -- Steve Hayes from Tshwane, South Africa Web: http://www.kh

Re: .Net Like Gui Builder for Python?

2014-07-27 Thread Steve Hayes
On Sun, 27 Jul 2014 14:42:49 +0200, Chris “Kwpolska” Warrick wrote: >On Sun, Jul 27, 2014 at 2:24 PM, Steve Hayes wrote: >> The main reason I use Evernote is that I found a book for it, and couln't >> find >> one for OneNote. > >Both are actually self-explanat

Re: .Net Like Gui Builder for Python?

2014-07-27 Thread Steve Hayes
On Sun, 27 Jul 2014 10:10:44 +0200, Chris “Kwpolska” Warrick wrote: >On Sun, Jul 27, 2014 at 6:49 AM, Steve Hayes wrote: >> The one thing that isn't available with LibreOffice is OneNote, which you >> don't seem to be able to get separately, and doesn't seem to hav

Re: .Net Like Gui Builder for Python?

2014-07-26 Thread Steve Hayes
r would do more >with invitations, cards, and maybe reports/brochures)! The one thing that isn't available with LibreOffice is OneNote, which you don't seem to be able to get separately, and doesn't seem to have any documentation (ie 3rd party books on it). But there is Evernote.

Re: Your message to sqlite-users awaits moderator approval

2014-07-04 Thread Steve Hayes
o a members-only list So has someone tried to gate the comp.lang.python newsgroup to an Sqlite mailing list without the list owner's permission? -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or

Re: How to use SQLite (sqlite3) more efficiently

2014-06-06 Thread Steve Hayes
ople using this list. I > for one can't even see them. And for those reading it as a newsgroup they don't work at all. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or pa

Re: Python 3 is killing Python

2014-06-01 Thread Steve Hayes
On Sun, 01 Jun 2014 07:01:46 BST, Bob Martin wrote: >in 722929 20140601 035727 Steve Hayes wrote: > >>No, it's a bit like flying in a Boeing 747 rather than a Concorde. The latyer >>may be later and more technically advanced and flew faster, but no one uses or >>

Re: Python 3 is killing Python

2014-06-01 Thread Steve Hayes
iding point? Yes. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 3 is killing Python

2014-05-31 Thread Steve Hayes
On Sat, 31 May 2014 15:44:46 +0300, Marko Rauhamaa wrote: >Steve Hayes : > >> I'll leave Python 3.2 on my computer, but 2.7.5 will be the one I'm >> installing now. Even if I could *find* a book that deals with Python >> 3.x, couldn't afford to but yet an

Re: Python 3 is killing Python

2014-05-31 Thread Steve Hayes
On 31 May 2014 12:30:11 GMT, Steven D'Aprano wrote: >On Sat, 31 May 2014 12:07:59 +0200, Steve Hayes wrote: > >> I'll leave Python 3.2 on my computer, but 2.7.5 will be the one I'm >> installing now. Even if I could *find* a book that deals with Python >>

Re: Python 3 is killing Python

2014-05-31 Thread Steve Hayes
On Sat, 31 May 2014 13:09:45 +0200, Johannes Bauer wrote: >On 31.05.2014 12:07, Steve Hayes wrote: > >> So I bought this book, and decided that whatever version of Python it deals >> with, that's the one I will download and use. > >This sounds like remarkably bad

Re: Python 3 is killing Python

2014-05-31 Thread Steve Hayes
-0-672-33687-4 For Python 2.7.5 I'll leave Python 3.2 on my computer, but 2.7.5 will be the one I'm installing now. Even if I could *find* a book that deals with Python 3.x, couldn't afford to but yet another Python book. -- Steve Hayes from Tshwane, South Africa W

Re: Why Python 3?

2014-04-19 Thread Steve Hayes
to learn Python. I had Python 3 on my computer (came on one of those freebie discs you get with magazines, I think) and my son had a book on it, so I thought with the program and the instructions I should be able to learn something. It took me a week, with some help from this forum, to get the Prin

Re: Python and Unicode

2014-04-09 Thread Steve Hayes
On Wed, 9 Apr 2014 01:07:20 -0700 (PDT), wxjmfa...@gmail.com wrote: >Well, there is a (serious) problem somewhere... As there is with pandas and infertility. -- Terms and conditions apply. Steve Hayes hayesm...@hotmail.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Open Question - I'm a complete novice in programming so please bear with me...Is python equivalent to C, C++ and java combined?

2014-01-11 Thread Steve Hayes
more quickly -- Prolog for AI programs, for example. So the question is, which kinds of programs is Python best for? I'm a novice at it, so it's a question that concerns me. From what I've heard and read, it seems to be a fairly good general-purpose language, and it seems to be mo

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Steve Hayes
On Thu, 2 Jan 2014 01:07:54 +1100, David wrote: >On 1 January 2014 23:38, Steve Hayes wrote: >> >> I was thinking or of this: >> >>>>> python g:\work\module1.py >> File "", line 1 >> python g:\work\module1.py >>

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Steve Hayes
On Wed, 01 Jan 2014 22:37:45 +1100, Steven D'Aprano wrote: >Steve Hayes wrote: > >> I borrowed a book called "Learning Python" by Lutz and Asher, which is >> geared for 2.2/2.3. >> >> But the version I have in Windows is 3.2, and it seems that even

Re: Python 2.x and 3.x usage survey

2014-01-01 Thread Steve Hayes
ux, so I booted into that and it seemed to work there, but it seems that the differences between the versions are not trivial. So perhaps I should just try to install 2.x in Windows, and learn that. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://k

Re: Disable HTML in forum messages (was: Movie (MPAA) ratings and Python?)

2013-12-12 Thread Steve Hayes
ine and gone back to 1990!! > >Not everything that's changed since 1990 has been an improvement. And vice versa. -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-16 Thread Steve Hayes
all anyone even slightly to the right of them "fascist". But since both Nazis and fqascists were authoritarian types, perhaps we can create a portmanteau word to cover it -- how about "grammatarian" for "authoritarian grammarian". No, don't tell me. The libertari

Re: Beginner's guide to Python

2013-09-04 Thread Steve Hayes
On Wed, 4 Sep 2013 14:03:09 + (UTC), Grant Edwards wrote: >On 2013-09-04, Steve Hayes wrote: > >> Can anyone recommend a web site that gives a good beginner's guide to Python? > >http://www.greenteapress.com/thinkpython/ > >> -- what kind of projects Pytho

Beginner's guide to Python

2013-09-03 Thread Steve Hayes
ide to its syntax I've read about Python, and installed it on my computer when I found it on a DVD that came with a magazine, but I haven't got a clue about how to use it. So any advice on the best web sites for absolute novices would be welcome. -- Steve Hayes from Tshwane, Sou