In this situation, the network connection is almost certainly the
bottleneck; maybe CPU speed, if they are drastically different, but
it seems like you're running relatively comparable hardware. RAM is
almost never a *speed* bottleneck, until you start working with
datasets larger than you can ho
On 14/10/11 17:45, Tony Pelletier wrote:
Hi,
I have a question regarding the speed of my program on linux in
comparison to windows.
I'm using geopy and contacting Google for geocodes for records in a csv
I created.
snip...
I mainly use windows, but I tend to use Arch Linux at home...
So,
Is this a thing people would use? I've built this as part of a larger
project.. do you think it'd be worth splitting out and polishing up?
On Oct 14, 2011 3:55 AM, wrote:
Have you thought about writing your own? Others have posted some useful
links, but in all honesty you could hack something t
Thanks everyone.
Well, I've added a timer to the code and I'm running it from my house. I'm
getting the same times here from both laptops which I didn't expect at all.
I guess I'll have to take my linux laptop to work and see what my tests
produce there.
And as an FYI, my windows laptop is actu
Tony Pelletier wrote:
So, my question is. Why is it running so much faster on linux? Is it the
way that linux is handling the socket? Does windows open and close it
whereas linux might leave it open and just pump data through?
Perhaps; you'll have to read the source code to see if there are
Dave Angel wrote:
2) I believe super() is new to new-style classes. In any case the
documentation for it seem to assume new-style.
Yes, super() only works for new style classes.
>>> class Test:
... def method(self):
... super(Test, self).method()
...
>>> t = Test()
>>> t.met
bob gailer wrote:
On 10/14/2011 12:45 PM, Tony Pelletier wrote:
Hi,
I have a question regarding the speed of my program on linux in
comparison to windows.
[snip]
Speed of a pure Python program depends on
* processor speed
* competition for resources from other processes
* perhaps RAM
"
On 10/14/2011 10:17 AM, Rafael Durán Castañeda wrote:
2011/10/14 Max S.
I have seen classes created with 'class Class_Name:' and 'class
Class_Name(object):'. I'm using the latter, just in case it has some sort
of method that could be useful that I don't know about, but *are *there
any methods
On 10/14/2011 12:45 PM, Tony Pelletier wrote:
Hi,
I have a question regarding the speed of my program on linux in
comparison to windows.
[snip]
Speed of a pure Python program depends on
* processor speed
* competition for resources from other processes
* perhaps RAM
A good starting point
On Friday, October 14, 2011 09:45:57 am Tony Pelletier wrote:
> Hi,
>
> I have a question regarding the speed of my program on linux in comparison
> to windows.
>
> I'm using geopy and contacting Google for geocodes for records in a csv I
> created. Like such:
>
> try:
> reader = csv.r
From: tutor-bounces+ramit.prasad=jpmorgan@python.org
[mailto:tutor-bounces+ramit.prasad=jpmorgan@python.org] On Behalf Of Tony
Pelletier
Sent: Friday, October 14, 2011 11:46 AM
To: tutor@python.org
Subject: [Tutor] Windows vs Linux processing speed.
Hi,
I have a question regarding the
Hi,
I have a question regarding the speed of my program on linux in comparison
to windows.
I'm using geopy and contacting Google for geocodes for records in a csv I
created. Like such:
try:
reader = csv.reader(open(filename, "r"))
for row in reader:
if row: # Checki
2011/10/14 Max S.
> I have seen classes created with 'class Class_Name:' and 'class
> Class_Name(object):'. I'm using the latter, just in case it has some sort
> of method that could be useful that I don't know about, but *are *there
> any methods in the 'object' class? And if so, what are they
I have seen classes created with 'class Class_Name:' and 'class
Class_Name(object):'. I'm using the latter, just in case it has some sort
of method that could be useful that I don't know about, but *are *there any
methods in the 'object' class? And if so, what are they?
__
Have you thought about writing your own? Others have posted some useful links,
but in all honesty you could hack something together to achieve that in next to
no time
Bodsda
Sent from my BlackBerry® wireless device
-Original Message-
From: harish bansal
Sender: tutor-bounces+bodsda=go
15 matches
Mail list logo