http://arstechnica.com/open-source/guides/2010/04/tutorial-use-twitters-new-real-time-stream-api-in-python.ars
has some explanations about how to use real-time stream API
eka (Esteban) ekagauranga...@gmail.com writes:
IMO the real time update is your work to do.
You can poll, to say, each
I'm happy to announce easygconf 0.03
Get it at http://www.florian-diesch.de/software/easygconf/
Changes since 0.02:
---
* renamed GConfDict.add_listner() to add_listener()
* fixed bug in GConfDict.from_python() (thanks to Pawn Hearts pawn13 at
gmail.com)
easygconf
noydb jenn.du...@gmail.com writes:
If one has a floating number as a string, is there a spiffy way to
round that string-number UP to the nearest 100?
XstrNmbr = 3579.127893 -- would want to round that to 3600.
math.ceil(3579.127893/100)*100
Florian
--
GUIs programmieren mit Python und
Nico Grubert nicogrub...@gmail.com writes:
Hi there
I have the following list 'mylist' that contains some dictionaries:
mylist = [{'title':'the Fog', 'id':1},
{'title':'The Storm', 'id':2},
{'title':'the bible', 'id':3},
{'title':'The thunder', 'id':4}
Jorgen Grahn grahn+n...@snipabacken.se writes:
Regarding the book's title: is it just me, or are Python programmers
in general put off when people call it scripting?
I won't attempt a strict definition of the term scripting language,
but it seems like non-programmers use it to mean less
Peter vm...@mycircuit.org writes:
What editor do people out there use to edit .rst files for
sphinx-python documentation ?
Emacs with ReST mode and YASnippet
Florian
--
http://www.florian-diesch.de/software/pdfrecycle/
--
http://mail.python.org/mailman/listinfo/python-list
I'm happy to announce easygconf 0.02.
Get it at http://www.florian-diesch.de/software/easygconf
easygconf provids an easy, pythonic way to access GConf
through a dict-like interface.
Example
---
from easygconf import GConfDict
import gtk
key = 'test
Ben Finney ben+pyt...@benfinney.id.au writes:
Olof Bjarnason olof.bjarna...@gmail.com writes:
- any geeks visiting my blog that are non-Ubuntu (i'll just provide
the source code and tell them to apt-get python-pygame)
Note that for several years now the recommended command-line tool for
Robin Becker ro...@reportlab.com writes:
Florian Diesch wrote:
.
From /usr/lib/python2.6/site.py:
,
| For Debian and derivatives, this sys.path is augmented with directories
| for packages distributed within the distribution. Local addons go
| into /usr/local/lib/pythonversion
Robin Becker ro...@reportlab.com writes:
I was surprised a couple of days ago when trying to assist a colleage
with his python setup on a ubuntu 9.04 system.
We built our c-extensions and manually copied them into place, but
site-packages wasn't there. It seems that ubuntu now wants stuff to
I'm happy to announce easygconf 0.01
Get it at http://www.florian-diesch.de/software/easygconf/
easygconf provids an easy, pythonic way to access GConf
http://projects.gnome.org/gconf/ through a dict-like interface.
Example
---
from easygconf import GConfDict
I'm happy to announce pdfrecycle 0.05
Get it at http://www.florian-diesch.de/software/pdfrecycle/
pdfrecycle creates a PDF file by composing pages from other PDF
files. It can add PDF bookmarks and metadata, scale, rotate and crop
pages and put multiple logical pages onto each physical sheet.
I'm pleased to announce Peggy 0.02
Get it at http://www.florian-diesch.de/software/peggy/
What is Peggy?
===
Peggy helps you to create GTK applications that run out-of-the-egg.
It offers functions to load ressources (like .glade files, images, locales)
from a (zipped or
I'm happy to announce xxgamma 0.06
Get it at http://www.florian-diesch.de/software/xxgamma/
xxgamma is an PyGTK based GUI for xgamma which allows you to load,
modify and store multiple gamma correction profiles for XFree86 and
X.org through a GUI and a command line interface.
Version 0.06
I'm pleased to announce Peggy 0.01
Get it at http://www.florian-diesch.de/software/peggy/
Peggy helps you to use resources inside a package, especially
resources used by PyGtk classes, like images or glade files. It works
for zipped eggs or packages just somewhere in sys.path.
Peggy is a thin
I'm happy to announce release 0.02 of firkin
http://www.florian-diesch.de/software/firkin/
What is firkin?
===
firkin is a python module to convert between different measurement
units.
Status
==
firkin is alpha software. So far it seems to work for me but it may
Ricardo Tiago [EMAIL PROTECTED] wrote:
is there a package in python that allows to mount/umount and format
(to ext3) a filesystem? I know that this is possible by just calling
the os commands 'mount/umount and mkfs' but this would imply to have
to change sudoers to run the script as non-root.
John Nagle [EMAIL PROTECTED] wrote:
Perl has CPAN, which is reasonably comprehensive and presents modules
in a uniform way. If you need a common Perl module that's not in the
Perl distro, it's probably in CPAN. Installing a new module can be as
simple as typing perl -MCPAN -e 'install
Jeff Schwab [EMAIL PROTECTED] wrote:
On Feb 12, 2008 1:05 PM, [EMAIL PROTECTED] wrote:
What is dream hardware for the Python interpreter?
Warren Myers wrote:
A Cray?
What are you trying to do? dream hardware is a very wide question.
The only dream hardware I know of is the human brain.
Albert van der Horst [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Russ P. [EMAIL PROTECTED] wrote:
On Jan 23, 7:42 pm, George Sakkis [EMAIL PROTECTED] wrote:
On Jan 23, 8:14 pm, [EMAIL PROTECTED] wrote:
The annual Linux Journal survey is online now for any Linux users who
want
Jorgen Bodde [EMAIL PROTECTED] wrote:
I am trying to make a debian package. I am following the tutorial by
Horst Jens
(http://showmedo.com/videos/video?name=linuxJensMakingDebfromSeriesID=37)
and it is very informative. However one thing my app has and his
doesn't, is multiple python files
Lie [EMAIL PROTECTED] wrote:
# Python have an odd (read: broken) singleton implementation
# single member tuple must have a comma behind it
Otherwise (1+2)+(3+4) would evaluate to (3, 7) instead of 10.
Florian
--
http://www.florian-diesch.de/
abhishek [EMAIL PROTECTED] wrote:
Hi everyone , i am not able to untar python 2.5 source code using
tar -xvzf . Is it a problem with my system settings or python 2.5
itself.
When i tried to do it it resulted in following errors --
tar: Skipping to next header
kirillrd [EMAIL PROTECTED] wrote:
On Nov 20, 4:28 pm, Jens [EMAIL PROTECTED] wrote:
On 20 Nov., 08:19, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
On Mon, 19 Nov 2007 10:50:28 -0800, Jens wrote:
Generating documentation form code is a nice thing, but this pydoc.py
is driving me
farsheed [EMAIL PROTECTED] wrote:
Thanks. But I ask this question technically, I mean I know nothing is
uncrackable and popular softwares are not well protected. But my
software is not that type and I don't want this specific software
popular.
It is some kind of in house tool and I want to
MonkeeSage [EMAIL PROTECTED] wrote:
It seems that I've got a short-circuit somewhere here. I understand
that everything is an object and the the storage/lookup system is
object-agnostic, and that it is only the descriptors (or tags as I
called them generically) that determine how an attribute
Michael M. [EMAIL PROTECTED] wrote:
In Perl, it was:
## Example: Abc | def | ghi | jkl
## - Abc ghi jkl
## Take only the text betewwn the 2nd pipe (=cut the text in the 1st
pipe).
$na =~ s/\ \|(.*?)\ \|(.*?)\ \|/$2/g;
## -- remove [ and ] in text
$na =~ s/\[//g;
Bryan [EMAIL PROTECTED] wrote:
what is a good alternate language to learn? i just want something to
expand my mind and hopefully reduce or delay any chance of
alzheimer's. i would especially like to hear from those of you who
learned python _before_ these languages.
haskell, erlang, ocaml,
Dan Lenski [EMAIL PROTECTED] wrote:
So, is there another toolkit I should be looking at? Having something
that can run easily on Cygwin and native Windows is a priority so that
I can quickly move programs to new measurement computers. I like GTK a
lot and Tk is growing on me too.. are there
Chris Pearl [EMAIL PROTECTED] wrote:
Are there Python tools to help webmasters manage static websites?
I'm talking about regenerating an entire static website - all the HTML
files in their appropriate directories and sub-directories. Each page
has some fixed parts (navigation menu, header,
Hendrik van Rooyen [EMAIL PROTECTED] wrote:
Lawrence D'Oliveiro [EMAIL PROTECTED] wrote:
In message [EMAIL PROTECTED], Hendrik van
Rooyen wrote:
Lawrence D'Oliveiro [EMAIL PROTECTED] wrote:
8
I wonder if we need another
Brandon McGinty [EMAIL PROTECTED] wrote:
I've been learning python for the past couple of months and writing
misc scripts here and there, along with some web apps.
I'm wondering if anyone has ideas of programs I might try my hand at making?
Something I wanted a few days ago: I have a graph
bruno at modulix [EMAIL PROTECTED] wrote:
SamFeltus wrote:
I am trying to figure out why so little web development in Python uses
Flash as a display technology. It seems most Python applications
choose HTML/CSS/JS as the display technology, yet Flash is a far more
powerful and elegant
Thomas Bartkus [EMAIL PROTECTED] wrote:
Grant Edwards [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 2006-05-08, Thomas Bartkus [EMAIL PROTECTED] wrote:
does python support true rations, which means that 1/3 is a
true one-third and not 0.3 rounded off at some
Ryan Ginstrom [EMAIL PROTECTED] wrote:
Behalf Of sturlamolden
If you use PyGTK (it also runs on Windows), you can design
the GUI with
GLADE and then use libglade to import the gui as an xml-resource.
Yes, I've tried something similar with wxGlade. Nice, but it doesn't seem to
remove the
[EMAIL PROTECTED] (Alex Martelli) wrote:
Florian Diesch [EMAIL PROTECTED] wrote:
...
are and want to do it anyway?) Linux puts the whole file system
(including mounted iPods, ISOs and NTFS drives) in one hierarchy.
Yes, but you may still want to distinguish (because, for example
[EMAIL PROTECTED] (Alex Martelli) wrote:
Max [EMAIL PROTECTED] wrote:
BWill wrote:
oh, I wasn't expecting a single solution for both platforms, just some
good solutions
thanks
Are you aware that this idea is somewhat foreign to Linux? (Maybe you
are and want to do it anyway?)
Ravi Teja [EMAIL PROTECTED] writes:
Not to interrupt the valuable lesson with Google :-)
Boa Constructor.
dia and dia2code
Florian
--
Es gibt Leute, die von sich behaupten wenn ich Kaffee trinke, kann ich
nicht schlafen!. Bei mir ist das umgekehrt: Wenn ich schlafe, kann ich
keinen
Tom Bradford [EMAIL PROTECTED] writes:
Let me first say that I'm sure that this subject has come up before,
and so forgive me for beating a dead horse. Secondly, let me say that
Python's strength is its dynamic nature, and I don't believe that it
should ever require a precondition
Fabian Steiner [EMAIL PROTECTED] wrote:
I am currently working on an application where the user is able to
create new worksheets and to delete existing ones. All of these
worksheets have the same structure (-- template?), only some values
should be changed. A minimal example would be
Alan Morgan [EMAIL PROTECTED] wrote:
In article [EMAIL PROTECTED],
Bryan Olson [EMAIL PROTECTED] wrote:
Alan Morgan wrote:
slogging_away wrote:
Hi - I'm running Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310
32 bit (Intel)] on win32, and have a script that makes numerous checks
on
Ernesto [EMAIL PROTECTED] wrote:
NEVERMIND ! Here is the solution...
#
if (os.path.isdir(C:\\MyNewFolder) == 0):
os.mkdir(C:\\MyNewFolder)
# -
Maybe some
J. D. Leach [EMAIL PROTECTED] wrote:
Peter Otten wrote:
You are getting no match rather than the wrong one. Have you verified that
a subdirectory
/usr/share/doc/python-2.4/html/lib
exists on your system? If not, the documentation may not be properly
installed.
I checked it Peter and
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ok, so the function simplifyed without loops:
def renamer(folder, band):
archive = #file to transform
rest = archive[3:]
print band + -,rest.capitalize()
obs: the file names came this way(with spaces or apostrophes) from the
Ben Sizer [EMAIL PROTECTED] wrote:
I don't know if there are any tools that convert UML to Python code,
dia2code http://dia2code.sourceforge.net
Floriaa
--
Einen Troll zu füttern ist das gleiche als würde man einen Haufen
Hundescheisse sehen, absichtlich reinsteigen und sich dann
William Gill [EMAIL PROTECTED] wrote:
Being somewhat new to Python, and having a tendency to over complicate
things in my class design, I was wondering if anyone can suggest a
simple graphical or flowcharting tool that they use to organize their
class and program design? Because of a 55
Wolfgang Keller [EMAIL PROTECTED] wrote:
I'm looking for a spreadsheet application (MacOS X prefered, but
Windows, Linux ar available as well) with support for Python scripting
(third-party plug-ins are ok) and a database interface.
Applications that I know of (that they exist) are:
MS
Michael Hoffman [EMAIL PROTECTED] wrote:
Does anyone have any Emacs skeletons they find useful for Python? I
Googled a little but didn't find anything enticing. I already have a
script that sets up script/module templates, so those aren't all that
useful.
else-mode
linuxfreak [EMAIL PROTECTED] wrote:
Sybren Stuvel wrote:
linuxfreak enlightened us with:
Turns out that libstdc++.so.5 is needed but I checked and i see
that libstdc++.so.6 is installed on my system.
On my system (Ubuntu, based on Debian), I can have multiple versions
of libstdc++
chris [EMAIL PROTECTED] wrote:
I've been scripting with python for a while now. Basically writing a few
functions and running in the ipython shell. That's been very useful. But the
more I do this the more I see that I'm doing more or less the same thing
over and over again. So its feels like I
linuxfreak [EMAIL PROTECTED] wrote:
Got going with python...and i must say its a pretty cool language.
Been using Xemacs to write me programs. But I want an IDE that would
I'm using GNU emacs
give me auto-completion,
Read the manual about tags and abbrevs
Emacs Language Sensitive Editor
Ric Da Force [EMAIL PROTECTED] wrote:
I have a string such as 'C1, C2, C3'. Without assuming that each bit of
text is of fixed size, what is the easiest way to change this list so that
it reads:
'C1, C2 and C3' regardless of the length of the string.
import re
data = the first bit, then
François Pinard [EMAIL PROTECTED] wrote:
Mascyma is (trying to be) a user-friendly graphical frontend for
the Computer Algebra System GNU MAXIMA.
I was not successful googling for this one. Would you have an URL handy?
Oops, OK! Found it at http://cens.ioc.ee/~pearu/misc/maxima/ .
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Does anyone have a good template that I might use for writing a python
paper in latex/bibtex? I've got the paper mostly done, but am having
issues with the references. I am definitely not an expert at
latex/bibtex. Right now, I have references
McBooCzech [EMAIL PROTECTED] wrote:
sorry for bothering you with my comment. From my point of view, the
situation on the IDE (GUI??) development field for Python is really
strange. Just try to imagine the same situation around the Python.
Plenty of different approaches, versions, philosophies
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
But when I enter some Bulgarian (actually cyrillic) text as a string,
it
seems that Python automatically converts it to '\x00..\x00 ' and once
converted that way I can't get it back into its original look. The only
way to get it right is using print
Rahul [EMAIL PROTECTED] wrote:
Well is there an open source computer algebra system written in python
or at least having a python interface?
I know of 2 efforts: pythonica and pyginac...are there any others?
Probably this is usable for you (I never used any of them):
Package: mascyma
57 matches
Mail list logo