Re: Tkinter option_add for menu radiobutton

2005-02-14 Thread Bob Greschke
"Eric Brunel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sun, 13 Feb 2005 15:31:18 -0700, Bob Greschke <[EMAIL PROTECTED]> > wrote: > [snip] >> Root.option_add("*Radiobutton*selectColor", "black") >> >>

zipimport IOError reading Modules.zip in Mac standalone app

2005-03-07 Thread Bob Swerdlow
ess. Any other suggestion? I need this fixed ASAP. Many thanks, Bob -- http://mail.python.org/mailman/listinfo/python-list

py2app can't find boot_app.py

2005-03-14 Thread Bob Swerdlow
d and installed it separately, but got the same result. How do I get it to find this boot_app.py file? Thanks, Bob Excerpts from the py2app run: % python setup.py py2app running py2app ... Traceback (most recent call last): File "/tmp/tmptCCn9S.py", line 218, in ? direct=1)

PyQt on a Server

2004-11-29 Thread Bob Parnes
So maybe there is a path variable that qt.py uses and that has to be set on the workstation. If so, I don't know how to find it. Thanks for any help. Bob -- Bob Parnes [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt on a Server

2004-12-02 Thread Bob Parnes
On 29 Nov 2004 11:07:48 -0500, Jerry Sievers <[EMAIL PROTECTED]> wrote: > Bob Parnes <[EMAIL PROTECTED]> writes: > >> I have an application importing qt on a linux server and am missing >> something in trying to run it from a workstation via nfs. The >> works

Re: PyQt on a Server

2004-12-04 Thread Bob Parnes
On 03 Dec 2004 11:15:26 -0500, Jerry Sievers <[EMAIL PROTECTED]> wrote: > Bob Parnes <[EMAIL PROTECTED]> writes: >> my /etc/ld.so.conf file already has that lib in it. So something else is >> happening, but it clearly has nothing to do with python. > > Have

Re: [Python-Help] (fwd)

2004-12-05 Thread Bob Gailer
frequency, then find the entry with the highest frequency. See http://www.honors.montana.edu/~jjc/easytut/easytut/ for lists and dictionaries. Give it a shot, show us what you come up with, and we'll take the next step. Bob Gailer [EMAIL PROTECTED] 303 442 2625 home 720 938 2625 cell -- h

Re: [Python-Help] Programming help

2004-12-06 Thread Bob Gailer
so, although it is not doing anything useful. If you want to capture frequencies you need to use the number as a dictionary key, and increment the value under that key. Clean things up as best you can then come back for the next round. Bob Gailer [EMAIL PROTECTED] 303 442 2625 home 720 938 2625 cell -- http://mail.python.org/mailman/listinfo/python-list

Metaclasses

2004-12-22 Thread Bob . Cowdery
only way I can see to do this at the moment is to have a metaclass for each capability type and hardcode the type inside it, then pick the appropriate metaclass when I build the implementation class.   Regards Bob       Bob Cowdery CGI Senior Technical Architect +44(0)1438 791517 Mobile: +4

RE: Metaclasses

2004-12-22 Thread Bob . Cowdery
ass__ = MetaAPI is created that MetaAPI generates attributes from a given capability map and not the one it picked up on 'import'. Does that make any sense? Bob -Original Message- From: Robert Brewer [mailto:[EMAIL PROTECTED]] Sent: 22 December 2004 17:01 To: [EMAIL PROTECTED];

RE: Metaclasses

2004-12-23 Thread Bob . Cowdery
t; a.mode = 10 >>> a.mode 10 >>> Two things I don't understand. __init__ gets called when I import api, not when I create an instance of API so the capability is set in stone on the import and I can't change it. Second when I try to read attribute 'mode

RE: Metaclasses

2004-12-23 Thread Bob . Cowdery
to fill in the gaps in my understanding. Regards Bob -Original Message- From: Shalabh Chaturvedi [mailto:[EMAIL PROTECTED]] Sent: 22 December 2004 23:44 To: python-list@python.org Subject: Re: Metaclasses [EMAIL PROTECTED] wrote: > I am trying to build a capability based API. That

built-in 'property'

2004-12-27 Thread Bob . Cowdery
it is a property object. Is this statement only designed to work at class scope? I really want to set these properties per instance.   Thanks Bob     Bob Cowdery CGI Senior Technical Architect +44(0)1438 791517 Mobile: +44(0)7771 532138 [EMAIL PROTECTED]       *** Confidentiality Notice

RE: built-in 'property'

2004-12-28 Thread Bob . Cowdery
x >>> notok.x=10 >>> notok.x 10 The OK example has the property and it clearly goes through the get/set methods. The NOTOK example creates a property object for x. When I set x it creates a new property x which clearly does not invoke the get/set methods. Am I doing someth

RE: built-in 'property'

2004-12-28 Thread Bob . Cowdery
ingly. The problem of course is that in class API, caps is global so as soon as I create another instance the first starts responding to the new capability. If I try to make caps per instance I get into all sorts of trouble with recursion. Does anyone have an idea how to fix this or is it just impossi

Re: getting data with proper encoding to the finish

2005-03-23 Thread Bob Kline
e I found in the README ([EMAIL PROTECTED])? Has anyone done any work to pick up where he left off? -- Bob Kline http://www.rksystems.com mailto:[EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

JS3550 PYTHON DEVELOPER Contract Antwerp 4 months initial

2005-03-23 Thread bob gmx
Dear All, is anyone interested in this Python vacancy:- WWW.johnstout.co.uk JS3550 PYTHON DEVELOPERContract Antwerp 4 months initial Our client is a major organisation in Antwerp. They have an urgent requirement for a specialist developer with good knowledge of Python and C++ Job de

DBAPI Paramstyle

2005-03-24 Thread Bob Parnes
d with an actual database table. I must be missing something, so perhaps someone can explain the benefit of a paramstyle over the usual Python formatting style and maybe suggest a test to show it. Thanks. Bob Parnes -- Bob Parnes [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: DBAPI Paramstyle

2005-03-25 Thread Bob Parnes
On Thu, 24 Mar 2005 15:03:13 +0100, Fredrik Lundh <[EMAIL PROTECTED]> \ wrote: > Bob Parnes wrote: > >> I must be missing something, so perhaps someone can explain >> the benefit of a paramstyle over the usual Python formatting >> style and maybe suggest a test to

change extensions

2005-04-04 Thread Bob Then
how can i change all files from one extension to another within a direcory? -- http://mail.python.org/mailman/listinfo/python-list

Re: [Pythonmac-SIG] Fwd: PPC OSX vs. x86 Linux

2005-04-11 Thread Bob Ippolito
On Apr 11, 2005, at 8:00 AM, Joshua Ginsberg wrote: On Apr 10, 2005, at 4:14 PM, Bob Ippolito wrote: On Apr 10, 2005, at 2:46 PM, Joshua Ginsberg wrote: I writing some python code to do some analysis of my mail logs. I took a 10,000 line snippet from them (the files are about 5-6 million usually

Global Variables

2005-04-12 Thread Bob Then
If I have a module File which has some fucontions but I need globals filename and path how can I set them so I can change them because I tryed. filename="log.txt" path="/home/Bob/" def change_filename(): filename=raw_input() def change_path(): path=raw_input() t

Re: Do You Want To Know For Sure That You Are Going To Heaven? The reason some people don't know for sure if they are going to Heaven when they die is because they just don't know. The good news is that you can know for sure that you are going to Heaven which is described in the Holy Bible as a beautiful place with no death, sorrow, sickness or pain. (newsgroup-post 140)

2005-04-15 Thread Bob Alman
In rec.music.makers.guitar.acoustic Grossi wrote: > Nuf said. Why don't you go there now? -- Bob Alman -- http://mail.python.org/mailman/listinfo/python-list

Most discussion on comp.lang.python is about developing with Python

2013-11-13 Thread bob gailer
other flame war. Thanks for hearing me. -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman/listinfo/python-list

Re: Invalid syntax with print "Hello World"

2013-11-14 Thread bob gailer
uot;Hello World") -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman/listinfo/python-list

Re: Oh look, another language (ceylon)

2013-11-20 Thread Bob Martin
in 710625 20131119 091055 wxjmfa...@gmail.com wrote: >Le lundi 18 novembre 2013 14:31:33 UTC+1, Steven D'Aprano a =E9crit=A0: >> >> >> ... choose one of the three bad choices: ... >> >> >> >> * choose UTF-16 or UTF-8, and have O(n) primitive string operations (like= >=20 >> >> Haskell and, appar

Re: python programming help

2013-12-08 Thread bob gailer
On 12/8/2013 12:59 PM, rafaella...@gmail.com wrote: i have a dictionary with names and ages for each name. I want to write a function that takes in an age and returns the names of all the people who are that age. please help Welcome to the python list. Thanks for posting a question. If you we

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

2013-12-09 Thread bob gailer
On 12/9/2013 7:23 AM, Oscar Benjamin wrote: [snip] I'm interested to know if anyone can share experience of a similar situation or can point to any case studies about this. Taking the opposite perspective from Gene: I think Python is great as an intro to computing and programming. Give a stude

Re: Is there any advantage to using a main() in python scripts?

2013-12-11 Thread bob gailer
On 12/11/2013 4:55 AM, JL wrote: What is the advantage to using a main()? In addition to what's been said I add: It separates all the global activities: defining of functions and classes, importing modules, etc. from the "doing" the actual task of the program. It also ensures that the defin

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

2013-12-11 Thread bob gailer
On 12/11/2013 3:43 AM, Chris Angelico wrote: When you tell a story, it's important to engage the reader from the start...explain "This is how to print Hello World to the console" and worry about what exactly the console is (and how redirection affects it) Highly agree. I was once given FORTRAN co

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

2013-12-12 Thread bob gailer
On 12/11/2013 9:07 PM, Larry Martell wrote: Nope. Long before that I was working on computers that didn't boot when you powered them up, You had to manually key in a bootstrap program from the front panel switches. PDP8? RIM loader, BIN loader? -- https://mail.python.org/mailman/listinfo/pyth

Re: Need help with file object

2013-12-13 Thread bob gailer
On 12/12/2013 11:29 PM, Unix SA wrote: ... With above prog I am getting error TypeError: coercing to Unicode: need sting or buffer, file found In future please copy and paste the entire traceback. It appears that you typed in just one line of it. In this case the line raising the exception w

Re: Newbie question. Are those different objects ?

2013-12-20 Thread bob gailer
On 12/20/2013 10:16 AM, dec...@msn.com wrote: print type y That line will give you a syntax error. -- https://mail.python.org/mailman/listinfo/python-list

Re: How can i return more than one value from a function to more than one variable

2013-12-22 Thread Bob Rashkin
On Sunday, December 22, 2013 4:54:46 PM UTC-6, dec...@msn.com wrote: > basically what I wanna do is this : > > > > x = 4 > > y = 7 > > def switch (z,w): > > ***this will switch z to w and vice verca*** > > c= z > > z=w > > w=c > > print 'Now x =', w, 'and y = ' , z >

Re: Variables in a loop, Newby question

2013-12-24 Thread bob gailer
On 12/24/2013 11:07 AM, vanommen.rob...@gmail.com wrote: Hello, for the first time I'm trying te create a little Python program. (on a raspberri Pi) I don't understand the handling of variables in a loop with Python. Lets say i want something like this. x = 1 while x <> 10 var x = x

Re: Idle Problems

2013-12-30 Thread bob gailer
On 12/30/2013 1:43 PM, rpuc...@cox.net wrote: Hi I just joined this list and have a question.I have python 3.3.3 and running it on a windows 7 computer.Python has been running good until recently.I can bring up python shell,but when I go to run a recently loaded program,the code comes up briefl

Re: Looking for tips for moving dev environment from Windows to Mac

2014-01-08 Thread Bob Hartwig
should support it nicely. Bob On Wed, Jan 8, 2014 at 8:11 AM, wrote: > Long time Windows developer making the move to Apple platform. My new > development environment is a 15" MacBook Pro with 16 Gb RAM and a 512 Gb > SSD. I'm totally new to the world of Apple hardware

Re: Time zones and why they change so damned often

2014-01-09 Thread Bob Martin
in 714232 20140109 120741 Alister wrote: >On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote: > >> On 09/01/2014 04:14, Chris Angelico wrote: >>> On Thu, Jan 9, 2014 at 2:54 PM, Ben Finney >>> wrote: I'm approaching it with the goal of knowing better what I'm talking about when I a

Re: Time zones and why they change so damned often

2014-01-10 Thread Bob Martin
in 714281 20140110 090409 Alister wrote: >On Fri, 10 Jan 2014 07:31:11 +0000, Bob Martin wrote: > >> in 714232 20140109 120741 Alister wrote: >>>On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote: >>> >>>> On 09/01/2014 04:14, Chris Angelico wrote:

Re: Python example source code

2014-01-12 Thread bob gailer
On 1/12/2014 9:37 AM, ngangsia akumbo wrote: where can i find example source code by topic? There are several Python tutorials on the internet. They have good code examples. Most modules also have module-specific examples. There are also some web sites that may address your needs. I will leav

Re: Code review?

2014-01-13 Thread Bob Martin
in 714500 20140113 233415 Chris Angelico wrote: >On Tue, Jan 14, 2014 at 7:43 AM, Steven D'Aprano wrote: >> On Tue, 14 Jan 2014 03:40:25 +1100, Chris Angelico wrote: >> >>> Incidentally, is there a reason you're using Python 2.6? You should be >>> able to upgrade at least to 2.7, and Flask ought

Re: Compiling main script into .pyc

2014-01-16 Thread bob gailer
On 1/16/2014 8:01 PM, Sam wrote: One thing I observe about python byte-code compiling is that the main script does not gets compiled into .pyc. Only imported modules are compiled into .pyc. May I know how can I compile the main script into .pyc? Duh? Just import it! -- https://mail.python.org/

Re: problem with sqlite3: cannot use < in a SQL query with (?)

2014-01-22 Thread bob gailer
On 1/22/2014 9:32 PM, lgabiot wrote: Hello, I'm building an application using a simple sqlite3 database. At some point, I need to select rows (more precisely some fields in rows) that have the following property: their field max_level (an INT), should not exceed a value stored in a variable cal

Re: problem with sqlite3: cannot use < in a SQL query with (?)

2014-01-22 Thread bob gailer
On 1/22/2014 9:32 PM, lgabiot wrote: Hello, I'm building an application using a simple sqlite3 database. At some point, I need to select rows (more precisely some fields in rows) that have the following property: their field max_level (an INT), should not exceed a value stored in a variable cal

Re: Can post a code but afraid of plagiarism

2014-01-24 Thread bob gailer
I had offered to provide some off-line tutoring. My reaction is exactly what you are saying - he needs to learn the basics. The code he sent me (after much asking to see some code) was buggy, and a lot of it were the various suggestions we all made. I feel for indar. He is in over his head. I

Re: Need Help with Programming Science Project

2014-01-24 Thread bob gailer
On 1/24/2014 5:05 AM, theguy wrote: I have a science project that involves designing a program which can examine a bit of text with the author's name given, then figure out who the author is if another piece of example text without the name is given. I so far have three different authors in th

Re: Is vars() the most useless Python built-in ever?

2015-12-01 Thread boB Stepp
tioned elsewhere in this thread. Just trying to learn more ... -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Python best practices

2016-01-16 Thread Bob Gailer
On Jan 15, 2016 8:20 PM, wrote: > > Are there any good resources on python best practices? e.g., articles What programming experience do you have? I'm thinking of languages. Here are a few of my guidelines - most not Python specific: Keep logic and data separate. Comment early and often - but

why does windows command prompt not recognize "python"?

2016-01-17 Thread bob gailer
On Jan 17, 2016 9:13 AM, "Hmood Js" > wrote: > > cmd won't recognize python at all I've checked several times , and I don't understand what's wrong Better to ask this at help or tutor @ Python.org. I am sending this to help, with a new subject,. Please reply to

Re: Issues with to run python

2016-02-06 Thread boB Stepp
m back to the same screen, that shows the same different options that can > appreciate on the screen shot that I am sending to you. Those options are : > > Modify > > Repair > > Uninstall This is a plain text only list, so your screen shot attachment is useless here. boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Simple tkinter query about creating a tk,StringVar() failure

2016-02-06 Thread boB Stepp
"help", "copyright", "credits" or "license" for more information. >>> import tkinter as tk >>> root = tk.Tk()# This will open an empty window. >>> name = tk.StringVar() >>> -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: working

2016-02-13 Thread Bob Martin
in 753638 20160212 185728 sohcahto...@gmail.com wrote: >On Friday, February 12, 2016 at 1:47:24 AM UTC-8, Mohammed Zakria wrote: >> hello >> i want to know the company that ican work as freelance python devloper > >There are some recruiters that read this mailing list and will send >unsolicited e-

Re:

2016-03-01 Thread Bob Gailer
On Mar 1, 2016 9:11 AM, "Shamanov" wrote: > > I can't work with Python I'm sorry to hear that. If you want some help you will have to give us more information. -- https://mail.python.org/mailman/listinfo/python-list

Re: argparse

2016-03-11 Thread Bob Gailer
On Mar 11, 2016 6:20 PM, "Fillmore" wrote: > > > Playing with ArgumentParser. I can't find a way to override the -h and --help options so that it provides my custom help message. > > -h, --help show this help message and exit > > Here is what I am trying: > > parser = argparse.ArgumentPa

Re: need help With understanding

2016-03-22 Thread Bob Gailer
On Mar 21, 2016 5:40 PM, "Peter Pearson" wrote: > > On Mon, 21 Mar 2016 11:18:57 +, mohamed mohamud wrote: > > hey im new at Learning Python, and i have an issue which i would like > > som help With. > > > > i have currently installed Python, and im Reading this book which > > tells me i have

Re: Python to do CDC on XML files

2016-03-23 Thread Bob Gailer
On Mar 23, 2016 4:20 PM, "Bruce Kirk" wrote: > > Does anyone know of any existing projects on how to generate a change data capture on 2 very large xml files. > > The xml structures are the same, it is the data within the files that may differ. > It should not be too difficult to write a program t

Re: Exclude every nth element from list?

2016-03-26 Thread Bob Gailer
On Mar 26, 2016 12:50 PM, "beliavsky--- via Python-list" < python-list@python.org> wrote: > > I can use x[::n] to select every nth element of a list. Is there a one-liner to get a list that excludes every nth element? [y for (i,y) in enumerate(x) if i % n] -- https://mail.python.org/mailman/listi

Re: help with program

2016-03-27 Thread Bob Gailer
The problem with putting input at the end of a program is: if the program raises an exception you won't see it. -- https://mail.python.org/mailman/listinfo/python-list

Re: bulk sms with python

2014-10-28 Thread Bob Hartwig
Sounds like you want to use Twisted or something to implement the SMPP protocol. That's not trivial, but probably not too difficult; if you don't need message delivery confirmation, it should be stateless. Bob On Tue, Oct 28, 2014 at 8:01 AM, ngangsia akumbo wrote: > I ne

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

2014-11-07 Thread Bob Martin
in 730867 20141107 093651 c...@isbd.net wrote: >Darren Chen wrote: >> 在 >> 2014年11月5日星期三UTC+8下午8时17分11秒,larry@gmail.com写道: >> > On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evstegneev >> > wrote: >> > > Firtst of all thanks for reply. >> > > >> > >>>brackets [] means

Re: What killed Smalltalk could kill Python

2015-01-24 Thread Bob Martin
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 discussions sort of silly. Once there is a critical >>> mass of installed base, no language EVER dies. >> >> Not sure ab

Re: What killed Smalltalk could kill Python

2015-01-24 Thread Bob Martin
in 734937 20150124 081658 Chris Angelico wrote: >On Sat, Jan 24, 2015 at 7:09 PM, Bob Martin wrote: >> http://www.oorexx.org/ >> >> I use ooRexx every day, on Linux mostly, but also available on Windows. > >So the question really is: Why that, as opposed to some other

Re: What killed Smalltalk could kill Python

2015-01-24 Thread Bob Martin
in 734949 20150124 113420 Gene Heskett wrote: >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 A

Re: [RELEASED] Python 3.4.0 release candidate 1

2014-02-12 Thread Bob Hanson
Pip, location: C:\Python34\python.exe, command: -m ensurepip._uninstall ''' Not sure why the installers are complaining about 3.4.0b3...? Pip seems to be figuring into these glitches, somehow...? (Note that both Terry and I are longtime Windows users, so likely we're both using our own procedures which *have* worked for years.) Bob Hanson -- Confucius say, "Never, ever, make apps dependent on the Windows Registry." -- https://mail.python.org/mailman/listinfo/python-list

Re: Functional programming

2014-03-03 Thread Bob Martin
in 718085 20140302 231409 musicdenotat...@gmail.com wrote: >If Python is not a fnctional language, then which programming paradigmis dom= >inant?= Labels are always misleading. -- https://mail.python.org/mailman/listinfo/python-list

Re: Python to be replaced by the new language called Cookie !

2014-04-01 Thread bob gailer
On 4/1/2014 4:20 AM, Skybuck Flying wrote: April Fools =D If you thought spaghetti code was bad, ... in December, 1973 R. Lawrence Clark proposed a new programming construct: COME FROM. See https://www.fortran.com/come_from.html What can we do in this new age of GOTOless programming do to m

Re: Interleaved vs. top-posting

2014-04-11 Thread Bob Martin
in 720726 20140411 134419 Tim Chase wrote: >On 2014-04-11 13:59, Chris Angelico wrote: >> I have seen plenty of cultures where people are unaware of the value >> of interleaved/bottom posting, but so far, not one where anyone has >> actually required it. Not one. > >The only time I've seen top-pos

Re: module and namespace

2014-04-19 Thread bob gailer
On 4/16/2014 6:38 AM, Egon Frerich wrote: If I use the interpreter I get: Python 3.3.5 (default, Apr 12 2014, 23:34:20) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. import mptt print(mptt) But if I import mptt in my program the print-statement gi

Re: Basic help

2014-05-21 Thread bob gailer
On 5/21/2014 3:31 AM, Pat Fourie wrote: > > Good Day Bob, > > Many thanks for your response. ur welcome. Some guidelines: Post in plain text (rather than formatted with colors etc.) reply to the list so we all get a chance to read your responses. > > As mentioned I a

Re: Hello and sorry for disturbing !

2014-05-26 Thread Bob Martin
in 722639 20140526 144904 Mark Lawrence wrote: >On 26/05/2014 10:27, Radu Ioan Barbos wrote: >> Greetings from Romania,sorry for my english,i just wanted to ask you if >> i need any other software/program beside the one software from the next >> pagehttps://www.python.org/downloads/ >>

Re: Python 3 is killing Python

2014-05-31 Thread Bob Martin
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 >supports it. Actually, the Concorde preceded the 747, and wasn't as "technically advanced",

Re: Python 3 is killing Python

2014-06-01 Thread Bob Martin
in 722944 20140601 124133 Steve Hayes wrote: >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

Re: Basic Python Query

2013-08-21 Thread Bob Martin
in 704175 20130822 010625 Ned Batchelder wrote: >This is a multi-part message in MIME format. Please post in plain text, not HTML. -- http://mail.python.org/mailman/listinfo/python-list

Re: Help me with Python please (picture)

2013-09-29 Thread Bob Martin
in 706312 20130928 175017 Joel Goldstick wrote: >--047d7bf0f67adc8dbc04e7746532 >Content-Type: text/plain; charset=UTF-8 > Please don't post HTML. -- https://mail.python.org/mailman/listinfo/python-list

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

2013-10-18 Thread Bob Hartwig
I think we should follow the lead of the radio and TV industry, and let the FCC decide what's acceptable. On second thought, that won't work - they would let "therapist" through, and as we all know, that has a double meaning. On Fri, Oct 18, 2013 at 4:57 AM, ishish wrote: > Am 17.10.2013 18:

Re: Automation

2013-11-03 Thread bob gailer
direct relationship to Python. Does this have anything to do with statistics? Quantum theory? Telephony? P = Pluto, V = Venus, S = Saturn? Help us understand - then we *might* be able to help you. -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman/listinfo/python-list

Re: Automation

2013-11-03 Thread bob gailer
aproximate with this result, and then return the vector position. Oh ... will you please explain in good English and a lot more detail. I can only begin to guess from that what you want. Guessing wastes all our time. -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman

Re: Automation

2013-11-03 Thread bob gailer
Let's remember that it is the job of the OP to explain his problem so we can offer solutions. -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman/listinfo/python-list

Re: Help me with this code PLEASE

2013-11-05 Thread bob gailer
existing keys (slow!) -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman/listinfo/python-list

Re: To whoever hacked into my Database

2013-11-07 Thread bob gailer
This is getting udderly ridiculous. Let's leave veal enough a loin. BTW what did the termite say when he entered the tavern? -- Bob Gailer 919-636-4239 Chapel Hill NC -- https://mail.python.org/mailman/listinfo/python-list

Re: Creating a function for a directory

2013-11-11 Thread bob gailer
, 'w') % file Same here: out_file = open("desktop/newfolder/%s.txt"% file, 'w') out_file.write(indata) out_file.close() in_file.close() Also don't get in the habit of reassigning built-in functions e;g; file. firstdev

Re: PSF news - BBC launches MicroBit

2015-03-16 Thread Bob Martin
in 737966 20150315 161218 MRAB wrote: >On 2015-03-15 07:26, Dave Farrance wrote: >> Mark Lawrence wrote: >> >>>http://pyfound.blogspot.co.uk/2015/03/bbc-launches-microbit.html may be >>>of interest to some of you. >> >> "Python is one of the three languages that work with the device." >> >> That'

Re: anomaly

2015-05-11 Thread boB Stepp
this thought has not been added to the "Zen Of Python", as I see it as more and more recurrent as I continue my studies. What I would like to comprehend is what is the essential mindset of Python? That is, what do I need to understand, so that I am no longer likely to be surprised by discovering new possibilities in Python such as what the current thread is discussing? -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: anomaly

2015-05-11 Thread boB Stepp
On Mon, May 11, 2015 at 2:44 AM, Chris Angelico wrote: > On Mon, May 11, 2015 at 5:12 AM, boB Stepp wrote: >>> Common Python thought:: "We're all adults here."If you want to override >>> a builtin within your own namespace, who are we to stop you? >&

Re: anomaly

2015-05-11 Thread boB Stepp
On Mon, May 11, 2015 at 2:40 AM, Mark Lawrence wrote: > On 10/05/2015 20:12, boB Stepp wrote: >> I'm surprised that this thought has not been added to the "Zen Of >> Python", as I see it as more and more recurrent as I continue my >> studies. What I wou

Re: help(string) commands not working on pyton 3.5

2015-10-15 Thread Bob Gailer
Please show us exactly what you tried and exactly what the results were. For example: >>> help() Syntax error... On Oct 15, 2015 7:34 AM, "Prasad Joshi" wrote: > Hi, > > > > I have installed the “Windows x86-64 executable installer >

Re: installer user interface glitch ?

2015-11-01 Thread boB Stepp
recent XP users from asking the same questions over, and, ..., and over. Of course if such people would only type in their issue into their favorite search engine... But that is a different issue--heavy sigh! -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: failing to run python on my pc

2015-11-19 Thread boB Stepp
ncountered many times before ... -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: OT: This Swift thing

2014-06-17 Thread Bob Martin
in 723903 20140617 121638 alister wrote: >On Tue, 17 Jun 2014 08:34:13 +1000, Chris Angelico wrote: > >> >> Partly that. But also, people want to know how long that will *really* >> last. For instance, 10 hours of battery life... doing what? Can I really >> hop on a plane for ten hours and write c

Re: Python Programing for the Absoulte Beginner

2014-08-03 Thread Bob Martin
in 726123 20140803 090919 Steven D'Aprano wrote: >Steve Hayes wrote: > >> I've got too big an investment in books on Python 2, and there are no >> books available on Python 3 (I don't regard downloadable PDFs or other >> onlines stuff as "books"). > >I love Python 3, it's way better than Python 2

Re: newbee

2014-08-13 Thread Bob Martin
in 726715 20140813 103037 Chris Angelico wrote: >On Wed, Aug 13, 2014 at 9:57 AM, Frank Scafidi wrote: >> I just acquired a Raspberry Pi and want to program in Python. I was a PL/1 >> programmer back in the 60's & 70's and Python is similar. I am struggling >> with some very fundamental things th

Re: My backwards logic

2014-09-05 Thread Bob Gailer
Bob gailer On Sep 5, 2014 12:51 PM, "Seymore4Head" wrote: > > I'm still doing practice problems. I haven't heard from the library > on any of the books I have requested. > > http://www.practicepython.org/exercise/2014/04/16/11-check-primality-functions.html >

inheritance and how to use it

2013-02-15 Thread Bob Brusa
owever the following code - specifying myClass without the self.clear(self) in it: x = myClass("argument") x.clear() How can I integrate this call into the definition of myClass? Thanks for advice. Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 18:11, schrieb Dave Angel: On 02/15/2013 11:59 AM, Bob Brusa wrote: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in this module - and in my class I would like to initialize a few things, using e. g. the

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 18:06, schrieb Thomas Rachel: Am 15.02.2013 17:59 schrieb Bob Brusa: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in this module - and in my class I would like to initialize a few things, using e. g. the

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 19:03, schrieb Dave Angel: On 02/15/2013 12:23 PM, Bob Brusa wrote: Am 15.02.2013 18:11, schrieb Dave Angel: On 02/15/2013 11:59 AM, Bob Brusa wrote: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in this

Re: inheritance and how to use it

2013-02-15 Thread Bob Brusa
Am 15.02.2013 19:06, schrieb Dave Angel: On 02/15/2013 12:50 PM, Bob Brusa wrote: Am 15.02.2013 18:06, schrieb Thomas Rachel: Am 15.02.2013 17:59 schrieb Bob Brusa: Hi, I use a module downloaded from the net. Now I want to build my own class, based on the class SerialInstrument offered in

Re: python math problem

2013-02-15 Thread Bob Brusa
which should be (25.0, 0.0). This happens at all multiples of 90 (i.e. 180 and 270) Kene, are you sure your length is 120? It seems to be 25. I did these calculations with length = 25 and then your numbers make perfect sense. Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: New User-Need-Help

2013-02-15 Thread Bob Brusa
get this...(if you are not to busy). >> >> Thanks,Nicholas >> >> -- >> http://mail.python.org/mailman/listinfo/python-list >> >> > > > -- > Joel Goldstick > http://joelgoldstick.com > Nicholas, Could it be that you use a more recent version ( e. g. 3.3) of python? I found that raw_input is indeed no longer recognized. Use input instead and your code will work - at least it did so with python 3.3 on my iPad. Bob -- Von Gmail Mobile gesendet -- http://mail.python.org/mailman/listinfo/python-list

Re: New User-Need-Help

2013-02-15 Thread Bob Brusa
print uses the new syntax e.g. print("example") in 3.r Sent from my BlackBerry® wireless device -Original Message- From: Deborah Piotrowski Date: Fri, 15 Feb 2013 16:08:17 To: Bob Brusa Cc: Joel Goldstick; python-list@python.org Subject: Re: New User-Need-Help print "G

<    1   2   3   4   5   6   7   >