I'm pleased to announce the 0.2.1 release of emacs-for-python
*What is emacs-for-python?*
It's a collection of emacs extensions and settings to quickly setup the
editor for python development.
*Main features included:*
- snippets
- pymacs
- ropemacs
- auto-completion
- on the fly
Maybe for the simple sum you can just use the sum builtin:
python -m timeit -s 'sum((10,)*1)'
1000 loops, best of 3: 0.0985 usec per loop
About the loop in general it's a good practice to use list comprehension and
generator expressions
2010/9/2 Michael Kreim
> Hi,
>
> I was comparing
Emacs For Python 0.1
Emacs for python (epy) is a collection of emacs extensions for python
development, yet ready and configured for you.
It includes also tweaks to commonly used extension to provide extra
functionality and fast bug correction. There are also sane configuration
that helps you ge
Emacs For Python 0.1
Emacs for python (epy) is a collection of emacs extensions for python
development, yet ready and configured for you.
It includes also tweaks to commonly used extension to provide extra
functionality and fast bug correction. There are also sane configuration
that helps you ge
Hi, I want to localize my application (a pygtk gui app), what's the best way
to distribute and install localization files?
I'm currently using `distribute` to package it.
Any suggestion?
--
http://mail.python.org/mailman/listinfo/python-list
The print function you're trying to use is for python 3 version only, If you
want to keep reading the book, install python 3, else take a book that
covers python 2.x syntax
2010/6/8 Deadly Dirk
> I am a total beginner with Python. I am reading a book ("The Quick Python
> Book", 2nd edition, by V
I'd really like to s/tkinter/WxWidgets/g, the multiplatformness is (almost)
the same but wx looks infinitely better. IMHO a good intention is to best
the API of wx.
Anyway, GUI programmers usually choose the toolkit (often 3rd party) more
appropriate for the situation, wether it is or not in the st
A module designed to do this is fileinput:
http://docs.python.org/library/fileinput.html
The approach is the same as the other except that it's in the standard
library.
2010/6/5 Paul Rubin
> Steve writes:
> > Remove all comma's
> > Replace all @ with comma's
> > Save as a new file.
>
> The si
I definitvely vote for adding such a package to the stdlib (or at least a
symilar publish/subscrive and observer implementation). It's useful in a
wide range of programs.
2010/6/2 Carl Banks
> On May 26, 4:26 am, Tom wrote:
> > I vote for adding the Python package "pubsub" to the Python standa
I've yet asked this question on SO, I'll copy the contents:
I have a "canonical file structure" like that (I'm giving sensible names
to ease the reading):
mainpack/
__main__.py
__init__.py
- helpers/
__init__.py
path.py
- network/
__init__.py
clientlib.py
serv
10 matches
Mail list logo