Re: Gpg python installer

2015-04-01 Thread E Smitty
On Wednesday, April 1, 2015 at 4:26:40 PM UTC-7, leonardo davinci wrote: > I am using Kleopatra(gpg for win) to verify the 3.4.3 python installer, > Windows x86 MSI > > >. This file does > >not have a email in the digital signaure and I a

Re: New to Programming - XML Processing

2015-04-01 Thread sohcahtoa82
On Wednesday, April 1, 2015 at 3:34:15 PM UTC-7, catperson wrote: > On Tue, 31 Mar 2015 21:17:38 -0700 (PDT), Rustom Mody > wrote: > > >On Wednesday, April 1, 2015 at 8:57:15 AM UTC+5:30, catperson wrote: > >> I am new to programming, though not new to computers. I'm looking to > >> teach myself

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-04-01 Thread Dave Angel
On 04/01/2015 09:43 AM, Saran A wrote: On Tuesday, March 31, 2015 at 9:19:37 AM UTC-4, Dave Angel wrote: On 03/31/2015 07:00 AM, Saran A wrote: > @DaveA: This is a homework assignment. Is it possible that you could provide me with some snippets or guidance on where to place your suggesti

Re: Lockfile hanling

2015-04-01 Thread Sturla Molden
Ian Kelly wrote: > As long as there's not *also* some other external process that needs > to access the file occasionally. :-) Then there is multiprocessing.Lock :) -- https://mail.python.org/mailman/listinfo/python-list

Gpg python installer

2015-04-01 Thread leonardo davinci
I am using Kleopatra(gpg for win) to verify the 3.4.3 python installer, Windows x86 MSI >https://www.python.org/ftp/python/3.4.3/python-3.4.3.msi> www.python.org /ftp/python/3.4.3/

Re: New to Programming - XML Processing

2015-04-01 Thread catperson
On Tue, 31 Mar 2015 21:17:38 -0700 (PDT), Rustom Mody wrote: >On Wednesday, April 1, 2015 at 8:57:15 AM UTC+5:30, catperson wrote: >> I am new to programming, though not new to computers. I'm looking to >> teach myself Python 3 and am working my way through a tutorial. At >> the point I'm at in

Re: instance attribute "a" defined outside __init__

2015-04-01 Thread John Gordon
In Rio writes: > Hi, When running below code, I get error saying: > instance attribute "a" defined outside __init__ That's a warning, not an error. And it's a warning from pylint, not from Python itself. It's trying to suggest better style, that's all. It's unusual to define instance vari

instance attribute "a" defined outside __init__

2015-04-01 Thread Rio
Hi, When running below code, I get error saying: instance attribute "a" defined outside __init__ class Foo: var = 9 def add(self, a, b): self.a = a self.b = b print a+b def __init__(self): print 10 bar = Foo() #

Re: ImportError: No module named 'requests.packages.urllib3'

2015-04-01 Thread teqisid
On Wednesday, April 1, 2015 at 12:44:12 PM UTC-4, teq...@gmail.com wrote: > On Wednesday, April 1, 2015 at 12:42:39 PM UTC-4, teq...@gmail.com wrote: > > On Wednesday, April 1, 2015 at 12:05:12 PM UTC-4, Ian wrote: > > > On Wed, Apr 1, 2015 at 9:46 AM, wrote: > > > > When I am trying to import re

Re: ImportError: No module named 'requests.packages.urllib3'

2015-04-01 Thread teqisid
On Wednesday, April 1, 2015 at 12:42:39 PM UTC-4, teq...@gmail.com wrote: > On Wednesday, April 1, 2015 at 12:05:12 PM UTC-4, Ian wrote: > > On Wed, Apr 1, 2015 at 9:46 AM, wrote: > > > When I am trying to import requests library in python shell, I get this > > > error: ImportError: No module na

Re: ImportError: No module named 'requests.packages.urllib3'

2015-04-01 Thread teqisid
On Wednesday, April 1, 2015 at 12:05:12 PM UTC-4, Ian wrote: > On Wed, Apr 1, 2015 at 9:46 AM, wrote: > > When I am trying to import requests library in python shell, I get this > > error: ImportError: No module named 'requests.packages.urllib3' > > I have tried searching online and followed a f

Re: ImportError: No module named 'requests.packages.urllib3'

2015-04-01 Thread Chris Angelico
On Thu, Apr 2, 2015 at 3:04 AM, Ian Kelly wrote: > On Wed, Apr 1, 2015 at 9:46 AM, wrote: >> When I am trying to import requests library in python shell, I get this >> error: ImportError: No module named 'requests.packages.urllib3' >> I have tried searching online and followed a few probable so

Re: ImportError: No module named 'requests.packages.urllib3'

2015-04-01 Thread Ian Kelly
On Wed, Apr 1, 2015 at 9:46 AM, wrote: > When I am trying to import requests library in python shell, I get this > error: ImportError: No module named 'requests.packages.urllib3' > I have tried searching online and followed a few probable solutions but yet > no luck. > Does anyone know how I ca

ImportError: No module named 'requests.packages.urllib3'

2015-04-01 Thread teqisid
When I am trying to import requests library in python shell, I get this error: ImportError: No module named 'requests.packages.urllib3' I have tried searching online and followed a few probable solutions but yet no luck. Does anyone know how I can solve this error? I am using python 2.7 -- htt

Re: Addendum to Strategy/ Advice for How to Best Attack this Problem?

2015-04-01 Thread Saran A
On Sunday, March 29, 2015 at 8:33:43 AM UTC-4, Peter Otten wrote: > Saran Ahluwalia wrote: > > > On Sunday, March 29, 2015 at 7:33:04 AM UTC-4, Saran Ahluwalia wrote: > >> Below are the function's requirements. I am torn between using the OS > >> module or some other quick and dirty module. In add

Re: New to Programming - XML Processing

2015-04-01 Thread Burak Arslan
On 04/01/15 06:27, catperson wrote: > I am new to programming, though not new to computers. I'm looking to > teach myself Python 3 and am working my way through a tutorial. At > the point I'm at in the tutorial I am tasked with parsing out an XML > file created with a Garmin Forerunner and am jus

Re: Strategy/ Advice for How to Best Attack this Problem?

2015-04-01 Thread Saran A
On Tuesday, March 31, 2015 at 9:19:37 AM UTC-4, Dave Angel wrote: > On 03/31/2015 07:00 AM, Saran A wrote: > > > @DaveA: This is a homework assignment. Is it possible that you > could provide me with some snippets or guidance on where to place your > suggestions (for your TO DOs 2,3,4,5)?

Re: pycurl.error: (55, 'select/poll returned error')

2015-04-01 Thread Nagy László Zsolt
When calling curl.perform() on a curl instance I get this: pycurl.error: (55, 'select/poll returned error') The same server is happily accepting files over 4GB from other clients. Those other clients are exactly the same client programs, but they are running on Windows. Only the one on t

Re: Logging Custom Levels?

2015-04-01 Thread Didymus
On Tuesday, March 31, 2015 at 1:37:29 PM UTC-4, Jean-Michel Pichavant wrote: > > A solution is pretty simple, do not use an intermediate log function pdebug. > > import logging > PDEBUG_NUM=20 > logging.addLevelName(PDEBUG_NUM, "PDEBUG") > > logger = logging.getLogger('foo') > logging.basicConf

Re: Memory Issue using marking property in spotfire

2015-04-01 Thread Mark Lawrence
On 01/04/2015 11:15, mohan...@gmail.com wrote: Hi All, we have developed Iron Python script in spotfire to execute some calculation based on the marked rows. The Script holding the memory and not realsing . if we marked 1000+ rows its taking MBs of memory and keep on increasing. Please help u

Memory Issue using marking property in spotfire

2015-04-01 Thread mohan463
Hi All, we have developed Iron Python script in spotfire to execute some calculation based on the marked rows. The Script holding the memory and not realsing . if we marked 1000+ rows its taking MBs of memory and keep on increasing. Please help us, is there any way in iron python to release me

Re: New to Programming - XML Processing

2015-04-01 Thread Mark Lawrence
On 01/04/2015 05:27, Andrew Farrell wrote: You should follow Rustom's advice before just diving into the blog post I linked to. Otherwise you risk blindly following things and losing your bearings when you run into bugs. Sound advice, but would you please be kind enough to intersperse your an