Is your BI tool really intelligent ?

2015-08-24 Thread Helical Insight
Is your #BI implementation ready to scale up for ALL of your future requirements? https://lnkd.in/ezeGr9b -- https://mail.python.org/mailman/listinfo/python-list

Re: asyncio, coroutines, etc. and simultaneous execution

2015-08-24 Thread Sven R. Kunze
On 23.08.2015 23:43, Charles Hixson wrote: If I understand correctly asyncio, coroutines, etc. (and, of course, Threads) are not simultaneously executed, and that if one wants that one must still use multiprocessing. But I'm not sure. The note is still there at the start of threading, so I'm p

Re: Python/Github

2015-08-24 Thread DBS
On Monday, August 24, 2015 at 2:16:55 PM UTC-7, Chris Rebert wrote: > On Mon, Aug 24, 2015 at 1:14 PM, DBS wrote: > > Hello, > > > > I'm trying to retrieve the number of commits and changed files on all pull > > requests submitted to a branch. > > > > The call to get all the pull requests is GET

Re: Python/Github

2015-08-24 Thread Chris Rebert
On Mon, Aug 24, 2015 at 1:14 PM, DBS wrote: > Hello, > > I'm trying to retrieve the number of commits and changed files on all pull > requests submitted to a branch. > > The call to get all the pull requests is GET /repos/:owner/:repo/pulls, but > it does not return "commits" or "changed_files".

Python Developer- Houston, TX

2015-08-24 Thread appthought1
Hi, Hope you are doing well !!! My name is Siva and I'm a recruiter at TheAppliedthought , a global staffing and IT consulting company. Please find the below job description which may suits any of your consultants who are available in market or who are looking for change, please send me latest

Python/Github

2015-08-24 Thread DBS
Hello, I'm trying to retrieve the number of commits and changed files on all pull requests submitted to a branch. The call to get all the pull requests is GET /repos/:owner/:repo/pulls, but it does not return "commits" or "changed_files". The call that returns number of commits and changed fi

Re: Using urlopen in Python2 and Python3

2015-08-24 Thread Cecil Westerhof
On Monday 24 Aug 2015 19:37 CEST, Ned Batchelder wrote: > On Monday, August 24, 2015 at 1:14:20 PM UTC-4, Cecil Westerhof wrote: >> In Python2 urlopen is part of urllib, but in Python3 it is part of >> urllib.request. I solved this by the following code: >>

Re: Using urlopen in Python2 and Python3

2015-08-24 Thread Ned Batchelder
On Monday, August 24, 2015 at 1:14:20 PM UTC-4, Cecil Westerhof wrote: > In Python2 urlopen is part of urllib, but in Python3 it is part of > urllib.request. I solved this by the following code: > > from platform import pyth

Using urlopen in Python2 and Python3

2015-08-24 Thread Cecil Westerhof
In Python2 urlopen is part of urllib, but in Python3 it is part of urllib.request. I solved this by the following code: from platform import python_version if python_version()[0] < '3': from urllib import urlope

Re: concurrent.futures vs gevent

2015-08-24 Thread jspicklemire
Some people have tried to make a case that concurrent.futures should be adopted as a replacement wherever greenlet based algorithms are in use. However, my experience is that greenelts combined with concurrent.futures provides significant advantages. In other words, to a degree the two approache

Re: Sandboxing Python

2015-08-24 Thread Ned Batchelder
On Saturday, August 22, 2015 at 11:58:30 PM UTC-4, Laura Creighton wrote: > Ned Batchelder has researched this one quite a bit, see: > > see: http://nedbatchelder.com/blog/201206/eval_really_is_dangerous.html > http://nedbatchelder.com/blog/201302/looking_for_python_3_builtins.html > http://nedbat

Re: Exception AttributeError: "'NoneType' object has no attribute 'population'"

2015-08-24 Thread MRAB
On 2015-08-24 06:49, 344276105 wrote: Hi all, I am a python learner. I encountered a problem when i was testing the following code. What is strange is that if I replace the object name with zhang, the program would be ok. And if I replace the Person.population with self.__class__.population, it w

Re: Is this the way to go with SQLite

2015-08-24 Thread Chris Angelico
On Mon, Aug 24, 2015 at 9:00 PM, Cecil Westerhof wrote: > On Sunday 23 Aug 2015 16:03 CEST, Chris Angelico wrote: > >> On Sun, Aug 23, 2015 at 11:18 PM, Cecil Westerhof wrote: >>> Also an URL is unique, so I need to check that if it is found, the >>> values are the same as the ones I wanted to in

Re: Is this the way to go with SQLite

2015-08-24 Thread Cecil Westerhof
On Sunday 23 Aug 2015 16:03 CEST, Chris Angelico wrote: > On Sun, Aug 23, 2015 at 11:18 PM, Cecil Westerhof wrote: >> Also an URL is unique, so I need to check that if it is found, the >> values are the same as the ones I wanted to insert. > > And if they aren't? Currently, all you do is print ou

Update my Python library

2015-08-24 Thread Cecil Westerhof
I updated my Python library: https://github.com/CecilWesterhof/PythonLibrary/blob/master/utilDecebal.py One of the additions is time_fetchURLs. A function to display the needed time to receive a sequence of URLs from a server. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.

Exception AttributeError: "'NoneType' object has no attribute 'population'"

2015-08-24 Thread 344276105
Hi all, I am a python learner. I encountered a problem when i was testing the following code. What is strange is that if I replace the object name with zhang, the program would be ok. And if I replace the Person.population with self.__class__.population, it will also be ok. So what is the matter