Re: Why is this?

2005-08-12 Thread gene tani
I think you got your answer. FWIW, questions like this i usually look 1st in the Cookbook (i.e. the Oreilly dead trees, 2nd edition). See Chap. 4 And: My gotcha list, http://www.ferg.org/projects/python_gotchas.html http://zephyrfalcon.org/labs/python_pitfalls.html http://zephyrfalcon.org/labs/

Re: Jargons of Info Tech industry

2005-08-12 Thread gene tani
the other canonical responses: - killfile killfile killfile - nothing to see here ... keep moving - don't cross-post your replies, don't rile the perl users. -- http://mail.python.org/mailman/listinfo/python-list

Re: up to date books?

2005-08-18 Thread gene tani
Start here: http://naeblis.cx/rtomayko/2004/12/15/the-static-method-thing http://dirtsimple.org/2004/12/java-is-not-python-either.html http://ischenko.blogspot.com/2005/02/java-may-not-be-that-bad-after-all.html and maybe poke around ehre to learn about language design, how people define typing,

Re: up to date books?

2005-08-18 Thread gene tani
well, it's not easy to find neutral comparisons of ruby and python, but http://www.ruby-doc.org/RubyEyeForThePythonGuy.html http://onestepback.org/index.cgi/Tech/Ruby/PythonAndRuby.rdoc http://www.approximity.com/ruby/Comparison_rb_st_m_java.html http://reflectivesurface.com/weblog/2004/12/19/why

Re: import __main__ where can i find a module called "__main__.py"?

2005-08-21 Thread gene tani
http://www.python.org/doc/faq/programming.html#how-do-i-find-the-current-module-name -- http://mail.python.org/mailman/listinfo/python-list

Re: last line chopped from input file

2005-08-21 Thread gene tani
or: (for long-running Win32 processes) os.startfile(r'/relative/path/to/app') http://docs.python.org/lib/os-process.html under linux/BSD/solaris, i've run into situations where PATH and other environmental var s aren't what you expect (they're from the /etc/profile system defaults, not from your

Re: network programming

2005-08-21 Thread gene tani
If i had started in 8th grade, I'd be Guido MartelliPeters by now! Anyway, these people claim to have 125 tutorials, it'll take at least a couple hours to work thru http://www.awaretek.com/tutorials.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Eve from Adams' Ribs

2005-08-23 Thread gene tani
ORM: Several to choose from: http://blogs.nuxeo.com/sections/blogs/florent_guillaume/2005_08_11_object_relational http://en.wikipedia.org/wiki/Object-relational_mapping#Python http://www.python.org/pypi?:action=browse&asdf=256 -- http://mail.python.org/mailman/listinfo/python-list

Re: Reg python nature.

2005-08-23 Thread gene tani
Do some reading, and stop hijacking threads http://www.python.org/doc/faq/general.html -- http://mail.python.org/mailman/listinfo/python-list

Re: py to exe: suggestions?

2005-08-28 Thread gene tani
There's movpy, w/option to exclude Unicode/win98 capabilities: http://www.voidspace.org.uk/python/movpy/ Also: http://www.effbot.org/zone/exemaker.htm http://www.python.org/doc/current/dist/postinstallation-script.html http://www.jython.org/docs/differences.html Ben Finney wrote: > chris patton

Re: python and ajax

2005-08-30 Thread gene tani
http://www.modernmethod.com/sajax/ http://selenium.thoughtworks.com/usage.html Stephan Diehl wrote: > On Mon, 29 Aug 2005 12:04:46 -0700, Steve Young wrote: > > > Hi, I was wondering if anybody knew of any good > > tutorial/example of AJAX/xmlhttprequest in python. > > Thanks. > > > > -Steve > > A

Re: array of arrays question

2005-08-30 Thread gene tani
I think this is addressed somewhere in a python Gotchas list. These lists're huge, but if you scan thru these every once in a while, they're big timesavers: http://www.ferg.org/projects/python_gotchas.html http://zephyrfalcon.org/labs/python_pitfalls.html http://zephyrfalcon.org/labs/beginners_mi

Re: how to join two Dictionary together?

2005-08-30 Thread gene tani
look Pyth Cookbook 2nd edit, Sec 4.17: "Unions/intersections dictionaries". You'll see idioms like this for dict unions: uniondict=dict(dict1, **dict2) filter (dicta.has_key, dictb.keys()) DENG wrote: > yes, that's really what i want! > > the 2nd replace the 1st one' value! > > thanks so much

Re: graphical or flow charting design aid for python class development?

2005-08-31 Thread gene tani
Have you looked at class browser module? Not the graphical tool you're looking for, but maybe a good start http://www.python.org/doc/2.0.1/lib/module-pyclbr.html William Gill wrote: > Being somewhat new to Python, and having a tendency to over complicate > things in my class design, I was wonder

Re: graphical or flow charting design aid for python class development?

2005-08-31 Thread gene tani
forgot mention Komodo's code and object browser, which're both in the $30 license http://aspn.activestate.com/ASPN/docs/Komodo/3.1/komodo-doc-codeintel.html#codeintel_codebrowser and SPE's supposed to have some kinda class explorer http://www.stani.be/python/spe -- http://mail.python.org/mailma

Re: graphical or flow charting design aid for python class development?

2005-09-01 Thread gene tani
There's also this about giving source/class browsers a hand by sprinkling "isinstance()"'s in http://wingware.com/doc/intro/tutorial-sassist-with-classes I always encourage people to write up their experience/improessions in the python wiki: http://wiki.python.org/moin/PythonEditors (or the sepa

Re: Record separator for readlines()

2005-09-02 Thread gene tani
universal newlines? http://www.python.org/doc/2.3.3/whatsnew/node7.html Angelic Devil wrote: > I know this has been asked before (I already consulted the Google > Groups archive), but I have not seen a definative answer. Is there a > way to change the record separator in readlines()? The documen

Re: Django Vs Rails

2005-09-05 Thread gene tani
http://griddlenoise.blogspot.com/2005/07/python-off-rails.html http://www.boddie.org.uk/python/web_frameworks.html flamesrock wrote: > Firstly, this topic is NOT intended for trolling or starting any flame > wars. > -- http://mail.python.org/mailman/listinfo/python-list

Re: Django Vs Rails

2005-09-06 Thread gene tani
Here's another, (i'm just flipping thru del.icio.us and furl tags, not endorsing any viewpoints. I've never looked at Django or Subway, but I do need to look at zope 3, i think): http://www.magpiebrain.com/archives/2005/08/14/rails_and_django Diez B. Roggisch wrote: > gene ta

Re: Django Vs Rails

2005-09-06 Thread gene tani
just to make it really easy, there's some really good blogs and detailed analyses of the frameworks, competition is good: http://del.icio.us/tag/rails+django gene tani wrote: > Here's another, (i'm just flipping thru del.icio.us and furl tags, not -- http://mail.python.or

Re: python object model diagram

2005-09-09 Thread gene tani
I think he's looking for tidy pictures of how metaclasses and descriptors interact with your classes and instances at compile- & runtime, something like that (which I haven't seen) There's pictures of the class hierarchy for C and j-python: http://www.brpreiss.com/books/opus7/html/page114.html ht

Re: "grep" database

2005-09-09 Thread gene tani
maybe look Gonzui, LXR, some of the other tools listed here http://www.gnu.org/software/global/links.html Hilbert wrote: > Hello, > > I've heard of a software on linux that creates a recursive database of > text files and then provides an interface for grep-like queries. I'd > like to use it to

Re: Python Search Engine app

2005-09-14 Thread gene tani
Yes, there's a bunch. Google for "query parser" + python, "porter stemming" "stopwords" "text indexer". Maybe lucene has some python bindings, hmm? Harlin Seritt wrote: > Hi, > > Is anyone aware of an available open-source/free search engine app > (something similar to HTDig) written in Python t

Re: [perl-python] problem: reducing comparison

2005-02-16 Thread gene . tani
This could have been a really unique thread: 15 messages, 1 author -- http://mail.python.org/mailman/listinfo/python-list

Re: function with a state

2005-03-06 Thread gene . tani
and make it a singleton, viz: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52558 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66531 http://www.python.org/2.2.3/descrintro.html (scroll wayyy down) -- http://mail.python.org/mailman/listinfo/python-list

Re: Using for... for multiple lists

2005-03-06 Thread gene . tani
If sequences are not same length: zip truncates to length of shortest input sequence map(None, seq1, seq2) pads to length of longest seq. (can't remember what itertools.izip() does) -- http://mail.python.org/mailman/listinfo/python-list

Re: function with a state

2005-03-06 Thread gene . tani
I believe python docs are quite *un*-stilted. Modules and packages are not complicated. Read chapter 7 of the nutshell, it's only 10 pages long. 2.3 and 2.4 didn't introduce any fundamental changes in how modules work AFAIK -- http://mail.python.org/mailman/listinfo/python-list

Re: os.system()

2005-03-07 Thread gene . tani
mod subprocess, if you're on 2.4: http://docs.python.org/whatsnew/node8.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Wishlist item: itertools.flatten

2005-03-12 Thread gene . tani
window / cons / fencepost / slice functions: +1 (with a flag to say if you want to truncate or pad incomplete tuples at end of input sequence. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303279 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303060 http://aspn.activestate.com/

Re: How can I load a module when I will only know the name 'on the fly'

2005-03-15 Thread gene . tani
imp.find_module() and imp.load_module: http://www.python.org/doc/2.3.4/whatsnew/section-pep302.html http://docs.python.org/lib/module-imp.html renwei wrote: > use built-in function: __import__ > > m = __import__('sys', globals()) > print m.platform > > weir > > > > "Tobiah" <[EMAIL PROTECTED]> >

Re: Convert python to exe

2005-03-15 Thread gene . tani
exemaker and bdist, too: http://effbot.org/downloads/index.cgi/exemaker-1.2-20041012.zip/README http://www.python.org/doc/2.2.3/dist/creating-wininst.html RM wrote: > Does cx_Freeze pack all dependencies? Would te resulting files(s) be > able to run on a Linux machine that does not have Python i

Re: Complementary language?

2004-12-26 Thread gene . tani
http://lambda-the-ultimate.org/ http://advogato.org/ http://c2.com/cgi/wiki?WelcomeVisitors www.artima.com It's a big world out there, you can glimpse Haskell, LUA, CLU, scheme, squeak etc. Disclaimer: going into these sites is liking going into REM sleep when it's 95 degrees Fahrenheit (hot) and

Re: html tags and python

2005-03-26 Thread gene . tani
get the mx package here: http://www.egenix.com/files/python/eGenix-mx-Extensions.html#Download-mxBASE = >>> import mx.DateTime >>> print mx.DateTime.DateTime(2004,2,31) # Feb. 31? Traceback (most recent call last): File "", line 1, in ? mx.DateTime.RangeE

Re: html tags and python

2005-03-26 Thread gene . tani
http://diveintopython.org/file_handling/index.html really good tutorial on exceptions. The whole book is well done, in fact, I recommend it. I also like Practical Python, and the Oreilly "Learning Python", but they're not online. For production purposes, you'd still do date-check on the client

Re: urllib.urlretireve problem

2005-03-29 Thread gene . tani
Mertz' "Text Processing in Python" book had a good discussion about trapping 403 and 404's. http://gnosis.cx/TPiP/ Larry Bates wrote: > I noticed you hadn't gotten a reply. When I execute this it put's the following > in the retrieved file: > > > > 404 Not Found > > Not Found > The requested

Re: urllib.urlretireve problem

2005-03-30 Thread gene . tani
.from urllib2 import urlopen . try: . urlopen(someURL) . except IOError, errobj: .if hasattr(errobj, 'reason'): print 'server doesnt exist, is down, DNS prob, or we don't have internet connect' .if hasattr(errobj, 'code'): print errobj.code -- http://mail.python.org/mailma

Re: Ternary Operator in Python

2005-04-01 Thread gene . tani
The good ol' DiveInto says: http://diveintopython.org/power_of_introspection/and_or.html#d0e9975 http://aspn.activestate.com/ASPN/Python/Cookbook/Recipe/52310 Diez B. Roggisch wrote: > praba kar wrote: > > > Dear All, > > I am new to Python. I want to know how to > > work with ternary opera

Re: Python Equivalent to Java Interfaces?

2005-04-08 Thread gene . tani
There's 4 places to look: zope, twisted, PEAK and pyProtocols: this link describes pyprotocols pretty well http://peak.telecommunity.com/protocol_ref/module-protocols.html http://peak.telecommunity.com/PyProtocols.html -- http://mail.python.org/mailman/listinfo/python-list

Re: python 3.3 repr

2013-11-15 Thread Gene Heskett
the unix way of doing things there ever was. So I tell folks these days that I am 39, with 40 years experience at being 39. ;-) > > Robin Becker Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershel

Re: python 3.3 repr

2013-11-15 Thread Gene Heskett
On Friday 15 November 2013 13:52:40 Mark Lawrence did opine: > On 15/11/2013 16:36, Gene Heskett wrote: > > On Friday 15 November 2013 11:28:19 Joel Goldstick did opine: > >> On Fri, Nov 15, 2013 at 10:03 AM, Robin Becker > > > > wrote: > >>>

Re: Glade Survey

2013-11-18 Thread Gene Heskett
gnome.org/ > [3] http://library.gnome.org/devel/gtk/stable/GtkBuilder.html > [4] http://www.gtk.org/language-bindings.php > [5] http://www.fsf.org/licensing/licenses/gpl.html Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in t

Re: Glade Survey

2013-11-18 Thread Gene Heskett
On Monday 18 November 2013 20:43:24 Chris Angelico did opine: > On Tue, Nov 19, 2013 at 8:04 AM, Gene Heskett wrote: > > On Monday 18 November 2013 16:04:14 Juan Pablo Ugarte did opine: > >> Hello everybody! > >> > >> We (Glade Developers) are conduct

My first real request for help

2013-11-19 Thread Gene Heskett
s to what file might be missing. So, how do I find out? Thanks. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) abuse me. I'm so lame I sent a bug report to debian-deve

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 08:51:09 Albert Dengg did opine: > On Tue, Nov 19, 2013 at 04:31:15AM -0500, Gene Heskett wrote: > ... > > > But when I switch in, as one of the plugins a new .py version of > > camview- emc, I get this when I attempt to run linuxcnc -l, where t

Re: tcltk, python, xml, gtk problems

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 10:10:31 Gene Heskett did opine: > On Tuesday 19 November 2013 08:51:09 Albert Dengg did opine: > > On Tue, Nov 19, 2013 at 04:31:15AM -0500, Gene Heskett wrote: > > ... > > > > > But when I switch in, as one of the plugins a new .py ve

Re: Glade Survey

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 10:56:49 Juan Pablo Ugarte did opine: > On Mon, 2013-11-18 at 21:12 -0500, Gene Heskett wrote: > [...] > > > > Invalid in what way? It looks fine to me. Or is it that you don't > > > trust its signer? > > > > > >

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 11:16:10 Peter Otten did opine: > Gene Heskett wrote: > > Old python, 2.6.4 I believe, not update able from the Ubuntu 10.04.3 > > LTS repo's. > > > > Should be a mauchs nichs as the code was written on, and is running > > on, s

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 12:12:49 Tim Chase did opine: > On 2013-11-19 11:19, Gene Heskett wrote: > >>> Traceback (most recent call last): > >>> File "/usr/bin/axis", line 3326, in > >>> > >>> _dynamic_tabs(inifile) >

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 12:42:28 Tim Chase did opine: > On 2013-11-19 12:19, Gene Heskett wrote: > > > On 2013-11-19 11:19, Gene Heskett wrote: > > > >>> Traceback (most recent call last): > > > >>> File "/usr/bin/axis", line

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 16:03:23 Tim Chase did opine: > On 2013-11-19 13:43, Gene Heskett wrote: > > Interesting, a print cmd immediately in front of that is quite > > noisy: ['./camview-emc-f1oat.py', '-v', '1280x720', '-C', >

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 17:02:37 Mark Lawrence did opine: > On 19/11/2013 19:06, xDog Walker wrote: > > On Tuesday 2013 November 19 10:43, Gene Heskett wrote: > >> Interesting, a print cmd immediately in front of that is quite noisy: > >> ['./camview-emc-

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 17:17:12 xDog Walker did opine: > On Tuesday 2013 November 19 10:57, Tim Chase wrote: > > Just an observation here, it looks like you might have a "one" > > instead of an "ell" in "float" in the file-name. > > Gene, &

Re: My first real request for help

2013-11-19 Thread Gene Heskett
d exactly the same image for both. I had quite a bit more gray hair when that was done. :( Thanks for making me go look again. :) Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author

Re: My first real request for help

2013-11-19 Thread Gene Heskett
On Tuesday 19 November 2013 17:20:54 Ethan Furman did opine: > On 11/19/2013 08:19 AM, Gene Heskett wrote: > > On Tuesday 19 November 2013 11:16:10 Peter Otten did opine: > >> Gene Heskett wrote: > >>> OSError: [Errno 2] No such file or directory > >>>

Re: calculate part of solid circle in 2D array

2013-11-25 Thread Gene Heskett
7;t even worth a reply, its even off-topic, but when an OP posits a problem, he should posit it in terms of his real world targets, as should the answers proposed. The correct answer may well help your parent company sell Delphi some new machines at 5 mil/copy. Cheers, Gene -- "There ar

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-26 Thread Gene Heskett
; started communicating internationally more, I consciously started > > saying "knocking together" instead, to avoid confusing certain groups > > of people... > > > > ChrisA > > still no chance of bumming a fag then? Chuckle... Haven't heard that expression since the

Re: Got a Doubt ! Wanting for your Help ! Plz make it ASAP !

2013-11-27 Thread Gene Heskett
ommunicate with those of us to whom some dialect of English is the first and only language. Contributing to the confusion should not be the object here, but I think that is what we are doing by such action/reaction. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap,

Re: strip away html tags from extracted links

2013-11-29 Thread Gene Heskett
ts, > there's an Injection-Info header which cites Google Groups. Presumably > you get the same or similar if you read as a newsgroup. > > And the OP was, indeed, using GG. Why is it so suddenly so popular? > > ChrisA Thank you for that hint Chris, it should enhance my enjoymen

Re: Python Unicode handling wins again -- mostly

2013-11-29 Thread Gene Heskett
it a logogram rather than a > ligature (like "@"). Whereas in these here parts, the "&" has always been read as a single character shortcut for the word "and". > > (I happen to think the presence of ligatures in Unicode is insane, but > my dictato

Re: ASCII and Unicode [was Re: Managing Google Groups headaches]

2013-12-06 Thread Gene Heskett
ngle bit-order, and when most (but not all) network > protocols have done the same. But that doesn't mean that these issues > don't exist for ASCII. If you get a message that purports to be ASCII > text but looks like this: > > "\tS\x1b\x1b{\x01u{'\x1b\x13!"

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-09 Thread Gene Heskett
he student and prof doing 2 weeks of back and forth until he, sometimes accidentally, finally gets it right. By that time both are cross-eyed from looking at so much code that doesn't work well. Here is where the truly high level language like python or java enters the conversation. My

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-09 Thread Gene Heskett
On Monday 09 December 2013 10:46:42 Larry Martell did opine: > On Mon, Dec 9, 2013 at 8:24 AM, Gene Heskett wrote: > > On Monday 09 December 2013 07:51:12 Oscar Benjamin did opine: > >> Hi all, > >> > >> I work in a University Engineering faculty teaching,

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-17 Thread Gene Heskett
that :-) > > I suspect that your manual skills are rather better than mine. One of > my favourite expressions, perhaps because I only ever heard my dad use > it, is "like watching a cow handle a shotgun". I'll plead to using a jig, and figure I have a good fit when I

Re: Experiences/guidance on teaching Python as a first programming language

2013-12-17 Thread Gene Heskett
m every edge of one of my jig made joints. But, I really think we are just a tad off topic. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinux

Re: Why Python is like C++

2013-12-21 Thread Gene Heskett
xy that was supposed to be a work-a- like of the Motorola MC6809EP. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> Be c

Re: Newbie question. Are those different objects ?

2013-12-21 Thread Gene Heskett
stand you, > and just picked a word kinda like some of the letters and said "Here, > have this as a suggestion, I'm off to the pub. You don't pay me enough > to check words like that.". > > ChrisA Lurking on this list is worth it just for the entertainment valu

Re: cascading python executions only if return code is 0

2013-12-28 Thread Gene Heskett
g > [*] unable to quantify! You know, this gentleman is indeed correct. But since that is all I have ever been speaking/reading/writing for almost 80 years, please have the courtesy of waiting to extend the character set and grammatical rules until after I've passed.

Re: looking for a quote on age and technology

2013-12-31 Thread Gene Heskett
"Thanks, that felt good" on the other side. And that was my intro to the craziness that was pet rocks. I even recall at the peak of it, somebody was selling sandwich baggies of sand as pet rock food. I was not impressed by other than the crowd mentality of such idiocy. > happy

Re: "More About Unicode in Python 2 and 3"

2014-01-06 Thread Gene Heskett
problem is not well understood, then you can write gigo crap in your choice of languages. Python is supposed to be a problem solver, not a problem creator. I'll get me coat. :) Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, an

Re: "More About Unicode in Python 2 and 3"

2014-01-06 Thread Gene Heskett
On Monday 06 January 2014 11:42:55 Mark Lawrence did opine: > On 06/01/2014 14:32, Gene Heskett wrote: > > On Monday 06 January 2014 08:52:42 Ned Batchelder did opine: > > [...] > > > >> You are still talking about whether Armin is right, and whether he > &

Re: "More About Unicode in Python 2 and 3"

2014-01-06 Thread Gene Heskett
On Monday 06 January 2014 16:16:13 Terry Reedy did opine: > On 1/6/2014 9:32 AM, Gene Heskett wrote: > > And from my lurking here, its quite plain to me that 3.x python has a > > problem with everyday dealing with strings. > > Strings of what? And what specific '

Re: Time zones and why they change so damned often

2014-01-10 Thread Gene Heskett
; > The logical choice is UTC. :-) > > Hell will freeze over first. But apparently it already has in > Minnesota. Drat, drat and double drat!!! That Hell the headlines referred to is in Michigan... Its a headline they drag out every time we get a cold snap & its ano otherwise slow

Re: Time zones and why they change so damned often

2014-01-11 Thread Gene Heskett
here it only got down > >to -15F. > > Does that mean that Hell should be Embarassed? Nah, they are used to it by now. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -E

Re: question about input() and/or raw_input()

2014-01-19 Thread Gene Heskett
er. This is excellent though > > http://www.youtube.com/watch?v=sHnBppccI0o > > Now that we're way off on the tangent of what some people consider > boring and others don't, I'm really looking forward to watching > curling in the upcoming Olympics. I have Larry, an

Re: question about input() and/or raw_input()

2014-01-19 Thread Gene Heskett
): > raise YouWin >if points - dart < 0: > continue >points -= dart >beer.drink() Aren't you missing a fi there, or a next dart? ;-) Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in tha

Re: Need help on a project To :"Create a class called BankAccount with the following parameters "

2015-12-24 Thread Gene Heskett
or a 2A3 for "high" powered audio even. Power transformers that made 700 volts, center tapped of course, and because of the poor iron, weighed 25 lbs. With todays modern megnetic steels, the heating losses are 10% of that one, and it weights 6 lbs. We've come a long way in

OT, but

2016-01-08 Thread Gene Heskett
Greetings all; Where can I find the best tut for pyvcp? Thanks all. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/ge

Re: Stop writing Python 4 incompatible code

2016-01-13 Thread Gene Heskett
To Resist. I am a DM-II victim. :( > -- > Wulfraed Dennis Lee Bieber AF6VN > wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> -- https://mail.python.org/mailman/listinfo/python-list

python-2.7.3 vs python-3.2.3

2016-01-26 Thread Gene Heskett
Greetings; I have need of using a script written for python3, but the default python on wheezy is 2.7.3. I see in the wheezy repos that 3.2.3-6 is available. Can/will they co-exist peacefully? Thank you. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty:

Re: python-2.7.3 vs python-3.2.3

2016-01-26 Thread Gene Heskett
think thats unavoidable. ;-) I'm not sure what I'll need to go with it, but we'll find out today. Thanks Wolfgang Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howd

Re: python-2.7.3 vs python-3.2.3

2016-01-26 Thread Gene Heskett
On Tuesday 26 January 2016 10:21:07 Chris Angelico wrote: > On Wed, Jan 27, 2016 at 2:11 AM, Gene Heskett wrote: > > On Tuesday 26 January 2016 09:20:16 Wolfgang Maier wrote: > >> I have used 2.7 and 3.2 side-by-side for two years or so on Ubuntu > >> 12.04. Never enc

deb's for wheezy?

2016-01-31 Thread Gene Heskett
Greetings; It seems I need python3-pil and python3-pil.imagetk for a camera display & control utility I would like to run for a machine vision application. Is there a URL where I can find wheezy versions of those? I have python3, V3.2.3 here. Thanks everybody. Cheers, Gene Heskett -- &q

Are there any pyvcp experts here?

2016-02-17 Thread Gene Heskett
acceptable. I know the list strips attachments, so whoever wants to tackle in, I'll put the screen snapshot (one pix is worth 10k words), and the .xml file that constructs in on my web page & send the link. Cheers, Gene Heskett -- "There are four boxes to be used in defense of libe

Re: creating zipfile with symlinks

2016-03-04 Thread Gene Heskett
magic in it to be truely called magic. In any case Larry, the operative phrase for any of the various compression methods is TANSTAAFL. To generate a compressed archive of 7GB of data, is going to take time, and I don't care what size that compressors dictionary block is. 13 seconds is simply not a believeable figure. I also note carefully that no one has allowed as to what exactly this python version does do. Thats scary... Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> -- https://mail.python.org/mailman/listinfo/python-list

Re: [Still off-top] Physics [was Requests author discusses MentalHealthError exception]

2016-03-05 Thread Gene Heskett
sless photon, and they do exert a push on the surface they are reflected from, its even been proposed to use it as a space drive. The push is miniscule indeed at normal illumination levels but some have calculated how much laser power it would take to move something like a solar sail. Practically, the cost of the energy and the size of the laser needed are impractical. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> -- https://mail.python.org/mailman/listinfo/python-list

Re: Photon mass (was: [Still off-top] Physics)

2016-03-06 Thread Gene Heskett
On Saturday 05 March 2016 10:46:04 Thomas 'PointedEars' Lahn wrote: > Gene Heskett wrote: > > I've never heard of a massless photon, > > That is unfortunate as it should be common knowledge by now. > > > and they do exert a push on the surface they are

Re: Photon mass (was: [Still off-top] Physics)

2016-03-06 Thread Gene Heskett
On Sunday 06 March 2016 09:21:49 Larry Martell wrote: > On Sat, Mar 5, 2016 at 12:36 PM, Gene Heskett wrote: [...] > > So in that scenario, I have first hand knowledge about relativity > > despite my offical 8th grade education. > > Gene, your massive and varied experi

Re: The Cost of Dynamism (was Re: Pyhon 2.x or 3.x, which is faster?)

2016-03-13 Thread Gene Heskett
but I've done it. AIR it took the coco around 4.5 hours to fire up the printer and print the result. Using an exersize assembly code that Bill Barden wrote. All integer math, it looked correct but was missing the decimal point after the 3. One of the things you do just to prove it can be d

Re: WP-A: A New URL Shortener

2016-03-15 Thread Gene Heskett
hat if you're > >> engaging in scholarly discussion about someone else's content? You > >> can't change the canonical URLs, and you can't simply copy their > >> content to your own server (either for licensing reasons or to > >> guarantee that

Re: WP-A: A New URL Shortener

2016-03-15 Thread Gene Heskett
On Tuesday 15 March 2016 22:46:44 Thomas 'PointedEars' Lahn wrote: > Gene Heskett wrote: > > On Tuesday 15 March 2016 19:55:52 Chris Angelico wrote: > >> On Wed, Mar 16, 2016 at 10:38 AM, Thomas 'PointedEars' Lahn > >> > >> >

Re: How to waste computer memory?

2016-03-18 Thread Gene Heskett
So the obvious question then is, will any of your python code still be running and doing its labor saving and dead on the video frame timing job several times daily, 17 years hence? > -- > May your camel be as swift as the wind. Cheers, Gene Heskett -- "There are four boxes to be

Re: retrieve key of only element in a dictionary (Python 3)

2016-03-19 Thread Gene Heskett
- you forgot to invert the > brackets. And no, switching them won't work: > > ]yɘʞ[ = mydict > > You need to have actual backward brackets so Python knows you want to > iterate backward through the dictionary, starting with the last value > and proceeding to the first index

Re: How to waste computer memory?

2016-03-19 Thread Gene Heskett
On Friday 18 March 2016 06:44:05 c...@isbd.net wrote: > Gene Heskett wrote: > > On Thursday 17 March 2016 17:37:02 alister wrote: > > > On Fri, 18 Mar 2016 07:42:30 +1100, Chris Angelico wrote: > > > > On Fri, Mar 18, 2016 at 7:31 AM, wrote: > > > >>

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Gene Heskett
he is too good at dressing it up. She reminds me of our now passed Senator Bobbie Byrd, who could tell somebody to go to hell in such flowery language that they looked forward to the trip. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT'ish] Is there a list as good as this for Javascript

2016-03-26 Thread Gene Heskett
On Saturday 26 March 2016 11:35:52 Larry Martell wrote: > On Sat, Mar 26, 2016 at 11:31 AM, Gene Heskett wrote: > > On Saturday 26 March 2016 07:52:05 Larry Martell wrote: > >> As my wife once said, "If you start with 'Listen, asshole, ...' > >> the

Re: Understanding "help" command description syntax - explanation needed

2014-11-05 Thread Gene Heskett
On Wednesday 05 November 2014 10:56:57 Larry Martell did opine And Gene did reply: > On Wed, Nov 5, 2014 at 7:41 AM, Chris Angelico wrote: > > On Wed, Nov 5, 2014 at 11:31 PM, Ivan Evstegneev > > > > wrote: > >>>> That's what I'm talking about (aski

Re: Understanding "help" command description syntax - explanation needed

2014-11-05 Thread Gene Heskett
On Wednesday 05 November 2014 21:52:42 Mark Lawrence did opine And Gene did reply: > On 06/11/2014 02:37, Dave Angel wrote: > > Chris Angelico Wrote in message: > >> On Thu, Nov 6, 2014 at 2:56 AM, Larry Martell wrote: > >>>> And I don't think > >>

Re: Reasons for source code line length limits (was: Maintaining Maximum Line Length When Using Tabs Instead of Spaces?)

2014-12-08 Thread Gene Heskett
On Sunday 07 December 2014 23:44:40 Ben Finney did opine And Gene did reply: > jtan writes: > > One reason why you would want max length 79 is because of working > > with terminals. > > That reason is decreasingly relevant as terminals become virtual, in a > display

Re: What killed Smalltalk could kill Python

2015-01-22 Thread Gene Heskett
On Wednesday 21 January 2015 23:46:09 Emil Oppeln-Bronikowski did opine And Gene did reply: > On Thu, Jan 22, 2015 at 10:55:27AM +1100, Chris Angelico wrote: > > Where's REXX today? > > Still (somehow) alive in neo-Amiga platforms like AmigaOS4.x, MorphOS > and AROS. I know

Re: What killed Smalltalk could kill Python

2015-01-24 Thread Gene Heskett
On Saturday 24 January 2015 03:09:51 Bob Martin did opine And Gene did reply: > in 734904 20150123 225104 Tim Daneliuk wrote: > >On 01/21/2015 05:55 PM, Chris Angelico wrote: > >> On Thu, Jan 22, 2015 at 10:37 AM, Tim Daneliuk wrote: > >>> I find these kinds of di

<    1   2   3   4   5   6   7   >