Immediate requirement - Sr. Business Analyst for Pricewaterhouse Coopers (PwC) in Tampa, FL.

2013-11-07 Thread parker . svksystems
ative and practical in managing the relationship between the two. Strong background in implementing enterprise initiatives on a large scale. Undergraduate Degree (e.g., BA, BS) or equivalent experience Thanks and Regards Petter Parker Technical Recruiter 11465 Johns Creek Pkway, Johns Creek, GA

Immediate Opening (Sr C++ / Linux Developer / Lead)

2013-11-06 Thread parker . svksystems
• OOP’s and layered architecture • Multithreading, synchronization objects • Identifying memory leaks and keeping track of code health • Code Optimization and Socket Programming • In depth, hands on experience on Linux development Thanks and Regards Petter Parker

Re: security quirk

2013-01-31 Thread Gandalf Parker
RichD contributed wisdom to news:badd4188-196b- 45e3-ba8a-511d47128...@nh8g2000pbc.googlegroups.com: > On Jan 30, Gandalf Parker > wrote: >> > Web gurus, what's going on? >> >> That is the fault of the site itself. >> If they are going to block acces

Re: security quirk

2013-01-30 Thread Gandalf Parker
RichD contributed wisdom to news:b968c6c6-5aa9- 4584-bd7a-5b097f17c...@pu9g2000pbc.googlegroups.com: > Web gurus, what's going on? > That is the fault of the site itself. If they are going to block access to users then they should also block access to the automated spiders that hit the site t

Documenting Regex (and code)

2011-06-06 Thread Richard Parker
- Dense and complex REs are quite powerful, but may also contain and hide programming mistakes. The ability to describe what is intended -- which may differ from what is written -- is useful. --

Re: Python-list Digest, Vol 92, Issue 232

2011-05-27 Thread Richard Parker
Sometimes >> I'll drop in suggestions to future maintainers like, "consider >> refactoring with with perform_frobnitz_action()" > > Usually, I address future-me with comments like that (on the > assumption that there's nobody in the world sadistic enough to want to > maintain my code). But I neve

The worth of comments

2011-05-26 Thread Richard Parker
On May 26, 2011, at 4:28 AM, python-list-requ...@python.org wrote: > My experience is that comments in Python are of relatively low > usefulness. (For avoidance of doubt: not *zero* usefulness, merely low.) > I can name variables, functions and classes with sensible, self- > documenting names. W

Re: Python-list Digest, Vol 92, Issue 223

2011-05-25 Thread Richard Parker
> > On Thu, May 26, 2011 at 10:58 AM, Richard Parker > wrote: >> It's time to stop having flame wars about languages and embrace programmers >> who care enough about possible future readers of their code to thoroughly >> comment it. Comments are far more valu

Re: Python-list Digest, Vol 92, Issue 221

2011-05-25 Thread Richard Parker
> Writing code is primarily for *human readers*. Once you've compiled the > code once, the computer never need look at it again, but human being come > back to read it over and over again, to learn from it, or for > maintenance. We rightfully value our own time and convenience as more > valuab

Forcing absolute package imports in 2.7?

2011-03-30 Thread Michael Parker
Hi all, I'm reading Learning Python 4th Edition by Lutz. In the section on relative package imports, he says: "In Python 3.0, the `import modname` statement is always absolute, skipping the containing package’s directory. In 2.6, this statement form still performs relative imports today (i.e., the

Re: Python problem

2011-03-28 Thread John Parker
d(average) #print averages for i in range (0, len(names)): print names[i], "score: ", averages[i] On 3/28/11 12:18 PM, "Rhodri James" wrote: > On Mon, 28 Mar 2011 22:38:29 +0100, John Parker wrote: > >> infile = open("scores.txt", &quo

Re: Python problem

2011-03-28 Thread John Parker
, "Ethan Furman" wrote: > John Parker wrote: >> I have written the following code so far but get an error. >> >> infile = open("scores.txt", "r") >> lines = infile.readlines() >> infile.close() >> tokens = lines.split(",&

Python problem

2011-03-28 Thread John Parker
Hi All, I'm trying to figure out a problem in which I have a file named scores.txt that contains the following information. Jane Doe,87,92,97,33 John Doe,78,91,84,25 Bill Gates,91,88,89,56 Bruce Perens,88,92,84,99 I'm wanting to read the file and create two lists: names and scores. I also wa

Re: I'm happy with Python 2.5

2011-03-03 Thread Peter Parker
On 02/27/2011 09:27 AM, Tom Zych wrote: n00m wrote: Am I turmoiling your wishful thinking? You may nourish it till the end of time. Let us cease to nourish those fabled ones who dwell under bridges. LOL ! -- http://mail.python.org/mailman/listinfo/python-list

error in importing numpy

2010-06-05 Thread michel parker
Hi, I am using ubuntu 9.10 . I just installed python 2.6.1 in /opt/python2.6 for using it with wingide for debugging symbols. I also installed numpy in python 2.6.1 using -- prefix method. but when i import numpy i get following error : ImportError: undefined symbol: _PyUnicodeUCS4_IsWhitespace

help req setting python executable

2010-05-02 Thread michel parker
hi, i have just installed python3.1 with opt=g option. but when i set python executable in wingide to usr/local/bin/python3.1 it says : Some values are invalid: - Python executable 'usr/local/bin/python3.1' is not in path Please correct the values and try again. Please help. What is going to be

RE: help error : Failed to build these modules: _dbm

2010-05-02 Thread michel parker
ay 2, 2010 at 3:30 PM, michel parker wrote: > > Hi, > > When i make python 3.1 on my ubuntu 9.10 i get following error : > > > > Failed to build these modules: > > _dbm > > Please help me. > > I have done : > > > > apt-get build-dep python2.5 > >

help error : Failed to build these modules: _dbm

2010-05-02 Thread michel parker
Hi, When i make python 3.1 on my ubuntu 9.10 i get following error : Failed to build these modules: _dbm Please help me. I have done : apt-get build-dep python2.5 but to no avail. Cheers

help require debugging C/C++ extension modules written for Python (ubuntu)

2010-04-24 Thread michel parker
Hi, Can you please guide me in selecting a tool (ide) that would debug python and C/C++ extension modules written for Python at a same time? Regards,Michell _ Hotmail: Powerful Free email

Re: Generating a rainbow?

2010-04-11 Thread Peter Parker
Robert Kern wrote: On 2010-04-11 12:54 , Peter Parker wrote: Tobiah wrote: You should use different variables for the two loops. Actually it is closing the divs that makes it work in FireFox: Hah. I new that the rainbow wasn't complete and that it didn't work in Opera. I just

Re: Generating a rainbow?

2010-04-11 Thread Peter Parker
Tobiah wrote: You should use different variables for the two loops. Actually it is closing the divs that makes it work in FireFox: Hah. I new that the rainbow wasn't complete and that it didn't work in Opera. I just fizzled on the closing of the divs. I also don't get why it worke

Re: Generating a rainbow?

2010-04-08 Thread Peter Parker
Tobiah wrote: How does that answer your original question? I was able to do this: import colorsys sat = 1 value = 1 length = 1000 for x in range(0, length + 1): hue = x / float(length) color = list(colorsys.hsv_to_rgb(hue, sat, value)) for x in range(3):

Re: Python is cool!!

2010-03-24 Thread Parker
On Mar 23, 4:55 pm, Jose Manuel wrote: > I have been learning Python, and it is amazing I am using the > tutorial that comes with the official distribution. > > At the end my goal is to develop applied mathematic in engineering > applications to be published on the Web, specially on app. orie

Re: When will Python go mainstream like Java?

2010-02-24 Thread Peter Parker
Steve Holden wrote: At 12.34 pm on November 13, 2011 At December 21, 2012 at 11:11 am (according to the Maya calendar) -- http://mail.python.org/mailman/listinfo/python-list

Re: py itertools?

2009-12-20 Thread Parker
>>> a = 'qwerty' >>> b = '^%&$#' >>> c = [(x,y) for x in a for y in b] >>> c [('q', '^'), ('q', '%'), ('q', '&'), ('q', '$'), ('q', '#'), ('w', '^'), ('w', '%'), ('w', '&'), ('w', '$'), ('w', '#'), ('e', '^'), ('e', '%'), ('e', '&'), ('e', '$'), ('e', '#'), ('r', '^'), ('r', '%'), ('r', '&'), ('r',

Re: subprocess.Popen not creating a pipe

2009-02-01 Thread Andrew Parker
On Sun, Feb 1, 2009 at 1:46 PM, Andrew Parker wrote: > I'm having some fun with Popen. I have the following line: > >process = subprocess.Popen(command, stdout=subprocess.PIPE, > stderr=subprocess.STDOUT) >print process.stdout > > Under normal circumstances, thi

subprocess.Popen not creating a pipe

2009-02-01 Thread Andrew Parker
I'm having some fun with Popen. I have the following line: process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) print process.stdout Under normal circumstances, this displays: ', mode 'w' at 0xb7f8e068> However, I have a binary that I use to kick of

Create 2D character matrix

2008-08-07 Thread Simon Parker
Hello.   I want to be able to create a 2D character matrix, ThisMatrix, like :     a A b B c C d D   and to be able to pick out elements, or rows or columns.   I have become used to programming in R where I can easily refer to a row as :   ThisMatrix [1,]   and a column as   ThisMa

Re: Python and Flaming Thunder

2008-06-28 Thread Dave Parker
recall hearing anyone else ever mention. On Jun 7, 10:24 am, Sam Denton <[EMAIL PROTECTED]> wrote: > John Salerno wrote: > > "Dave Parker" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED] > > On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]>

Re: Dynamic HTML from Python Script

2008-06-12 Thread Dave Parker
he page every few seconds. On Jun 11, 10:43 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Wed, 11 Jun 2008 07:36:59 -0700 (PDT), Dave Parker > <[EMAIL PROTECTED]> declaimed the following in > comp.lang.python: > > > Yes you can.  I don't know how to

Re: Dynamic HTML from Python Script

2008-06-11 Thread Dave Parker
On Jun 11, 7:59 am, Lie <[EMAIL PROTECTED]> wrote: > You can't make the browser refresh automatically in the server side, Yes you can. I don't know how to do it in Python, but here's an example in Flaming Thunder of a small, fast, light compiled server side CGI that delivers dynamic content every

Re: Python and Flaming Thunder

2008-06-05 Thread Dave Parker
w up and running under Windows. Check out the News and Docs at http://www.flamingthunder.com/ On Jun 5, 7:57 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: > On Thu, Jun 5, 2008 at 9:43 AM, John Salerno <[EMAIL PROTECTED]> wrote: > > "Dave Parker" <[EMAIL PRO

Re: Python and Flaming Thunder

2008-05-29 Thread Dave Parker
Dan Upton wrote: > I just think if you're shooting for an easily understandable > language, overloading error handling requires more thought on the > programmer's part, not less, because they have to reason about all > outcomes Duncan Booth wrote: > Maybe FT should do something similar: >Write

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
On May 28, 3:19 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > Kind of like how this year's program won't work on next year's > > Python? > > For somebody who has admitted to have only very rudimentary knowledge of > python that's a pretty bold statement, don't you think? Everthing I know,

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
On May 28, 12:48 pm, "Dan Upton" <[EMAIL PROTECTED]> wrote: > there's no reason "set" itself > should throw any sort of error in the sense of an exception--in a > statement like "Set x to SomeFunctionThatCanBlowUp()", the semantics > should clearly be that the error comes from the function.  In a s

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
On May 28, 12:09 pm, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote: > Following your posts in this thread, I see that > you 'plan to add soon' every cool feature that every other language seems to > have. I've already added a lot of them. For example, loops that don't need looping variables: For 10

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
r, I really appreciate your comments because maybe I'll make fewer errors. Or at least, correct them faster. On May 28, 7:52 am, Duncan Booth <[EMAIL PROTECTED]> wrote: > Dave Parker <[EMAIL PROTECTED]> wrote: > > Catch also gives you a > > single, uniform, syntact

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
learned something new. Thanks. On May 22, 9:30 am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: > Dave Parker <[EMAIL PROTECTED]> wrote: > >  But after getting input from children and teachers, etc, it started > >  feeling right. > > >  For example, consider the

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
en go to tinyanswer. On May 22, 4:19 pm, Brian Quinlan <[EMAIL PROTECTED]> wrote: > Dave Parker wrote: > >> Or just: > > >> If command is "quit" ... > > > Hmmm.  In Flaming Thunder, I'm using "is" (and "is an", "is a&quo

Re: Bug in floating-point addition: is anyone else seeing this?

2008-05-21 Thread Dave Parker
On May 21, 7:01 pm, Carl Banks <[EMAIL PROTECTED]> wrote: > The crucial thing is not to slow down the calculations with useless > bells and whistles. Are you running your simulations on a system that does or does not support the "useless bell and whistle" of correct rounding? If not, how do you p

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 7:49 pm, MRAB <[EMAIL PROTECTED]> wrote: > I've thought of one possible drawback: "a" and "an" can be used as > variables, so the "is a" part might cause a problem. You'd need to > check the parser to find out... Good point, I hadn't noticed that. I'll check it out. -- http://mail.pyth

Re: Bug in floating-point addition: is anyone else seeing this?

2008-05-21 Thread Dave Parker
On May 21, 4:21 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Which is exactly what the python decimal module does. Thank you (and Jerry Hill) for pointing that out. If I want to check Flaming Thunder's results against an independent program, I'll know to use Python with the decimal module.

Re: Bug in floating-point addition: is anyone else seeing this?

2008-05-21 Thread Dave Parker
On May 21, 3:41 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > When told why you got different results (an answer you > probably already knew, if you know enough about IEEE to do the > auto-conversion you alluded to) ... Of course I know a lot about IEEE, but you are assuming that I also know a l

Re: Bug in floating-point addition: is anyone else seeing this?

2008-05-21 Thread Dave Parker
On May 21, 3:19 pm, "Dan Upton" <[EMAIL PROTECTED]> wrote: > The fact is, sometimes it's better to get it fast and be good enough, > where you can use whatever methods you want to deal with rounding > error accumulation. I agree. I also think that the precision/speed tradeoff should be under user

Re: Bug in floating-point addition: is anyone else seeing this?

2008-05-21 Thread Dave Parker
On May 21, 3:17 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote: > If you're going to use every post and question about Python as an > opportunity to pimp your own pet language you're going irritate even > more people than you have already. Actually, I've only posted on 2 threads that were questions

Re: Bug in floating-point addition: is anyone else seeing this?

2008-05-21 Thread Dave Parker
On May 21, 2:44 pm, "Jerry Hill" <[EMAIL PROTECTED]> wrote: > My understand is no, not if you're using IEEE floating point. Yes, that would explain it. I assumed that Python automatically switched from hardware floating point to multi-precision floating point so that the user is guaranteed to al

Re: Bug in floating-point addition: is anyone else seeing this?

2008-05-21 Thread Dave Parker
On May 21, 12:38 pm, Mark Dickinson <[EMAIL PROTECTED]> wrote: > >>> a+0.999     # gives expected result > 9998.0 > >>> a+0.   # doesn't round correctly. > > 1.0 Shouldn't both of them give .0? I wrote the same program under Flaming Thunder:

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 1:29 pm, "Dan Upton" <[EMAIL PROTECTED]> wrote: > ... --somewhat akin to the > guy who a month or so ago wanted to sneakily teach his high school > class programming fundamentals by teaching them game programming. Yep, that's kind of my plan, too. After I get enough "computer language

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 1:14 pm, MRAB <[EMAIL PROTECTED]> wrote: > I wonder whether "is" could be used both for "x is value" and "x is a > type" without causing a problem: > > If command is a string ... > > If command is "quit" ... I think you are right. I like "If command is "quit" ...". For a user who wasn

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 10:00 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: > Sounds to me like the teacher is being difficult, ... No, proof-by-contradiction is a common technique in math. If you can show that x=8 and x=10, then you have shown that your assumptions were incorrect. > If you can't do, or don't

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]> wrote: > Personally, FT is a bit meh to me. The way you issue your statements I > always think something is wrong, mainly because when I want to define, > say, x, in python I'd go: > > x = "whatever" > > Instantly noting that I defined x. While in Fla

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
nd "is" (identity) in Python). On May 20, 3:41 pm, MRAB <[EMAIL PROTECTED]> wrote: > On May 20, 4:33 am, Dave Parker <[EMAIL PROTECTED]> wrote: > > > > > On May 14, 7:59 pm, John Salerno <[EMAIL PROTECTED]> wrote: > > > > Would it be valid to sa

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
suggesting it. On May 20, 3:40 pm, MRAB <[EMAIL PROTECTED]> wrote: > On May 20, 4:20 am, Dave Parker <[EMAIL PROTECTED]> wrote: > > > > > > > I <[EMAIL PROTECTED]> wrote: > > > > Plus, me getting paid to work on Flaming Thunder is far more > &g

Re: Python and Flaming Thunder

2008-05-19 Thread Dave Parker
On May 14, 7:59 pm, John Salerno <[EMAIL PROTECTED]> wrote: > Would it be valid to say: > > x = "concrete" > > or to say: > > if command (is) set to "quit" > > ?? I like the idea of: If command is set to "quit" ... I've added it to my list of things to think about, and possibly implement. --

Re: Python and Flaming Thunder

2008-05-19 Thread Dave Parker
On May 13, 11:42 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > Well, python will definitely never have a name that sounds like > a slang term for happens after you get food poisioning at a > Thai restaurant... :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Flaming Thunder

2008-05-19 Thread Dave Parker
> > I <[EMAIL PROTECTED]> wrote: > > Plus, me getting paid to work on Flaming Thunder is far more > > motivating than me not getting paid to work on Python. > On May 14, 8:30 pm, John Salerno <[EMAIL PROTECTED]> wrote: > That's truly disappointing. I guess I could have stated that better. Flamin

Re: Is using range() in for loops really Pythonic?

2008-05-19 Thread Dave Parker
Your point about for-loops was applicable not only to Python, but to many other programming languages. So in response, I've added two new for-loop variations to Flaming Thunder. The two new variations are for-forever-do and for-expression-times-do. For-forever allows you to explicitly create infi

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
Time for me to get back to work now. Thank you all for your comments, they will help to make Flaming Thunder a better product. I can see that many people would like the ability to link to existing applications and libraries, etc, so I will raise that on my priority list. -- http://mail.python.org

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
]> wrote: > You sound like a commercial. Is this your way of attracting costumers of FT? > > 2008/5/13 Dave Parker <[EMAIL PROTECTED]>: > > > > 5-10 times faster for what kind of code? > > >  Mostly numerical analysis and CGI scripting.  All of Flaming Thunder&#

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
e". Flaming Thunder doesn't place any restrictions on how you use your source code or the executables you create. There is no GNU license that you need to worry about. On May 13, 11:06 am, hdante <[EMAIL PROTECTED]> wrote: > On May 13, 12:24 pm, Dave Parker <[EMAIL PROTECTED

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
> Just to support this statement: PHP runs an order of magnitude slower than > python. Yet a great deal (if not the majority) of dynamic sites out there > run under PHP. All of these are unhappy customers? The websites owners might not be unhappy, but lots of customers complain about slow websites

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
> Who has conducted the research that supports that statement? And since when > is ^ the better operator for "to the power of" that **? Because latex uses > it? I need to see the elementary school students who use that... All of the calculators and textbooks that elementary school students use, us

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
statements avoid the confusion of multiple equal signs when manipulating symbolic equations: Set QuadraticEquation to a*x^2 + b*x + c = 0. On May 13, 9:50 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: > On Tue, May 13, 2008 at 11:24 AM, Dave Parker > > <[EMAIL PROTECTED]&g

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
> 5-10 times faster for what kind of code? Mostly numerical analysis and CGI scripting. All of Flaming Thunder's library code is in assembly language, and Flaming Thunder creates statically-linked pure syscall CGI scripts. > I don't see anything that resembles OO features of python, ... True.

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
t; wrote: > On May 13, 10:58 am, Paul McGuire <[EMAIL PROTECTED]> wrote: > > > > > > > On May 13, 8:32 am, Dave Parker <[EMAIL PROTECTED]> wrote: > > > > > Don't let yourself be irritated by castironpi > > > > I'm not the sort to

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
On May 13, 7:44 am, [EMAIL PROTECTED] wrote: > I am not convinced that the colorspace occupies three dimensions necessarily. Apparently there are some people -- called tetrachromats -- who can see color in four dimensions. They have extra sets of cones in their retinas containing a different phot

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
allows people to tell a computer what they want it to do, without having to know very much about how the computer does it. On May 13, 3:18 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Dave Parker wrote: > > On May 12, 7:20 pm, [EMAIL PROTECTED] wrote: > >>Ye

Re: Python and Flaming Thunder

2008-05-13 Thread Dave Parker
On May 12, 11:52 pm, [EMAIL PROTECTED] wrote: > I do hold an argument that one can make too much money for one's own > good quality of life. As do I; I think there is an optimal amount. Too little, and you waste time gathering food. Too much, and you waste time gathering money. > Am I trying to

Re: Is using range() in for loops really Pythonic?

2008-05-13 Thread Dave Parker
> REXX's loop construct subsumes all the common uses... And worse, it > appears that a repetition and a condition can be part of the single > statement. Thank you for pointing out the REXX examples. I am a Kedit user, but had forgotten about the REXX do-loops. I'll keep them in mind when

Re: Python and Flaming Thunder

2008-05-12 Thread Dave Parker
On May 12, 7:20 pm, [EMAIL PROTECTED] wrote: > Yes, I am trying to visualize something. If it is related to making furniture comfortable for humans, have you considered painting the furniture with thermochromic paint ( http://en.wikipedia.org/wiki/Thermochromism )? It changes color in response to

Re: Python and Flaming Thunder

2008-05-12 Thread Dave Parker
On May 12, 7:12 pm, [EMAIL PROTECTED] wrote: > Mine's been always messing up the color wheel. Messing up in what way? Are you using the colors to visualize something? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Flaming Thunder

2008-05-12 Thread Dave Parker
On May 12, 6:32 pm, [EMAIL PROTECTED] wrote: > Can you render some furniture for me... to try to see some human > posture to lowest energy levels. I couldn't find any furniture created using DPGraph, but the math art gallery at http://www.dpgraph.com/math-art.html has a sailboat, an F15, Tux (the

Re: Python and Flaming Thunder

2008-05-12 Thread Dave Parker
On May 12, 6:32 pm, [EMAIL PROTECTED] wrote: > Can you render some furniture for me... to try to see some human > posture to lowest energy levels. Not yet; Flaming Thunder doesn't have built-in graphics yet. But we're incorporating the graphics from www.dpgraph.com , so when that's finished, then

Re: Is using range() in for loops really Pythonic?

2008-05-12 Thread Dave Parker
On May 10, 8:19 pm, John Salerno <[EMAIL PROTECTED]> wrote: > It seems somewhat > artificial to use the for loop to do something a certain number of > times, like above. I agree; it's a common flaw with lots of languages, not just Python. I'd be inclined to use something like: FOR 8 TIMES DO .

Python and Flaming Thunder

2008-05-12 Thread Dave Parker
I've read that one of the design goals of Python was to create an easy- to-use English-like language. That's also one of the design goals of Flaming Thunder at http://www.flamingthunder.com/ , which has proven easy enough for even elementary school students, even though it is designed for scienti

Re: Graphviz Python Binding for Python 2.5 on Windows?

2007-03-06 Thread Ian Parker
In message <[EMAIL PROTECTED]>, Alex Li <[EMAIL PROTECTED]> writes >Thanks Michel, I will give it a try. > >Alex > > > You could simply generate the .dot files from python and do os.startfile on the dot file (which is what I do because it is remarkably easy!) R

Re: merits of Lisp vs Python

2006-12-09 Thread Chris Parker
Mark Tarver wrote: > How do you compare Python to Lisp? What specific advantages do you > think that one has over the other? > > Note I'm not a Python person and I have no axes to grind here. This is > just a question for my general education. > > Mark They are both a lot of fun. Python is a c

Re: User defined functions through Automation in Excel 2003

2006-09-17 Thread Ian Parker
tbl? Thanks again for your thought. > >-Jesse > Darn, I was interested in seeing an answer for this, although dismally unable to contribute myself. Did I miss the responses? Regards Ian -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

Re: Python proficiency test

2006-07-23 Thread Ian Parker
e, I wanted to see a sample test (for any subject) but couldn't do that without a long-winded registration procedure. Regards Ian -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

Re: os listdir access denied when run as a service

2006-05-26 Thread Ian Parker
return (1,filelist) > >anything I can do about this.. > > >- >Thomas Thomas > This may be relevant. IIRC, when you run a service under the system account it doesn't have network access. You need to run it under an account that does have access to the drive. Regards Ian -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

Re: How I learned Tkinter

2006-04-23 Thread Ian Parker
;Peter > Recently I decided to use tkinter because it was included with Python and like you I suffered through a few weeks of puzzling out tkinter. I wish I'd read your notes before I started! Regards Ian -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

Re: python interpreter widget for Tkinter?

2006-04-10 Thread Ian Parker
er app for >debugging purposes. I would assume that this would be possible using >idlelib, but i can't figure out how. Does anyone know how to do this? > >thx for any help >alex > Google for "tkinter console.py" - that did the job for me Regards Ian -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

Re: What's The Best Editor for python

2006-03-24 Thread Ian Parker
version). You can include a "wordfile" to get Python syntax recognition. Tools are user configurable globally or by project - my first three global tools are Check (with pychecker), Test and Run Regards Ian -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

Re: Why TypeError: 'str' object is not callable?

2006-03-22 Thread Randall Parker
Argh! I do not know what happened to the percent signs. They used to be there. Sorry to waste the time of so many people. -- http://mail.python.org/mailman/listinfo/python-list

Why TypeError: 'str' object is not callable?

2006-03-22 Thread Randall Parker
Using Python 2.4.2 on Windows 2000 in SPE. Getting: TypeError: 'str' object is not callable on this line: TmpErrMsg1 = "State machine %s " (StateMachineName) In Winpdb 1.0.6 the StateMachineName is of type str in the Namespace | Local window of local variables. It even has the string value I ex

TypeError coercing to Unicode with field read from XML file

2006-03-21 Thread Randall Parker
Running Python 2.4.2 on Windows in SPE. I have a very small XML file (see below) that is in UTF-8 and saved by Windows Notepad as such. I'm reading it with minidom. My problem is that once I parse the file with minidom and a field from it to another variable as shown with this line: IP

Re: New python.org website

2006-03-06 Thread Ian Parker
Python In the logo but that's perhaps not obvious 2) I think the logo is a little faint, washed-out. I'd prefer something more dynamic, or at least brighter. (I suppose this shows how superficial my checking was!) Regards Ian -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

Re: Python vs C for a mail server

2006-02-02 Thread Randall Parker
Magnus Lycka wrote: > Or...don't you have automated tests? Ouch. If you (like me) feel a > little lazy to write a lot of test scripts, you can use a test tool > such as TextTest, that compares output between test runs, rather than > forcing you to write lots of scripts with plenty of assertions.

Re: Python vs C for a mail server

2006-02-01 Thread Randall Parker
Donn, More generally: One must keep in mind that advantages and disadvantages of specific implementations of language concepts are not always indications of flaws in those concepts. Real languages have real flaws from bad design choices which cause them to fall short of what those languages could

Re: Python vs C for a mail server

2006-02-01 Thread Randall Parker
Magnus Lycka wrote: > Randall Parker wrote: > > Also, compile time errors get caught sooner. They get caught before > > tests even get written. > > Not if you do Test Driven Tevelopment. Then you write > the tests before you compile your target code! It's > also m

Re: Python vs C for a mail server

2006-01-31 Thread Randall Parker
But languages that share some weakness typically do not share it equally. Three languages can have some way to do X (which some might find undesirable while others find it great) but two of the languages might make it easy to solve problems without ever doing X while the third language might make i

Re: Python vs C for a mail server

2006-01-31 Thread Randall Parker
Jay, The point of doing compile time and test time checking is the same reason militaries use layered defenses: More problems get caught. I've written tons of software tests and architected a testing system for an entire aircraft. I've also watched lots of errors get by tests. Also, compile time

Re: Python vs C for a mail server

2006-01-31 Thread Randall Parker
Alex Martelli wrote: > The "but without declaration it can't be self-documenting" issue is a > red herring. Reading, e.g.: > > int zappolop(int frep) { ... > > gives me no _useful_ "self-documenting" information about the role and > meaning of frep, or zappolop's result. The code's author must o

Re: MyHDL 0.5 released

2006-01-20 Thread Randall Parker
Jan, What do you see as the main advantage for using MyHDL rather than VHDL for coding up a chip design? -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: Introduction to Event-Driven Programming

2006-01-20 Thread Randall Parker
Steve, This is an aside: I'd love to see someone implement in Python a framework similar to the Quantum Leaps Quantum Framework for event-driven programming. I think Python has some features that lend themselves to a neater implementation than what can be done in C/C++. More generally, I'd like t

Conditionals stored as text to translate to real compares

2006-01-13 Thread Randall Parker
I want to know if there is some way to translate fragments of text into operators (e.g. <, >, <>, ==, etc) to use in conditional expressions. I've got a data structure which is a list of lists. A single list might look like: MyInnerList = ["MyVar",">",7] or MySecondInnerList = ["MyOtherVar","<=",

Re: show in GUI stdout of a command

2005-12-25 Thread Ian Parker
hon/Console.py I find it a few days ago when I was hunting for a way to "print" to the tkinter window rather than stdout. Regards -- Ian Parker -- http://mail.python.org/mailman/listinfo/python-list

play audio on OSX?

2005-09-30 Thread Nick Parker
I'm attempting to play an mp3 file on OSX, but am running into some difficulty. When using py-mad and py-ao, I only get static with the following code (which is derived off another mailing that I found from this list's archives): #!/usr/bin/env python '''Requires: py-mad (mp3 ability) py-ao (s

Re: Question of speed - Flat file DBMS

2005-03-06 Thread Ian Parker
entire indices in memory. Create an index for any field you'll be querying on to avoid having to read the entire record. If you're dealing with massive data, think about indices of indices. Work on the data, or at least the indices. in memory. Well, that's everything I ever

Clarification of two concepts (or maybe one?)

2004-12-10 Thread Eddie Parker
Sorry, I’ve tried to search the web on this, but I’m still a little fuzzy. I was hoping a quick e-mail might clear this up. What I’m looking for, is a way to turn a python ‘application’, into a ‘stand-alone’ application. i.e., you don’t need the Python interpreter, libraries, etc, install

  1   2   >