On Mon, Jan 14, 2013 at 6:32 PM, Rick Johnson
wrote:
> I really don't like using two words ("define object", or "def obj") and using
> one single keyword is ambiguous ("object" or "obj"). So the obvious solution
> is to combine the abbreviated words into one compound keyword that will save
> ke
On Monday 1-14-2013 at 12:46 AM, Rick Johnson wrote:
> [...]
> "object":
>
> This is my favorite word however it does suffer a
> "verbial" disconnection. What are we suggesting? A single
> word can be very ambiguous as to intent. However, if we
> couple the word "object" with the word "define" we
On Mon, Jan 14, 2013 at 5:46 PM, Rick Johnson
wrote:
> Dear language designers: Stop propagating such foolish terminology! End the
> infection of "class" in all source code, docs, and daily conversation. Be
> more consistent and logical. Resist temptation to use poor terminology simply
> becaus
On 01/14/2013 01:34 AM, Franck Ditter wrote:
In article ,
Jason Friedman wrote:
That is right; I would also add that it may be overwhelming for a newbie
to be reading through a large "wall of text" -- here you have blank
space after the current paragraph so the attention is focused even more
I have believed for a very long time that "class" was a poor choice of keyword
to designate an "object definition".
Firstly, the word /class/ does not transform smoothly into CS from English. NO
English definition of "class" comes anywhere close to describing the
"structured source code that d
In article ,
Jason Friedman wrote:
> > That is right; I would also add that it may be overwhelming for a newbie
> > to be reading through a large "wall of text" -- here you have blank
> > space after the current paragraph so the attention is focused even more
> > on the last few lines.
> >
> > A
I have solutions manuals to all problems and exercises in these textbooks. To
get one in an electronic format contact me at: kalvinmanual(at)gmail(dot)com
and let me know its title, author and edition. Please this service is NOT free.
SOLUTIONS MANUAL TO A First Course in Differential Equations
On Saturday, January 12, 2013 12:45:03 AM UTC-6, Steven D'Aprano wrote:
> On Fri, 11 Jan 2013 20:34:20 -0800, Rick Johnson wrote:
> > [...]
> So what do you do for, say, os.path? According to the first rule, you
> must write it as os:path because path is a module; according to the
> second rule,
On Sun, 13 Jan 2013 20:01:21 -0800, subhabangalore wrote:
> there are other solution of converting back the matrix to graph should I
> try that?
Yes.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
On Monday, January 14, 2013 6:05:49 AM UTC+5:30, Steven D'Aprano wrote:
> On Sun, 13 Jan 2013 12:05:54 -0800, subhabangalore wrote:
>
>
>
> > Dear Group,
>
> >
>
> > I have two questions, if I take a subseries of the matrix as in
>
> > eigenvalue here, provided I have one graph of the full f
When you write HPC code the GIL isn't an issue, but you'll have plenty of
others.
Craig reporting from the road
10550 N Torrey Pines Rd
La Jolla CA 92037
work: 858 784 9208
cell: 619 623 2233
On Jan 13, 2013, at 6:22 PM, Mark Janssen wrote:
> On Sun, Jan 13, 2013 at 8:19 PM, Oscar Benjamin
>
On Sun, Jan 13, 2013 at 8:37 PM, Oscar Benjamin
wrote:
> On 14 January 2013 02:33, Mark Janssen wrote:
>> Lol, well that's why I'm asking. I don't see how they can do it
>> without considerable difficulties.
>
> What do you want the GIL for across machines? The normal purpose of
> the GIL is to
On 14 January 2013 02:46, Mark Janssen wrote:
> On Sun, Jan 13, 2013 at 8:37 PM, Oscar Benjamin
> wrote:
>> On 14 January 2013 02:33, Mark Janssen wrote:
>>> Lol, well that's why I'm asking. I don't see how they can do it
>>> without considerable difficulties.
>>
>> What do you want the GIL for
On 14 January 2013 02:22, Mark Janssen wrote:
> On Sun, Jan 13, 2013 at 8:19 PM, Oscar Benjamin
> wrote:
>> On 14 January 2013 02:10, Mark Janssen wrote:
>>> Has anyone used python for high-performance computing on Beowulf clusters?
>>
>> Yes.
>
> How did they deal with the Global interpreter lo
On Sun, Jan 13, 2013 at 8:19 PM, Oscar Benjamin
wrote:
> On 14 January 2013 02:10, Mark Janssen wrote:
>> Has anyone used python for high-performance computing on Beowulf clusters?
>
> Yes.
How did they deal with the Global interpreter lock across many machines?
Cheers,
Mark
--
http://mail.py
On Sun, 13 Jan 2013 12:05:54 -0800, subhabangalore wrote:
> Dear Group,
>
> I have two questions, if I take a subseries of the matrix as in
> eigenvalue here, provided I have one graph of the full form in G, how
> may I show it, as if I do the nx.draw(G) it takes only the original
> graph.
Is th
On 13 January 2013 20:05, wrote:
> Dear Group,
>
> I have two questions, if I take a subseries of the matrix as in eigenvalue
> here,
> provided I have one graph of the full form in G, how may I show it, as if I
> do the nx.draw(G) it takes only the original graph.
I'm sorry, but I really don'
On Sun, 13 Jan 2013 15:04:34 -0600, Tony the Tiger wrote:
> On Fri, 11 Jan 2013 09:35:10 -0600, kwakukwatiah wrote:
>
>>
>>
>>
>>
>> def factorial(n):
>
> Right, another html junkie, on windoze, no doubt.
X-Mailer: Microsoft Windows Live Mail 15.4.3508.1109
--
http://mail.python.org/mailm
On Mon, Jan 14, 2013 at 4:56 AM, jkn wrote:
> Hi Dave
>
> On 11 Jan, 15:06, Dave Angel wrote:
>>
>> Not sure what you mean by beforehand. Don't you run all your unit tests
>> before putting each revision of your code into production? So run those
>> tests twice, once on 2.7, and once on 2.4. A
On Mon, Jan 14, 2013 at 7:35 AM, Divya Thakur
wrote:
> raise TemplateDoesNotExist(name)
> TemplateDoesNotExist: 500.html
> [14/Jan/2013 01:08:11] "GET /static/images/products/thumbnails/12345
> HTTP/1.1" 500 59
This sounds like a Django-specific issue. You'll probably get better
results from
In article <72e8aec3-4fa3-44af-aad7-8b32196da...@googlegroups.com>,
Divya Thakur wrote:
> "i want to show image by the help of MEDIA_URL and this is my template file
> code for this
> not working
This is a django-specific question. You would do better to ask on the
django-users mailing li
hello i need help for my ecommerce project ,and here i am facing some problem
here is my
query
"i want to show image by the help of MEDIA_URL and this is my template file
code for this
http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all opera
Dear Group,
I have two questions, if I take a subseries of the matrix as in eigenvalue here,
provided I have one graph of the full form in G, how may I show it, as if I do
the nx.draw(G) it takes only the original graph.
>>> import numpy
>>> import networkx as nx
>>> import matplotlib.pyplot as
Hi!
Thanks, Michael, for your quick - and heplful - reply.
13.01.2013 18:46, Michael Torrie wrote:
You're wrong. curses does offer a direct solution to this. Check the
docs. Also here's a nice intro document for Python 3:
http://docs.python.org/dev/howto/curses.html
You are right :) The do
K. Elo wrote:
> Practically I am looking for something similar than Pascal's
> "keypressed" function
As already mentioned, (n)curses is a good solution.
However, if you need/want to go to lower levels, you can read
/dev/input/event* like this (excerpt from one of my programs):
def opendevs()
Hi,
We are looking for some guidance in installing an upgraded
Python on our cluster. Our cluster was installed with Rocks 6.0,
is running CentOs 6.2, and has python-2.6.6, gcc-4.4.6. We
would like to install an upgraded version of Python along with
the following modules
NumPy
Scipy (which w
Hi Dave
On 11 Jan, 15:06, Dave Angel wrote:
>
> Not sure what you mean by beforehand. Don't you run all your unit tests
> before putting each revision of your code into production? So run those
> tests twice, once on 2.7, and once on 2.4. A unit test that's testing
> code with a ternary operat
On 01/13/2013 07:45 AM, subhabangal...@gmail.com wrote:
Dear Group,
I have a list like,
list1=[1,2,3,4,5,6,7,8,9,10,11,12]
Now, if I want to take a slice of it, I can.
It may be done in,
list2=list1[:3]
print list2
[1, 2, 3]
If I want to iterate the list, I may do as,
for i in list1:
On 13 January 2013 13:57, wrote:
> this is again a newer version, right now the velocity does in fact turn, but
> the view doesn't follow, it keeps the ship vertical.
>
> i'm also having trouble letting the flame appear when pressing the "up" button
>
> and when the ship rotates the horizontal v
On 01/13/2013 09:13 AM, K. Elo wrote:
> I have searched in the Web and in several tutorials (e.g. "Programming
> python"), but this seems to be a tricky one. The 'pyHook' library seems
> to offer a keyboard hook manager, but 'pyHook' is not available for
> linux :( IMHO, the 'curses' library off
On 01/13/2013 09:13 AM, K. Elo wrote:
> I am working on a small console app for linux. The idea is to display
> some sensor values and the screen should update itself in, say, every 10
> seconds.
>
> The user should have the possibly to change some configurations or gwt
> help by pressing diffe
Hi!
I am working on a small console app for linux. The idea is to display
some sensor values and the screen should update itself in, say, every 10
seconds.
The user should have the possibly to change some configurations or gwt
help by pressing different keys (like you can do when running e.g
I need to generate continuous keystroke with python. I have been trying with
the sendkeys module, but the only command it supports is sending discrete
keypresses. But I need a continous keypress, so that the other application
(which in this case is a game which triggers an action only when a key
> That is right; I would also add that it may be overwhelming for a newbie
> to be reading through a large "wall of text" -- here you have blank
> space after the current paragraph so the attention is focused even more
> on the last few lines.
>
> Additionally, since instructions scroll automatical
On 01/13/13 07:48, Boris FELD wrote:
2013/1/13 Tim Chase :
SIZE = 3
for i in range(len(list1)//SICE):
... print list1[i*SIZE:i*SIZE+SIZE]
A little shorter and simpler version:
x = x[1:]
for i in range(0,len(x),SIZE):
... print x[i: i+SIZE]
Doh, I always forget that range() takes
this is again a newer version, right now the velocity does in fact turn, but
the view doesn't follow, it keeps the ship vertical.
i'm also having trouble letting the flame appear when pressing the "up" button
and when the ship rotates the horizontal velocity keeps getting bigger and
bigger
i a
2013/1/13 Tim Chase :
> On 01/13/13 06:45, subhabangal...@gmail.com wrote:
>
SIZE = 3
for i in range(len(list1)//SICE):
> ... print list1[i*SIZE:i*SIZE+SIZE]
> ...
> [1, 2, 3]
> [4, 5, 6]
> [7, 8, 9]
> [10, 11, 12]
>
A little shorter and simpler version:
>>> x = x[1:]
>>> for i in ra
On 01/13/13 06:45, subhabangal...@gmail.com wrote:
Dear Group,
I have a list like,
list1=[1,2,3,4,5,6,7,8,9,10,11,12]
Now, if I want to take a slice of it, I can.
It may be done in,
list2=list1[:3]
print list2
[snip]
Now, I want to combine iterator with a slicing condition like
for i=li
On 01/13/2013 07:45 AM, subhabangal...@gmail.com wrote:
> Dear Group,
>
> I have a list like,
>
list1=[1,2,3,4,5,6,7,8,9,10,11,12]
What version of Python?
> Now, if I want to take a slice of it, I can.
> It may be done in,
list2=list1[:3]
print list2
> [1, 2, 3]
>
> If I want to it
corrected a bit, loop works, gas doesn't work
from visual import *
import time
import math
import random
from datetime import datetime
import operator
class lunar_lander(object):
def __init__(self):
scene.title = 'mini star wars'
scene.width = 375
scene.height = 550
Dear Group,
I have a list like,
>>> list1=[1,2,3,4,5,6,7,8,9,10,11,12]
Now, if I want to take a slice of it, I can.
It may be done in,
>>> list2=list1[:3]
>>> print list2
[1, 2, 3]
If I want to iterate the list, I may do as,
>>> for i in list1:
print "Iterated Value Is:",i
It
sorry for the extremely late reply, i have been very very busy :s
i implemented the solution that was posted in the second to last post. but now
it gets a little confusing because i think a couple terms where deleted that i
refered to in other code blocks, so once again i''l post the full code h
Roy Smith wrote:
> I have a list of items. I need to generate n samples of k unique items
> each. I not only want each sample set to have no repeats, but I also
> want to make sure the sets are disjoint (i.e. no item repeated between
> sets).
>
> random.sample(items, k) will satisfy the first c
43 matches
Mail list logo