Hello,
I have the following situation. In a big project that involves many
dependencies (and sadly some sys.module hacks) we have a bug, and it
will really help if i could monitor all changes made to that variable.
Is there a way to trace those changes ?
--
Hello.
Anyone knows what is the problem with this package? apparently the
author's site is down which prevents pip from installing it. I can
download the zip and go from there but It seems most of the docs are
gone with the site.
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, May 21, 2009 at 3:43 PM, Jorge Vargas jorge.var...@gmail.com wrote:
Hello.
Anyone knows what is the problem with this package? apparently the
author's site is down which prevents pip from installing it. I can
download the zip and go from there but It seems most of the docs are
gone
On Tue, May 6, 2008 at 2:00 AM, sandipm [EMAIL PROTECTED] wrote:
here I would like to have python file which read conf from text file
and load those params in current process space.
so only importing that python file should read up the conf file and
load the current process with
On Tue, May 6, 2008 at 4:33 AM, M.-A. Lemburg [EMAIL PROTECTED] wrote:
On 2008-05-06 01:16, Matimus wrote:
On May 4, 11:35 pm, sandipm [EMAIL PROTECTED] wrote:
Hi,
In my application, I have some configurable information which is used
by different processes. currently I have stored
Dear python users, do you know of a tool like this that is written in python?
http://code.google.com/p/css-redundancy-checker/
in case you where wondering I just don't want to have the ruby
dependency on my python proyects.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Apr 1, 2008 at 6:03 AM, Gabriel Genellina
[EMAIL PROTECTED] wrote:
En Mon, 31 Mar 2008 16:17:39 -0300, Terry Reedy [EMAIL PROTECTED]
escribió:
Bjoern Schliessmann [EMAIL PROTECTED]
wrote
in message news:[EMAIL PROTECTED]
| However, I'm quite sure that when Unicode has
On Sun, Mar 9, 2008 at 9:56 AM, Karlo Lozovina [EMAIL PROTECTED] wrote:
Hi all!
I have a runTest() function inside my module, which sets up and initializes
lots of objects and performs some basic tests on them. Usually (from
IPython) I just write `run my_module.py`, and then `runTest()`.
On Sun, Mar 9, 2008 at 11:07 AM, Karlo Lozovina [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
well after all it's a function so the only ways you can get things out
of it are:
- return a dict with all the objects
- use global (very messy)
- use a decorator to do either of the above
On Wed, Feb 20, 2008 at 12:07 PM, thebjorn
[EMAIL PROTECTED] wrote:
On Feb 20, 3:32 pm, Jorge Vargas [EMAIL PROTECTED] wrote:
On Feb 20, 2008 8:15 AM, Larry Bates [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
I need a data structure that will let me do:
- attribute access
On Wed, Feb 20, 2008 at 7:34 PM, Carl Banks [EMAIL PROTECTED] wrote:
On Feb 20, 8:12 am, Jorge Vargas [EMAIL PROTECTED] wrote:
I need a data structure that will let me do:
- attribute access (or index)
- maintain the order (for iter and print)
- be mutable.
in case
On Thu, Feb 21, 2008 at 2:52 AM, Robert Bossy [EMAIL PROTECTED] wrote:
mkPyVS wrote:
This isn't so optimal but I think accomplishes what you desire to some
extent... I *think* there is some hidden gem in inheriting from dict
or an mapping type that is cleaner than what I've shown below
On Wed, Feb 27, 2008 at 4:16 AM, Robert Rawlins - Think Blue
[EMAIL PROTECTED] wrote:
Hello Chaps,
I'm after some advice on the best way to handle a logging job. Essentially I
have data which I'm looking to log to a webservice, it would make good sense
I think to use something like the
On Tue, Feb 26, 2008 at 11:24 PM, Raj kumar [EMAIL PROTECTED] wrote:
hi,
how to open python api documetation in linux machine?
$ python
import module
help(module|object|whatever)
i think there should be a way to open installed library as a HTML pages.
pydoc -p some port
Thanks in advance.
Hello list, I'm having a little bit of trouble making this all work together.
I have a base class in which I want to define the __repr__ for all
subclasses which in this case will be to output all the __dict__
atributes. Using [1] as reference I have come up with the following
but it has 2
I need a data structure that will let me do:
- attribute access (or index)
- maintain the order (for iter and print)
- be mutable.
in case there isn't one. I was thinking having a base class like Bunch
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308 and on
top of that keeping a
2008/2/20 Jarek Zgoda [EMAIL PROTECTED]:
Jorge Vargas napisał(a):
- attribute access (or index)
- maintain the order (for iter and print)
- be mutable.
These are all attributes of standard Python lists.
probably I confused you with the or index part. I want to be able to
do item.value1
] wrote:
I think you should go for 'dictionary' that is a built-in data
structure of Python.
regards,
Subeen
http://love-python.blogspot.com/
On Feb 20, 7:32 pm, Jorge Vargas [EMAIL PROTECTED] wrote:
2008/2/20 Jarek Zgoda [EMAIL PROTECTED]: Jorge Vargas napisa³(a):
- attribute access
On Feb 20, 2008 8:15 AM, Larry Bates [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
I need a data structure that will let me do:
- attribute access (or index)
- maintain the order (for iter and print)
- be mutable.
in case there isn't one. I was thinking having a base class like Bunch
On 7/1/07, Rustom Mody [EMAIL PROTECTED] wrote:
Yeah sure thats what is (finally) working but its never clear upfront
for a package what its dependency needs are -- linux version of DLL
hell. And it gets worse for systems that are little worlds in
themselves like python, ruby, eclipse, webmin
Hi
I'm having an issue with ctypes loading libraries.
I got the following setup. I have a library (coded by me) that calls a
external library (installed with the package manager), and my ctypes
program calls my lib.
at first python couldn't find my lib but setting LD_LIBRARY_PATH=. fix
that,
Hi I just hit this page in wikipedia BDFL[1]
and it redirected me to Guido's wikipedia[2] entry
now without causing any troubles (read flamewar) shouldn't
a) that page have an explanation of what BDFL is
b) shouldn't it mention Linus, Larry Wall, others?[3]
c) for the ones that have been around
On 2/21/07, Andrew McNamara [EMAIL PROTECTED] wrote:
Hi I just hit this page in wikipedia BDFL[1]
and it redirected me to Guido's wikipedia[2] entry
now without causing any troubles (read flamewar) shouldn't
a) that page have an explanation of what BDFL is
b) shouldn't it mention Linus,
On 2/21/07, Toby A Inkster [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
shouldn't it mention Linus, Larry Wall, others?[3]
Despite the link you posted, I don't think Linus, Larry Wall, Rasmus
Lerdorf, etc describe themselves as BDFLs, even if they fulfil similar
roles within
On 2/21/07, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Wed, 21 Feb 2007 05:28:30 -0300, Andrew McNamara
[EMAIL PROTECTED] escribió:
Hi I just hit this page in wikipedia BDFL[1]
and it redirected me to Guido's wikipedia[2] entry
[1] http://en.wikipedia.org/wiki/BDFL
I suspect, in
On 2/20/07, Brian Blais [EMAIL PROTECTED] wrote:
Hello,
I was wondering if there is a way to run CherryPy/Turbogears on a server that
I don't
have root access to.
I have never run ANY webapp as root. you should follow that advice. in
fact don't run any server as root.
If I just choose a
On 1/6/07, Diez B. Roggisch [EMAIL PROTECTED] wrote:
I'm looking for a tool to take an actual .pdf file and display it in a
window (I'm using wxwidgets at the moment)
No idea if there is a one-shot-kills-them-all solution out there - but
if you have a way to go for windows, you might
On 1/8/07, Chris Mellon [EMAIL PROTECTED] wrote:
On 1/5/07, Jorge Vargas [EMAIL PROTECTED] wrote:
Hi
I'm looking for a tool to take an actual .pdf file and display it in a
window (I'm using wxwidgets at the moment)
I have found several project but none seem to do what I need.
http
Hi
I'm looking for a tool to take an actual .pdf file and display it in a
window (I'm using wxwidgets at the moment)
I have found several project but none seem to do what I need.
http://sourceforge.net/projects/pdfplayground seems like a nice
toolkit to edit pdf files with python code, but
On 14 Dec 2006 16:59:15 -0800, Fuzzyman [EMAIL PROTECTED] wrote:
johnf wrote:
If you search the Help Forum of the MySQLdb project on SourceForge, you
will find a couple of people who have successfully built MySQLdb on
Windows for 2.5, and are willing to share their installers.
On 1/5/07, Chris Mellon [EMAIL PROTECTED] wrote:
I guess this is your opportunity, as someone who thinks that MySQL
support for Python is important, to assist in maintaining and updating
those wrappers, right?
believe me I have tried and in this particular case it's very
complicated the main
On 1/5/07, Stef Mientki [EMAIL PROTECTED] wrote:
if I undestand correctly this is what you want
class pin3:
... def __init__(self,name):
... self.Name = name
... def __str__(self):
... return self.Name
...
pin3()
Traceback (most recent call last):
File stdin,
On 12 Nov 2006 23:50:40 -0800, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi all !
How to remove a logger ?
There si no logging.removeLogger(name) method.
I've a lot of objects that create loging.
why you need a logger per object? IMO 1 per package is more then enough.
When objects are
ok then they are the same lets all go back to write java
--
http://mail.python.org/mailman/listinfo/python-list
On 9 Nov 2006 18:09:37 -0800, John Machin [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
On 9 Nov 2006 16:44:40 -0800, gavino [EMAIL PROTECTED] wrote:
both are interpreted oo langauges..
that is not correct java is compiled and the VM interprets the code
... and what do you think
On 9 Nov 2006 16:44:40 -0800, gavino [EMAIL PROTECTED] wrote:
both are interpreted oo langauges..
that is not correct java is compiled and the VM interprets the code
from the programmers point of view java is a compiled languaje.
python is dynamic typed java is static
python allows
On 7 Nov 2006 21:42:31 -0800, placid [EMAIL PROTECTED] wrote:
Hi All,
Just wondering when i run the following code;
for i in range(100):
print i
the problem of that is that all the memory is used by the list
returned by range which wont be freed until the for loop exits
try this
On 6 Nov 2006 01:33:36 -0800, ArdPy [EMAIL PROTECTED] wrote:
kaushal wrote:
Hi
How do i start Learning Python,is there any reference material which I
can refer since I dont have
any programming experience
Thanks and Regards
Kaushal
Hi kaushal,
Look into
On 4 Nov 2006 14:40:19 -0800, thebjorn
[EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
Hi I know many people here blog so sorry for the OT.
Currently I have a wordpress install and went I wanted to post some
code I notice how painfull it is.
Indeed :-) I'm using the iG:Syntax Hiliter over
On 11/3/06, tobiah [EMAIL PROTECTED] wrote:
Is WSDL the right answer for in house communication
between programs written in different languages, or
is it more for publishing interfaces for use by parties
outside your own company?
at work we use webservices (which is a better name) a lot for
Hi I know many people here blog so sorry for the OT.
Currently I have a wordpress install and went I wanted to post some
code I notice how painfull it is. I'm still in shock that programmers
forgot about posting code on their own engine, but oohh well they are
php :D
anyway I'll like to know
On 11/2/06, Karlo Lozovina [EMAIL PROTECTED] wrote:
Are there any forum or bulletin board systems written entirely in Python?
I got sick of PhpBB, mostly because I can't tweak and fiddle with the
code, since I really don't like PHP and don't know it that well.
I thought of writting my own
On 11/4/06, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
In [EMAIL PROTECTED], Jorge Vargas
wrote:
and please please don't go to corba we need to kill that.
Have you real reasons or is this a religious thing? As I see it Corba is
much better supported by Python libs than SOAP is.
I
On 11/4/06, Steve Holden [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
On 11/4/06, Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote:
In [EMAIL PROTECTED], Jorge Vargas
wrote:
and please please don't go to corba we need to kill that.
Have you real reasons or is this a religious thing
Hi
I need to check if an object is in a list AND keep a reference to the
object I have done it this way but is there a better one?
def inplusplus(value,listObj):
... for i in listObj:
... if i is value:
... return value
... return False
...
l = [1,2,3,4]
Sun's Java tutorial, and went your confortable with it.
Thinking in Java Bruce Eckel
On 8 Oct 2006 15:30:15 -0700, erikcw [EMAIL PROTECTED] wrote:
DiveIntoPython.org was the first book I read on python, and I really
got a lot out of it. I need to start learning Java (to maintain a
project
On 31 Aug 2006 08:24:29 -0700, Adam Jones [EMAIL PROTECTED] wrote:
Jaroslaw Zabiello wrote:
[EMAIL PROTECTED] wrote:
+ SqlObject allows working with the DB tables without
using SQL itself.
Rails has ActiveRecord ORM, which IMO has nicer and simpler
syntax than SQLObject. Rails
On 8/31/06, John Salerno [EMAIL PROTECTED] wrote:
Are there any major differences between these two? It seems they can
both be used with TurboGears, and SQLAlchemy with Django. I'm just
wondering what everyone's preference is, and why, and if there are even
more choices for ORM.
they use two
On 8/31/06, BJörn Lindqvist [EMAIL PROTECTED] wrote:
On 8/31/06, Jorge Vargas [EMAIL PROTECTED] wrote:
On 31 Aug 2006 08:24:29 -0700, Adam Jones [EMAIL PROTECTED] wrote:
I believe that is the most important part of TG, taking the best of
the best, and letting the framework adapt
On 28 Aug 2006 00:01:06 -0700, bobrik [EMAIL PROTECTED] wrote:
Hello,
I am using the Python DB API for access to MySQL. But it is not
platform-independent - I need a module not included in Python by
default - python-mysql, and it uses a compiled binary _mysql.so. So it
is not
On 28 Aug 2006 15:50:57 -0700, John Machin [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
On 8/28/06, Johanna Pfalz [EMAIL PROTECTED] wrote:
To be more specific, I'm interested in reading in certain rows and columns
from an excel spreadsheet directly without converting the information
http://docs.python.org/lib/module-urllib.html
On 28 Aug 2006 14:38:13 -0700, fegge [EMAIL PROTECTED] wrote:
what module should i import?
--
http://mail.python.org/mailman/listinfo/python-list
--
http://mail.python.org/mailman/listinfo/python-list
On 8/28/06, tobiah [EMAIL PROTECTED] wrote:
def foo(thing):
if thing:
return thing + 1
else:
return -1
def foo(thing):
if thing:
return thing + 1
return -1
Obviously both do the same thing. The first is
On 26 Aug 2006 04:07:35 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi folks, I have accomplished to make a python program that make some
image manipulation to bmp files.
I now want to provide this program as a web service. A user can visit a
site and through a web interface he should
On 8/28/06, Johanna Pfalz [EMAIL PROTECTED] wrote:
Hi there,
Does anyone have details on how to drive excel using python 2.4 on OSX?
I've searched the web and have not found anything specific to excel.
drive?
Thanks in advance,
Johanna Pfalz
Smithers, BC
--
On 8/28/06, Fredrik Lundh [EMAIL PROTECTED] wrote:
Duncan Booth wrote:
Yes, the first one is a syntax error because you aren't allowed empty
parentheses in a class statement
however,
$ python
Python 2.5c1 /.../
class foo():
... pass
...
foo
class __main__.foo at 0x00A3D840
On 8/28/06, Fredrik Lundh [EMAIL PROTECTED] wrote:
Jorge Vargas wrote:
seems like a feature/bug of 2.5, why your learning a language with a
beta version?
learning?
I'm sorry I though you where the original poster.
(btw, the c in 2.5c1 means *release candidate*, not beta).
I
on it :)
On 8/28/06 3:00 PM, Jorge Vargas [EMAIL PROTECTED] wrote:
On 8/28/06, Johanna Pfalz [EMAIL PROTECTED] wrote:
Hi there,
Does anyone have details on how to drive excel using python 2.4 on OSX?
I've searched the web and have not found anything specific to excel.
drive
On 28 Aug 2006 20:13:54 -0700, Ray [EMAIL PROTECTED] wrote:
Since I haven't used Python at work, I am using Python 2.5 right now.
However I wonder, how fast are you guys moving from version to version
at work? As an illustration my ex-company just moved to Java 5, which
was released around...
On 8/27/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
First, I don't intend this to be a flame war, please. Python
and Ruby are the only two languages I'd willingly work in
(at least amongst common languages), and TurboGears and
Rails seem roughly equivalent.
I'm much more knowledgable
Hello listI'm not a newbie on python but I'm not an expert either and just found out that code like this gives the above exception. self.db={} self.db[foo]=[1,2] self.db
[bar]=[2,3]I now undestand why this is giving me a problem and I think i'm using the wrong approachfirst of all I'm trying to
Hi everyone I have wasted 2 hours trying to figure out how to get a reference to the module object. that is the one returned by __import__ or when you call a module for name like import sys sys
module 'sys' (built-in)the reason I want this is that I want to introspec my module so I need some way
On 6/23/06, Jorge Vargas [EMAIL PROTECTED] wrote:
Hi everyone I have wasted 2 hours trying to figure out how to get a reference to the module object. that is the one returned by __import__ or when you call a module for name like import sys
sys
module 'sys' (built-in)the reason I want
noone here has try this??On 5/8/06, Jorge Vargas [EMAIL PROTECTED] wrote:
Hi everyone I'm stuck at doing this and can't find the problem, maybe someone with more experience then I compiling python can help me out. I google around and found some old articles, from them the one that seems more
Hi everyone I'm stuck at doing this and can't find the problem, maybe someone with more experience then I compiling python can help me out. I google around and found some old articles, from them the one that seems more accurate is
http://www.vrplumber.com/programming/mstoolkit/of couse I had to
65 matches
Mail list logo