The default one works for almost all purposes. If you are feeling
adventurous, try ipython
-jeff
On Nov 20, 2014 9:49 AM, narayan naik narayannaik...@gmail.com wrote:
Ya, am talking the same
On 19 Nov 2014 18:49, Martin Anto info.martina...@gmail.com wrote:
Simulator??
You mean
I agree with almost all of it, except for these 2.
1. No HTML emails
2. No attachments.
These are surely relics from the past. I dont see any reason why these need
to be valid anymore. If your answer to this is my favorite ncurses client
cant read it it doesnt count.
-jeff
On Mon, Aug 4, 2014
On Mon, Aug 4, 2014 at 8:13 PM, Anand Chitipothu anandol...@gmail.com
wrote:
On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV nou...@nibrahim.net.in
wrote:
On Mon, Aug 04 2014, Jeffrey Jose wrote:
I agree with almost all of it, except for these 2.
1. No HTML emails
I don't like
On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV nou...@nibrahim.net.in
wrote:
On Mon, Aug 04 2014, Jeffrey Jose wrote:
I agree with almost all of it, except for these 2.
1. No HTML emails
I don't like HTML emails because usual textual matter doesn't need
it. It simply bloats things
On Mon, Aug 4, 2014 at 8:13 PM, Anand Chitipothu anandol...@gmail.com
wrote:
On Mon, Aug 4, 2014 at 2:23 PM, Noufal Ibrahim KV nou...@nibrahim.net.in
wrote:
On Mon, Aug 04 2014, Jeffrey Jose wrote:
I agree with almost all of it, except for these 2.
1. No HTML emails
I don't like
At the risk of giving a non-issue more visibility, we’re being extremely
silly here. I went through the emails here and I dont find anything
offensive or sarcastic or twisted in any of the replies. I do however find
2 things odd though.
- Senthil’s original reply of *I looked and found it*
Ha, I stand corrected. Senthil's reponse did contain everything the
original poster wanted. Now I'm not sure what everyone's upset about.
On Thu, May 22, 2014 at 3:45 PM, Jeffrey Jose jeffjosej...@gmail.comwrote:
At the risk of giving a non-issue more visibility, we’re being extremely
silly
I've played around with Twisted enough to not recommend it to someone
unless they know what they are doing. The learning curve is pretty steep,
and it's hard to wrap your head around the callback paradigm. It's super
powerful once you get past growing pains, which as I mentioned is super
On Sat, Sep 14, 2013 at 4:55 PM, Noufal Ibrahim nou...@nibrahim.net.inwrote:
Balachandran Sivakumar benignb...@gmail.com writes:
[...]
It is not a strong preference. It is something that a
lot of us are used to, and so I assume people are fine with it and
hence status quo
Except that when it breaks sentences at places
completely random like this with a hanging
word
Do people have strong preference with 80chars? What would it take to try
out full-width for sometime?
On Fri, Sep 13, 2013 at 4:59 PM, Balachandran Sivakumar
benignb...@gmail.com wrote:
Hi,
On
On Wed, Sep 11, 2013 at 9:02 PM, Vardhan Varma vardhanva...@gmail.comwrote:
On Wed, Sep 11, 2013 at 8:42 PM, Pranjal Mittal
pranjal.mittal.ec...@iitbhu.ac.in wrote:
Here you go-
import socket
socket.gethostbyaddr(socket.gethostname())[2]
On Wed, Sep 11, 2013 at 8:16 PM, ashish
On Tue, Sep 10, 2013 at 11:10 AM, Bibhas m...@bibhas.in wrote:
Only the scripts that have been imported somewhere. Right?
Not necessarily -
import py_compile
py_compile.compile
Byte-compile one Python source file to Python bytecode.
Arguments:
file:source filename
I disagree.
I haven't read the article but it looks like it talks about very specific
behavior in the python community which we are all part of.
-jeff
On Mar 23, 2013 3:01 PM, Gora Mohanty g...@mimirtech.com wrote:
On 23 March 2013 14:49, Nitin Kumar nitin.n...@gmail.com wrote:
Thought to
just refrain rather that topic
than making issue.
Nitin K
On Mar 23, 2013 3:14 PM, Gora Mohanty g...@mimirtech.com wrote:
On 23 March 2013 15:08, Jeffrey Jose jeffjosej...@gmail.com wrote:
I disagree.
I haven't read the article but it looks like it talks about very
specific
On Wed, Jan 9, 2013 at 1:43 PM, Anand Chitipothu anandol...@gmail.comwrote:
[[x for x in a if x%i == 0] for i in [2, 3]]
oh thats smart.
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
On Aug 15, 2011 3:02 PM, Asif Jamadar asif.jama...@rezayat.net wrote:
charges = [(c.company_name)
for c in
ReportModel.objects.values('company_name').distinct()]
but it throws this error: 'dict' object has no attribute 'company_name'
any suggestions?
dict attribute
Its kinda true that noSQL started as 'death to everything that's SQL'. As
things got matured people realized noSQL is not a replacement but another
tool in developers toolbox to solve problems.
And that's the reason some people dont ever use the term 'noSQL' because it
sounds like 'No SQL' and if
IIRC, most of the backend of youtube is written in python (unladen swallow
?)
/jeff
On Wed, Dec 1, 2010 at 7:36 PM, Noufal Ibrahim nou...@gmail.com wrote:
On Wed, Dec 01 2010, Baishampayan Ghose wrote:
one that I know of is flickr. About the power of the language there are
others on this
On Sun, Oct 3, 2010 at 9:28 AM, Gopalakrishnan Subramani
gopalakrishnan.subram...@gmail.com wrote:
If you want to be too smart, Emacs is the best one for all your typing
need.
It works well on Windows/Macs/Linux/Unix operating system.
pymacs enable you to detect the basic python related
On Thu, Aug 19, 2010 at 10:31 AM, Sahasranaman MS sah...@naman.ms wrote:
On Thursday 19 August 2010 07:08 AM, Kenneth Gonsalves wrote:
On Wed, 2010-08-18 at 10:28 -0700, Anand Shankar wrote:
I have no clues. Any inputs??
sort order of dictionary keys is not guaranteed. Only a list will
On Thu, Aug 19, 2010 at 10:26 AM, Dipo Elegbede delegb...@dudupay.comwrote:
Hi All,
There really shouldn't be so much debate on the question asked.
Someone actually gave a direct and clear answer. I'm new at python and
his explanations were quite understandable.
I'm sorry that you sensed a
Excellent responses so far.
Dictionaries are optimized for retrieving key/value pairs. And to achieve
that, it compromises on the order in which stuff is stored.
This and more is very nicely presented in the Pycon 2010 talk - The Mighty
Dictionary. Highly recommended.
I don't think it'd help. It's a shell builtin without a man page of it's
own. You'd either have to do man bash or help source
wont `man builtin` take you to `man bash` (man tcsh, in my case)
automatically?
--
___
BangPypers mailing list
via:
http://www.europython.eu/blog/announcements/talk-videos-from-ep2010-published/
and videos are here.
http://europythonvideos.blip.tv/
enjoy!
/jeff
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers
On Thu, Jul 29, 2010 at 6:34 PM, Anand Balachandran Pillai
abpil...@gmail.com wrote:
On Thu, Jul 29, 2010 at 5:33 PM, Mahadevan R mdevan.foo...@gmail.com
wrote:
On Thu, Jul 29, 2010 at 4:24 PM, Nitin Kumar nitin.n...@gmail.com
wrote:
fine, but isn't there any way to hide few function of
On Thu, Jul 29, 2010 at 3:13 PM, Mehndi, Sibtey
sibtey.meh...@genpact.comwrote:
Nitin,
del can only remove the elements present in the instance
dictionary. If you check self.__dict__ then it shows that A is not in the
dictionary only 'a' and 'b' exist in the dict that's why it is
. The purpose is 2 fold,
1. You'll get more eyeballs - more quality responses.
2. We can document it more formally so that someone later on can browse mail
archives.
/jeff
On Sat, Jul 31, 2010 at 11:57 PM, Jeffrey Jose jeffjosej...@gmail.com
wrote:
On Thu, Jul 29, 2010 at 3:13 PM, Mehndi, Sibtey
As a person whos new to the whole scene, when you say Hacksessions what
is it exactly ?
And what happens in a Hacksession?
/jeff
On Thu, Jul 22, 2010 at 8:17 PM, Zubin Mithra zubin.mit...@gmail.comwrote:
Hey everyone,
I could'nt find any info on whether or not hack sessions are going to
On Wed, Jul 28, 2010 at 1:01 PM, Anand Balachandran Pillai
abpil...@gmail.com wrote:
On Tue, Jul 27, 2010 at 7:03 PM, Vikram K kpguy1...@gmail.com wrote:
Suppose i have this nested list:
x
[['NM100', 3, 4, 5, 6, 7], ['NM100', 10, 11, 12, 13], ['NM200', 15, 16,
17]]
for i in x:
List comprehensions are preferred to map and filter functions.In fact,
filter is a syntactic sugar to list comprehension.
You're right in saying list comprehensions are preferred to map and filter -
not just from a readability standpoint but also from a performance
standpoint. (we all hate
Follow up reading.
Python 2.7 released (and what that means) -
http://sayspy.blogspot.com/2010/07/python-27-released-and-what-that-means.html
/jeff
On Tue, Jul 6, 2010 at 9:44 AM, Senthil Kumaran orsent...@gmail.com wrote:
On Sun, Jul 04, 2010 at 10:34:57AM -0500, Benjamin Peterson wrote:
[OFFTOPIC]
%s/corporate/enterprise/g
FTFY.
/jeff
On Sun, Jun 27, 2010 at 10:56 AM, Kenneth Gonsalves law...@au-kbc.orgwrote:
On Saturday 26 June 2010 21:02:52 shameek ghosh wrote:
Well...Although I have not done this much, but I believe a modelling
tool
like UML helps when you show
2 methods spring to my mind, first one is what Nitin Kumar has already
mentioned. Looping over a list of tuples. Make sure you have a sorted list
first.
a.sort()
for key, value in a:
if key == cat:
break
# now value is 2
The second method is a little fancy, mentioning it here for the sake
*I'm still waiting* to get that page open.
On Tue, Jun 15, 2010 at 10:28 AM, Senthil Kumaran orsent...@gmail.comwrote:
On Tue, Jun 15, 2010 at 09:46:14AM +0530, Srinivas Reddy Thatiparthy wrote:
point your browser to www://docs.python.org.
Just a fun nit-pick. Seems to be a fun protocol
Correct me if I'm wrong but tab-completion doesn't work out of the box for
standard python interpreter.
On Mon, May 31, 2010 at 11:05 AM, Noufal Ibrahim nou...@gmail.com wrote:
On Mon, May 31, 2010 at 8:32 AM, Jeffrey Jose jeffjosej...@gmail.com
wrote:
Dear Murugadoss,
If you're starting
For UI design, I
1. Start off with pen and paper, quickly mock up several designs and
interaction patterns
2. Proceed onto Photoshop/Illustrator to get a feel of how things would
look at the end.
Repeat 1 and 2 over and over
Once I'm ok with a design, I proceed to the next phase, probably
Let me state at the outset that I have no idea what Harvestman is or what
you're trying to acheieve.
Looking at the stacktrace, I'll give you some pointers as to what I'd do if
I had got this error.
1. File
that's great. I'm sure he'll have better input.
On Sun, May 30, 2010 at 10:27 PM, Ramdas S ram...@gmail.com wrote:
On Sun, May 30, 2010 at 10:23 PM, Jeffrey Jose jeffjosej...@gmail.com
wrote:
Let me state at the outset that I have no idea what Harvestman is or what
FYI Author
Dear Murugadoss,
If you're starting out Python, I highly recommend IPython (
http://ipython.scipy.org/moin/ ). With its excellent tab completion, you
would never run into an AttributeError
/jeff
On Mon, May 31, 2010 at 7:30 AM, Roshan Mathews rmath...@gmail.com wrote:
On Mon, May 31, 2010
Forgive if I sound rude, but whenever I see replies like lots of this and
lots of that I get a feeling that you dont really know what you're going to
do.
I admire the fact that you want to use the _best_ in the business but you
should be mature enough to understand that however good something
ah, DreamWeaver. Good old days.
On Sat, May 1, 2010 at 11:57 PM, Kenneth Gonsalves law...@au-kbc.orgwrote:
On Saturday 01 May 2010 11:34:40 pm kausikram krishnasayee wrote:
python cgi is better - and zope rocks
zope3 rocks. correction.
but the best framework that is miles ahead of
I second suggestion of jQuery. I've had fantastic results with jQuery so I
can totally recommend that. Also I remember reading about django and jQuery
integration a while back - althou' I never really tried that myself.
If you happen to choose django (and jQuery without any second thoughts for
Good catch.
On Mon, Mar 15, 2010 at 2:14 PM, Roshan Mathews rmath...@gmail.com wrote:
On Mon, Mar 15, 2010 at 13:54, Kenneth Gonsalves law...@au-kbc.org
wrote:
for child in children:
getaccbal(child.id,bal)
This line returns a balance which is discarded. Maybe it
I remember a while ago we were talking about python shells. I came across
this. http://dreampie.sourceforge.net/
Note: I havent given it a try. Just sharing it incase someone finds it
useful. Share with us your thoughts if you do.
From the website
DreamPie is a Python shell which is designed to
filter, map (reduce, any, all) come from the world of Functional
Programming. For that matter list comprehension was borrowed from FP
(haskell).
I wont attempt to compare them as they cater to different needs. Yes, they
overlap in certain areas but I'd like to think of them as seperate assets
[ caution, huge email follows ]
Hey Senthil,
I was under the impression that everyone here used and loved IPython. Boy,
was I wrong.
I wont attempt to convince you folks why you should use IPython, but here a
few features that I love in IPython which are not there (or not very
obvious) in
Not quite long ago, I wrote,
You loose all capabilities of pdb when you're in IPython (there's a
solution, i'll get to that later)
Its called ipdb. IPythonised pdb. I havent used it to recommend it. I'm
happy with the solution that I have right now for debugging and writing
code.
Read more about
but I prefer it over Ipython.
On Sat, Feb 6, 2010 at 7:45 PM, Jeffrey Jose jeffjosej...@gmail.com
wrote:
[ caution, huge email follows ]
Hey Senthil,
I was under the impression that everyone here used and loved IPython.
Boy,
was I wrong.
I wont attempt to convince you folks why you
, Noufal Ibrahim nou...@gmail.com wrote:
I'd recommend that you use standard email quotations. It makes for
better reading rather than the * notation that you've used to reply to
Senthil's mail.
On Sat, Feb 6, 2010 at 7:45 PM, Jeffrey Jose jeffjosej...@gmail.com
wrote:
[ caution, huge email
Hi Anand,
I can talk a lil bit about your 2 queries. Debugging and seeing the flow of
the program.
*A. Debugging*
Surprisingly both of them come under the same banner. One of the reasons you
debug is to see how the code progresses. For debugging I highly recommend
Python Debugger. It would look
Do you folks upload the presentation/audio/video somewhere? I am much
interested in the buildbot talks.
-srid
On Tue, Jan 19, 2010 at 10:37 PM, Jeffrey Jose jeffjosej...@gmail.com
wrote:
Unfortunately I wont be able to attend, @Baiju, will you be making your
talk
available online?
I am
+1 for both Byte of Python and Dive into Python
Also, Python CookBook
Once you've familiarised with the language (I didnt say mastered it) hit
video.google.com for some excellent Google Tech Talks in the field of python
including Python Giants like Alex Martelli
I've also found
52 matches
Mail list logo