Re: Beginner: Portable Python, BeautifulSoup & ScrapeNFeed

2009-04-15 Thread Brian
On Ubuntu: sudo apt-get install python-pyrss2gen python-beautifulsoup # download ScrapeNFeed Python: Not sure what's wrong with this but it's most of the code you'll need: --- from urllib import urlopen from BeautifulSoup import BeautifulSoup from PyRSS2Gen import RSSItem, Guid import Scr

Re: Beginner: Portable Python, BeautifulSoup & ScrapeNFeed

2009-04-17 Thread Brian
Was this code a complete waste of my time? On Wed, Apr 15, 2009 at 1:09 AM, Brian wrote: > On Ubuntu: > > sudo apt-get install python-pyrss2gen python-beautifulsoup # download > ScrapeNFeed > > Python: > Not sure what's wrong with this but it's most of the code yo

out of memory with processing module

2009-04-20 Thread Brian
I'm using the third-party "processing" module in Python 2.5, which may have become the "multiprocessing" module in Python 2.6, to speed up the execution of a computation that takes over a week to run. The relevant code may not be relevant, but it is: q1, q2 = processing.Queue(), proces

Re: out of memory with processing module

2009-04-20 Thread Brian
On Apr 20, 9:18 am, alessiogiovanni.bar...@gmail.com wrote: > On 20 Apr, 17:03, Brian wrote: > > > > > I'm using the third-party "processing" module in Python 2.5, which may > > have become the "multiprocessing" module in Python 2.6, to speed up &

Re: out of memory with processing module

2009-04-20 Thread Brian
On Apr 20, 9:18 am, alessiogiovanni.bar...@gmail.com wrote: > On 20 Apr, 17:03, Brian wrote: > > > > > I'm using the third-party "processing" module in Python 2.5, which may > > have become the "multiprocessing" module in Python 2.6, to speed up &

need help with a multiloop error

2009-04-22 Thread Brian
I'm trying to run a python program with a multiloop and I am getting this error message. I was wondering if anyone could tell from this message what I'm doing wrong or where I've made a mistake. Let me know if you need some of the code for this to make more sense. Thanks a lot. How much labor

Re: Profiling gives very different predictions of best algorithm

2009-05-01 Thread Brian
quantum chemistry sounds complicated. that means any advice i can give you makes me a genius! just kidding. i've heard through the grapevine that reentrant functions mess up profilers. On Fri, May 1, 2009 at 2:54 PM, Rick Muller wrote: > I'm the main programmer for the PyQuante package, a quantu

Re: Using C++ and ctypes together: a vast conspiracy? ;)

2009-06-04 Thread Brian
What is the goal of this conversation that goes above and beyond what Boost.Python + pygccxml achieve? Boost has published a variety of libraries that will be included into the next c++ standard. It's hard to imagine a better designed python/c++ interface library than Boost.Python. Further, pygccxm

Re: Using C++ and ctypes together: a vast conspiracy? ;)

2009-06-04 Thread Brian
blem for anyone - it's easy to set up a compile farm and the benefit is that your runtime code is blazing fast. In my opinion Boost is more sophisticated, SWIG, etc.. is more of a hack. Of course they all help you get the job done. On Thu, Jun 4, 2009 at 2:54 PM, Philip Semanchuk wrote: &g

Re: Using C++ and ctypes together: a vast conspiracy? ;)

2009-06-04 Thread Brian
u can operate on all code that has certain arbitrary properties all at the same time. Play with it before deciding on swig. It's frikkin' cool :) On Thu, Jun 4, 2009 at 3:01 PM, Brian wrote: > Well you'll just have to try Boost.Python. There is a pygccxml gui gets you > started i

Re: How do *you* use Python in non-GUI work?

2008-05-18 Thread Brian
John Salerno wrote: Hey all. Just thought I'd ask a general question for my own interest. Every time I think of something I might do in Python, it usually involves creating a GUI interface, so I was wondering what kind of work you all do with Python that does *not* involve any GUI work. This c

Re: Newbie: How to pass a dictionary to a function?

2008-04-07 Thread Brian
Plus you probably don't want to set [] as default argument and then try to access it like a dictionary; you'll get an exception if you ever call just foo(), with no argument. On Tue, Apr 8, 2008 at 12:57 AM, Jason Scheirer <[EMAIL PROTECTED]> wrote: > On Apr 7, 8:54 pm, BonusOnus <[EMAIL PROTECTE

Re: Converting a tuple to a list

2008-04-08 Thread Brian
gt; > regards > Steve > -- > Steve Holden+1 571 484 6266 +1 800 494 3119 > Holden Web LLC http://www.holdenweb.com/ > > -- > http://mail.python.org/mailman/listinfo/python-list > That would just make a list of tuples, I think he wants [1, 2, 3, 4, 5, 6]. Try: l = [x for z in t for x in z] --Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: Converting a tuple to a list

2008-04-08 Thread Brian
On Tue, Apr 8, 2008 at 6:36 PM, Brian <[EMAIL PROTECTED]> wrote: > > > On Tue, Apr 8, 2008 at 6:22 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > > > Gabriel Ibanez wrote: > > > Hi all .. > > > > > > I'm trying to using the map fu

Re: Advice on tools/technologies/books, etc.

2008-04-12 Thread Brian
of all the details. As for making async apps, AJAX is the popular and simplest choice. Gears/Adobe Air/MS Silverlight I believe involve significantly more work. Brian On Sat, Apr 12, 2008 at 9:48 PM, Matt <[EMAIL PROTECTED]> wrote: > I would like to create a web-based tool for risk m

Re: Java or C++?

2008-04-14 Thread Brian
On Mon, Apr 14, 2008 at 3:24 AM, bdsatish <[EMAIL PROTECTED]> wrote: > On Apr 14, 12:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote: > > in 342367 20080414 074410 [EMAIL PROTECTED] wrote: > > > > >Hello, I was hoping to get some opinions on a subject. I've been > > >programming Python for almost two

Re: is file open in system ? - other than lsof

2008-04-16 Thread Brian
On Wed, Apr 16, 2008 at 10:00 AM, Chris McAloney <[EMAIL PROTECTED]> wrote: > On 16-Apr-08, at 9:20 AM, A.T.Hofkamp wrote: > > On 2008-04-16, bvidinli <[EMAIL PROTECTED]> wrote: > >> is there a way to find out if file open in system ? - > >> please write if you know a way other than lsof. because

Re: Partition list with predicate

2008-04-23 Thread Brian
> TJG > -- > http://mail.python.org/mailman/listinfo/python-list > > > > -- > http://mail.python.org/mailman/listinfo/python-list > I would do it like this: # This takes out the values extracted = [ obj for obj in lst if pred(obj) ] # This filters out any item that was ext

Re: Can you recommend a book?

2008-04-25 Thread Brian
y style and keep me up to > date. I would like one with practical examples. > > Can you recommend one? > -- > http://mail.python.org/mailman/listinfo/python-list > Dive Into Python <http://www.diveintopython.org/> is awesome, and best of all, free. Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: How to run python script in emacs

2009-09-28 Thread Brian
I do all my python coding in emacs. It's awesome. Here's how I do it: *Create windmove bindings* This is important - it maps *Meta-i,j,k,l* to move your window focus up, left, down, right. It's used in conjunction with *C-x 3* (split window vertically) and *C-x 2* (split window horizontally). So t

Yappi error "context not found"

2011-02-10 Thread Brian
I'm posting here because I can't find a Yappi specific mailing list. I've been using the rather brilliant Yappi from http://code.google.com/p/yappi/ It works well for small programs with a few threads. However, when trying to run it over large programs with several hundred threads I've been gettin

Re: unladen swallow: python and llvm

2009-06-07 Thread Brian
On Fri, Jun 5, 2009 at 3:29 AM, Nick Craig-Wood wrote: > > > It is an interesting idea for a number of reasons, the main one as far > as I'm concerned is that it is more of a port of CPython to a new > architecture than a complete re-invention of python (like PyPy / > IronPython / jython) so stan

Re: can it be shorter?

2009-06-07 Thread Brian
Since extra slashes at the end of a URL are ignored, that means I win! url+='/' On Sun, Jun 7, 2009 at 4:45 PM, Aaron Brady wrote: > On Jun 6, 8:07 am, "tsangpo" wrote: > > I want to ensure that the url ends with a '/', now I have to do thisa > like > > below. > > url = url + '' if url[-1] ==

Re: PDF: finding a blank image

2009-07-13 Thread Brian
Perhaps your blank pages have a characteristic size. Or perhaps if you trim them with `convert' (ImageMagick) there is nothing left. On Mon, Jul 13, 2009 at 3:44 PM, DrLeif wrote: > I have about 6000 PDF files which have been produced using a scanner > with more being produced each day. The PDF

Re: ANN: Shed Skin 0.2, an experimental (restricted) Python-to-C++ compiler

2009-07-22 Thread Brian
On Wed, Jul 22, 2009 at 11:55 AM, William Dode wrote: > On 22-07-2009, William Dode wrote: > > > c 1.65s > > gcj 1.9s > > java 2.4s > > python2.5 + psyco 2.9s > > shedskin 3.4s > > with -bw i have 2.6s > > > unladen-2009Q2 125s (2m05) > > Jython 2.2.1 on java1.6.0_12 176s (without array, like she

Re: Regular expression solution

2009-07-28 Thread Brian
On Tue, Jul 28, 2009 at 9:11 PM, tiefeng wu wrote: > 2009/7/29 Nobody : > >> The output should be something like > >> document.write("hello my name is 21c";) > > > > import re > > r = re.compile(r'"\s*\+\s*"') > > s = r'''document.write("h" +"e"+ "ll"+ "o"+ " m" +"y"+" > n"+"ame"+ > > "

Re: Python docs disappointing - group effort to hire writers?

2009-08-11 Thread Brian
On Fri, Jul 31, 2009 at 6:12 PM, Kee Nethery wrote: > I too find the Python docs not very useful and it really slows down my > learning curve. > > I wonder if it would make sense to find good tech writers, get a quotes, > and get some professionally written documentation WITH LOTS OF EXAMPLES > a

Re: Scraping Wikipedia with Python

2009-08-11 Thread Brian
On Tue, Aug 11, 2009 at 12:29 PM, Dotan Cohen wrote: > >Wikipedia has an API for computer access. See > > > >http://www.mediawiki.org/wiki/API > > > > Yes, I am aware of this as well. Does anyone know of a python class > for easily interacting with it, or do I need to roll my own. >

Re: Splitting on '^' ?

2009-08-14 Thread Brian
On Fri, Aug 14, 2009 at 2:23 PM, kj wrote: > > > Sometimes I want to split a string into lines, preserving the > end-of-line markers. In Perl this is really easy to do, by splitting > on the beginning-of-line anchor: > > @lines = split /^/, $string; > > But I can't figure out how to do the same

Re: A Exhibition Of Tech Geekers Incompetence: Emacs whitespace-mode

2009-08-14 Thread Brian
On Fri, Aug 14, 2009 at 4:46 PM, magicus wrote: > On Fri, 14 Aug 2009 19:57:17 +0200, Jean-Michel Pichavant > wrote: > > > vippstar wrote: > >> On Aug 14, 8:25 pm, fortunatus wrote: > >> > >>> On Aug 14, 1:01 pm, vippstar wrote: > >>> > >>> > Why would you fill your website with junk? > >>

Re: Splitting a string into substrings of equal size

2009-08-15 Thread Brian
On Sat, Aug 15, 2009 at 4:06 PM, MRAB wrote: > ryles wrote: > >> On Aug 14, 8:22 pm, candide wrote: >> >>> Suppose you need to split a string into substrings of a given size >>> (except >>> possibly the last substring). I make the hypothesis the first slice is at >>> the >>> end of the string. >

Re: Read C++ enum in python

2009-08-19 Thread Brian
pygccxml http://www.language-binding.net/pygccxml/pygccxml.html It uses gccxml to compile your source code into xml, and then makes all of your source code available to you via a high level and convenient query interface in python. On Tue, Aug 18, 2009 at 5:03 PM, Ludo < olivier.anospamrnospamnno

Re: BeautifulSoup

2009-09-02 Thread Brian
>>> from BeautifulSoup import BeautifulSoup >>> soup = BeautifulSoup("""http://BioCyc.org/ECOLI/NEW-IMAGE? ... type=GENE-IN-CHROM-BROWSER&object=EG12309" onmouseover="return ... overlib('Gene: yjtDProduct: predicted rRNA methyltransferase, subunit of predicted rRNA ... methyltransferaseIntergenic d

socket

2012-07-23 Thread Brian Murphy
hey guys i have a question i have not programmed in python for about 8 years now. i am trying to set up a simple password protected server. i have tried to research information but am not lucky. can someone point me in the right direction? -- http://mail.python.org/mailman/listinfo/python-list

FYI - wiki.python.org compromised

2013-01-07 Thread Brian Curtin
On December 28th, an unknown attacker used a previously unknown remote code exploit on http://wiki.python.org/. The attacker was able to get shell access as the "moin" user, but no other services were affected. Some time later, the attacker deleted all files owned by the "moin" user, including all

Storing class objects dynamically in an array

2013-01-21 Thread Brian D
want from online searches, so what recommendations might Python users make for the best way to do this? Maybe I need to re-think the approach? Thanks, Brian class Car(object): def __init__(self, Brand, Color, Condition): self.Brand = Brand self.Color = Color se

Re: Storing class objects dynamically in an array

2013-01-21 Thread Brian D
On Monday, January 21, 2013 8:29:50 PM UTC-6, MRAB wrote: > On 2013-01-22 01:56, Brian D wrote: > > > Hi, > > > > > > I'm trying to instantiate a class object repeated times, dynamically for as > > many times as are required, storing each class object

Getting an embedded Python runtime to use the current active virtualenv

2012-01-25 Thread Brian Rossa
, but trying to "discover" the appropriate $PYTHONHOME and $PYTHONPATH from the $PATH and then feed them to the embedded runtime seems like a kludge at best. I'm guess that there has to be a *right* way to do this. Could somebody give me a clue? Thanks! ~Brian PS - If you want some re

Re: import fails in non-interactive interpreter

2012-01-26 Thread Brian Brinegar
e.deploy >>> paste.deploy.__path__ ['/home/brian/webapps/test_dyn/lib/python2.7/paste/deploy'] My path for both interactive and non-interactive contains: /home/brian/webapps/test_dyn/lib/python2.7 >From the interactive interpreter I can import paste if my working directory is i

Re: import fails in non-interactive interpreter

2012-01-26 Thread Brian Brinegar
On Thu, Jan 26, 2012 at 8:49 AM, Jean-Michel Pichavant wrote: > Brian Brinegar wrote: >> >> JM, >> >> Thanks for the response, you're correct '' is pre-pended to the path >> in interactive mode. I've tried adding . to my PYTHONPATH and it &

paper submission and versioning system - advice?

2012-02-20 Thread Brian Blais
has to be available tools like this, but I am not even sure what such a system is called. Is there anything like this, in python preferably? thanks, Brian Blais -- Brian Blais bbl...@gmail.com http://web.bryant.edu/~bblais http://brianblais.wordpr

Re: New learner of Python--any suggestion on studying it?

2012-03-19 Thread Brian Wilkinson
1000. The problems build in difficulty and in the programming skills you need. The Python Challenge (best completed using version 2.7 of Python) is hard to explain, but a lot of fun to do. Good luck! Brian -- http://mail.python.org/mailman/listinfo/python-list

Opening a csv file in python on a mac

2012-05-12 Thread Brian Heese
I created a csv file called python test file.csv. It is stored on my Desktop directory. When I try to open it using the command open ('Desktop python test file.csv') I get the following error: "No such file or directory". The same thing happens if I use open ('python test file.csv'). What I am

Re: Has anyone seen any updated versions of pywapi? (Python Weather API)

2011-06-05 Thread Brian Curtin
On Sun, Jun 5, 2011 at 19:27, Benjamin Schollnick < bscholln...@schollnick.net> wrote: > The Google Code site is at http://code.google.com/p/python-weather-api/ > > And it's powerful, but I don't see any updates since late 2010... Does > anyone know of a different pre-built API for accessing weat

Re: Question- Getting Windows 64bits information Python 32bits

2011-07-07 Thread Brian Curtin
2011/7/7 António Rocha > Greetings > > I'm running Python (32b) in Windows7 (at 64bits) and I would like to know > how can I check if my machine is a 32b or 64b in Python. Is it possible? I > saw a few examples (like platform) but they only provide information about > Python not the machine. > Th

Re: What is xrange?

2011-07-30 Thread Brian Blais
current implementation that wouldn't work as a generator? bb -- Brian Blais bbl...@bryant.edu http://web.bryant.edu/~bblais http://bblais.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: What is xrange?

2011-07-30 Thread Brian Blais
pers are lazy, or bored! bb > > > > -- > Steven > > -- > http://mail.python.org/mailman/listinfo/python-list -- Brian Blais bbl...@bryant.edu http://web.bryant.edu/~bblais http://bblais.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

PyCon US 2012 Survey - We need your input!

2011-08-08 Thread Brian Curtin
Hi all, As we ramp up our efforts on PyCon US 2012, we wanted to gather some information from the community on what we can do best to serve you at the March 2012 conference in Santa Clara, CA. We've put together a survey about your experiences at past PyCons as well as what your interests are in t

Re: How to build python using visual studio 2005?

2011-08-18 Thread Brian Curtin
On Wed, Aug 17, 2011 at 13:16, smith jack wrote: > anybody here have build it correctly? > how to make a msi file just as the official site did? > is there any detailed tutorial online? We're currently shipping CPython built on VS 2008, but I do know of people building with 2005. How they do it

Re: Python Tools for Visual Studio - anyone using it?

2011-08-31 Thread Brian Curtin
On Wed, Aug 31, 2011 at 14:29, Andrew McLean wrote: > I understand that Python Tools for Visual Studio doesn't work with VS > Express, but does work with the (free) VS 2010 Shell. Does anyone know if > you can install VS Express and VS Shell on the same machine? Yes, because the shell and Expre

Re: writing command-line options into file

2011-03-14 Thread Brian Blais
23) parser.add_option("--opt2", metavar="YOUR_OPTION2" ,default= "abc") parser.add_option("--opt3", metavar="FLAG", default=True) parser.save('test.yaml') newparser=MyOptionParser() newparser.load('test.yaml') bb -- Brian Blais bbl...@bryant.edu http://web.bryant.edu/~bblais http://bblais.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: May I discuss here issues on Machine Learning?

2011-03-23 Thread Brian Blais
able to suggest more efficient libraries to call for doing these sorts of models. bb -- Brian Blais bbl...@bryant.edu http://web.bryant.edu/~bblais http://bblais.blogspot.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Dump interpreter history?

2011-03-25 Thread Brian Curtin
On Fri, Mar 25, 2011 at 16:03, Ken D'Ambrosio wrote: > Hey, all. A co-worker asked me a question, and I've got no idea how (or > if) it can be done. Bottom line: he'd like to save off the text from an > interpreter session, his thinking being that you've already tried to get > what you want, an

Re: Guido rethinking removal of cmp from sort method

2011-04-02 Thread Brian Quinlan
nd) for a *philosophical* determination for inclusion of the cmp= keyword. Any argument along what you call "philosophical" grounds will not be successful. Technical (including aesthetic, convenience, etc.) arguments *may* be successful. Cheers, Brian -- http://mail.python.org/mail

Re: Guido rethinking removal of cmp from sort method

2011-04-02 Thread Brian Quinlan
core because people would simple recreate them rather than investing the time to find, learn and use them. Cheers, Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: Guido rethinking removal of cmp from sort method

2011-04-02 Thread Brian Quinlan
On 3 Apr 2011, at 15:30, harrismh777 wrote: Brian Quinlan wrote: I suspect that this debate is a sink hole that I won't be able to escape from alive but... ... live long and prosper my friend. Something to consider is that OOP philosophy is technically one of the most aest

Re: who moved reload?

2011-04-07 Thread Brian Curtin
On Thu, Apr 7, 2011 at 00:45, harrismh777 wrote: > All right... somebody is sacked (er, fired) ! > > Who moved reload()? > > This kinda stuff is driving me bonkers... there was no need to move > reload() anyplace... > > ... so for those of you who haven't found out yet, if you want to reload a >

Re: TextWrangler "run" command not working properly

2011-04-15 Thread Brian Blais
/python it's better to use the former, as it will work even as you change versions, etc... You should avoid using the shebang with a *specific* python version. just use #!/usr/bin/env python bb -- Brian Blais bbl...@bryant.edu http:/

Re: windows 7 x64 shutdown

2011-04-29 Thread Brian Curtin
On Mon, Apr 25, 2011 at 16:15, rjmccorkle wrote: > does anyone know a solution to shutting down windows 7 x64 via python > script? the win32 obviously doesn't work... something similar? > > "the win32 obviously doesn't work" -- It does. -- http://mail.python.org/mailman/listinfo/python-list

Accessing Self Inside Decorator with parameters

2017-12-14 Thread Brian Herman
def preform_action(self): print("test") Is there any way to do this pythonically? -- Thanks, Brian Herman kompile.org <http://www.kompile.org> -- https://mail.python.org/mailman/listinfo/python-list

Python installation

2022-06-21 Thread Brian Karinga
nothing has changed. Please advise on what the problem could be and how it can be resolved. I look forward to hearing from you. Thank you, Brian. -- https://mail.python.org/mailman/listinfo/python-list

Re: Issue with python365.chm on window 7

2018-04-23 Thread Brian Gibbemeyer
From: Brian Gibbemeyer/Detroit/IBM To: python-list@python.org, d...@python.org Date: 04/23/2018 03:35 PM Subject:Issue with python365.chm on window 7 Not sure which email this should go to. But I downloaded .chm version of the Python guide and found that it is not working in

Re: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
see my comments below denoted by + From: Terry Reedy To: python-list@python.org Date: 04/23/2018 06:45 PM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" This is a good place to start. > But I downloaded .chm version of the Python guide

Re: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
Did you download it form the web? https://www.python.org/downloads/release/python-364/ That is the one not working. I id not know about the .chm that was installed with the product until this morning. Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care Phone

Re: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
comes with python install. This is the graphic I sent. Bob Should be able to see it but the list will not Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care From: Bob Martin To: python-list@python.org Date: 04/24/2018 02:18 AM Subject:

Re: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
The links without the url defense wrappers https://www.python.org/downloads/release/python-365/ https://www.python.org/ftp/python/3.6.5/python365.chm Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care From: "Brian Gibbemeyer" To: Bob

Re: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
python365.chm on window 7 Sent by:"Python-list" On Wed, Apr 25, 2018 at 12:15 AM, Brian Gibbemeyer wrote: > Yes actually I am a Sr Software Engineer. I am not an expert in one > language. I am pretty handy in picking up new concepts and applying the > concepts to me

Re: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
side, nothing appears in the right pane. From: Ethan Furman To: python-list@python.org Date: 04/24/2018 11:31 AM Subject:Re: Issue with python365.chm on window 7 Sent by:"Python-list" On 04/24/2018 07:15 AM, Brian Gibbemeyer wrote: > I found that Python

RE: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
ot; -Original Message- From: Python-list On Behalf Of Brian Gibbemeyer Sent: Tuesday, April 24, 2018 11:01 AM To: Ethan Furman Cc: python-list@python.org Subject: Re: Issue with python365.chm on window 7 > The file at > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.

Re: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
Thank you Ethan,,, that worked. Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care Phone: 1-7349133594 | Mobile: 1-7347258319 E-mail: bgibb...@us.ibm.com 100 Phoenix Dr Ann Arbor, MI 48108-2202 United States From: Ethan Furman To: Python Date

RE: Issue with python365.chm on window 7

2018-04-24 Thread Brian Gibbemeyer
And thank you Joseph as well. Thank you, Brian Gibbemeyer Sr Software Engineer Watson Health - Value Based Care Phone: 1-7349133594 | Mobile: 1-7347258319 E-mail: bgibb...@us.ibm.com 100 Phoenix Dr Ann Arbor, MI 48108-2202 United States From: "Joseph L. Casale" To: &q

Re[2]: [OT] master/slave debate in Python

2018-09-26 Thread Brian Grawburg
. Brian Grawburg Wilson, NC -- https://mail.python.org/mailman/listinfo/python-list

polar coordinates?

2018-12-09 Thread Brian Christiansen
he E-mail associated with the account is a "spamcatcher" account that I got to every couple of months to empty out, and anything sent to it will not be seen for probably several months, if it is seen at all. Brian Christiansen -- https://mail.python.org/mailman/listinfo/python-list

Re: polar coordinates?

2018-12-17 Thread Brian Christiansen
. -- My Yonkoma: https://www.flickr.com/photos/brian0908/albums/72157680223526176 The E-mail associated with the account is a "spamcatcher" account that I got to every couple of months to empty out, and anything sent to it will not be seen for probably several months, if it is seen at

Re: polar coordinates?

2018-12-18 Thread Brian Christiansen
) if choice == "d": pi_as_dots() main() -- My Yonkoma: https://www.flickr.com/photos/brian0908/albums/72157680223526176 The E-mail associated with the account is a "spamcatcher" account that I got to every couple of months to empty out, and anything sent to it will not be seen for probably several months, if it is seen at all. Brian Christiansen -- https://mail.python.org/mailman/listinfo/python-list

Re: polar coordinates?

2018-12-19 Thread Brian Christiansen
professor Grimes "Roman bathhouse tiling" representation of PI (I have not, as of when I typed this message cut and pasted it into my IDE to see exactly what happens). I think I will use it, or perhaps an adaptation of it for my "Roman bathhouse tiling" representation of PI.

python installation.

2019-09-23 Thread Brian Korir
I receive a 'not a valid Win32...' after a few minutes of installing python 3.7.4. I have reinstalled it several times with the same results. My laptop uses windows 7, 64-bit. What can I do to solve this? Thank you. -- https://mail.python.org/mailman/listinfo/python-list

Re: python installation.

2019-09-23 Thread Brian Korir
I used Windows x86-64 executable installer the first two times and Windows x86-64 web-based installer. They both yielded the same result. On Tue, 24 Sep 2019 05:46 Cameron Simpson, wrote: > On 24Sep2019 00:12, Brian Korir wrote: > >I receive a 'not a valid Win32...' aft

Re: "no variable or argument declarations are necessary."

2005-10-04 Thread Brian Quinlan
f you want to use such a different language, wouldn't a different existing language better fit your needs...? Cheers, Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: "no variable or argument declarations are necessary."

2005-10-05 Thread Brian Quinlan
Paul Rubin wrote: > Brian Quinlan <[EMAIL PROTECTED]> writes: > >>Have those of you who think that the lack of required declarations in >>Python is a huge weakness given any thought to the impact that adding >>them would have on the rest of the language? I can

Re: "no variable or argument declarations are necessary."

2005-10-05 Thread Brian Quinlan
return do_add('http://', node.namespace) > elif node.namespace == ... Wouldn't an error be generated because XML_NAMESPACE is not declared? And I notice that you are not doing any checking that "namespace" is a valid attribute of the node object. Aren&

Re: "no variable or argument declarations are necessary."

2005-10-05 Thread Brian Quinlan
he slot names and check them. How would you find the class definition for the Node object at compile-time? And by "slots" do you mean the existing Python slots concept or something new? > If the Node class doesn't > declare fixed slots, then they're dynamic and are look

Python 2.4.2 HPUX-PARISC compile issues

2005-10-05 Thread brian . toal
When compiling HPUX for PARISC with the following environemnt variables I get the following errors. CFLAGS=+DD64 -fast CC=aCC LDFLAGS=+DD64 $ make aCC -Ae -DD64 -c -DNDEBUG -O -I. -I./Include -DPy_BUILD_CORE -o Modules/python.o Modules/python.c Error 119: "./Include/pyport.h", line 612 # #erro

Re: "no variable or argument declarations are necessary."

2005-10-06 Thread Brian Quinlan
Paul Rubin wrote: > Brian Quinlan <[EMAIL PROTECTED]> writes: > >>OK. The Python compiler would check that the name is declared but it >>would not check that it is defined before use? So this would be >>acceptable: >> >>def foo(): >> local x

Re: "no variable or argument declarations are necessary."

2005-10-06 Thread Brian Quinlan
rstanding of Python's existing workings ("The compiler would examine the other module when it processes the import statement, just like it does now."). Without a clear idea of the nature of the proposal, it is impossible to assess it's costs and benefits. So could a proponent of o

Re: "no variable or argument declarations are necessary."

2005-10-07 Thread Brian Quinlan
Paul Rubin wrote: > Brian Quinlan <[EMAIL PROTECTED]> writes: > >>Without a clear idea of the nature of the proposal, it is impossible >>to assess it's costs and benefits. So could a proponent of optional >>declarations please provide a more clear proposal?

Re: Microsoft Hatred FAQ

2005-10-25 Thread Brian Utterback
mber when SOX compliant meant they were both the same color? -- Brian Utterback - OP/N1 RPE, Sun Microsystems, Inc. Ph:877-259-7345, Em:brian.utterback-at-ess-you-enn-dot-kom -- http://mail.python.org/mailman/listinfo/python-list

dpx file reader

2005-11-01 Thread Brian Gyss
All - Does anyone have a practical example of a DPX file reader implemented fully in Python that they would be willing to share? Thanks! - Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: python gui using boa

2005-11-23 Thread Brian Victor
Change -> to ., change this to self, get rid of "new" and *) http://neume.sourceforge.net/sizerdemo/ -- Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: python gui using boa

2005-11-24 Thread Brian Victor
vt): if evt.Dragging() and evt.LeftIsDown(): x, y = self.ClientToScreen(evt.GetPosition()) fp = (x - self.delta[0], y - self.delta[1]) self.Move(fp) #v- -- Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get started in GUI Programming?

2005-11-28 Thread Brian Elmegaard
/infohost.nmt.edu/tcc/help/pubs/tkinter.pdf. -- Brian (remove the sport for mail) http://www.et.web.mek.dtu.dk/Staff/be/be.html http://www.rugbyklubben-speed.dk -- http://mail.python.org/mailman/listinfo/python-list

Re: Parsing a search string

2004-12-31 Thread Brian Beck
e forms, both geared towards being input to an search method for your database I'd be glad to post the code, although I'd probably want to have a last look at it before I let others see it... -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/listinfo/python-list

Re: What can I do with Python ??

2005-01-01 Thread Brian Beck
ine where I would start if I were them. Once I get to the BeginnersGuide I don't see anything immediately useful, and when I look for it I get frustrated. -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/listinfo/python-list

Re: Keyword arguments - strange behaviour?

2005-01-05 Thread brian . bird
Thanks. In case anyone else is looking, the recipe is at: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303440 (which also shows how to make it work with python2.3 and below since they don't support decorators) Brian -- http://mail.python.org/mailman/listinfo/python-list

Re: Python.org, Website of Satan

2005-01-11 Thread Brian Eable
[EMAIL PROTECTED] writes: > python.org = 194.109.137.226 > > 194 + 109 + 137 + 226 = 666 BUT! perl -e '$a="194.109.137.226"; @a = reverse split /\./, $a; for $i (0..3) { $sum += $a[$i]*(256**$i) } print "sum = $sum\n"' 226 + 35072 + 7143424 + 3254779904 = 3261958626 http://3261958626/ Whic

Re: Python.org, Website of Satan

2005-01-14 Thread Brian Eable
"mr_little" <[EMAIL PROTECTED]> writes: > Brian Eable wrote: > > perl -e '$a="194.109.137.226"; @a = reverse split /\./, $a; for $i > (0..3) { $sum += $a[$i]*(256**$i) } print "sum = $sum\n"' > > > > 226 + 35072 + 7143424 + 3

Re: alternatives to mod python

2005-01-25 Thread Brian Beck
Anyone have any suggestions? The only other thing I looked at was twisted, which I'm still evaluating. Might as well check out CherryPy as well. www.cherrypy.org Might turn out to be simpler for your needs. -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/lis

Re: advice needed for simple python web app

2005-02-03 Thread Brian Beck
h complex APIs that Python will rarely help you. Of course there are more, like Webware, but you didn't mention that and I don't have experience with it. -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-06 Thread Brian Beck
ntation: loss of data integrity and possibly even data itself, or speed and efficiency? -- Brian Beck Adventurer of the First Order -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I access avariable named "return"?

2005-06-21 Thread Brian Beck
> I think this seems to be a problem due to the use of a forbidden word. But I > have no chance to change the WSDL definition, so: How can I get the > variable resp.return? Any suggestions? To get it: getattr(resp, 'return') To set it: setattr(resp, 'return', value)

<    1   2   3   4   5   6   7   8   9   10   >