7000+ beautiful Russian women
http://groups.google.com/group/all-good-things/web/beautiful-girls-and-ladies
--
http://mail.python.org/mailman/listinfo/python-list
Hello! I’m not sure if this is the right forum, but I am looking for someone
proficient in Python software to update a website.
I will pay well, and work in the Kansas City area. If this is not the correct
way to find someone who can help, do you have any contacts in the Kansas City
area who c
Benji York wrote:
> Robert Brewer wrote:
> > Actually, in this case we most definitely want to test
> > 2.4's "@" syntax. The decorator in question is an aliaser,
> > and therefore is one of the few
> > decorators which must be implemented differently
s on topics which I would not otherwise have read. ;)
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
t=Python
I'm pretty sure you should just email [EMAIL PROTECTED] with your
request.
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
gt;>> print model.person
> >SELECT
> >person.*
> >FROM
> >[person] person
>
> The [bracket] syntax is unique to Microsoft.
> Everyone else, including Microsoft SQL Server,
> uses "double quotes" to protect special characters
> in identifiers.
E
h + 1,
olddate.day)
will roll over any values which are out-of-bounds for their container.
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
SQL Server in SQLObject,
which both frameworks also use:
http://sqlobject.org/SQLObject.html#ms-sql-server
I use bare CherryPy with my own ORM, which handles SQL Server quite
well:
http://projects.amor.org/dejavu
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail
pendency
tools" are distressingly common, and cost more than reinvention?
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
affected, with no interface layer in-between to call list() for you. [I wonder how the PyPy folks feel about "iterators everywhere"...?]
Given my experience with Dejavu, I'd rather not see Python 3000 move to using iterators with abandon. IMO, it fixes a poor interface (iter) for 5%
bdas for (even if I have to
transform Python bytecode into another language to do it at the moment ;).
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
The big issue with leaving this question so generic is that the answers are
legion. So I'll just keep it short and make my own shameless plug: try Cation
for the Web interface and Dejavu for the data layer, both developed by yours
truly. ;) http://www.aminus.org/rbre/python or...
svn://c
. Ditto for closures. A more realistic example:
term = input("Enter the amount to add")
e = expr(x): x + term
...MUCH code passes, maybe even a new process or thread...
d = a + e(3)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
>>> from path import sys
Traceback (most recent call last):
File "", line 1, in ?
ImportError: No module named path
In your example ("from _mechanoid_Common import Common"), import can't
find any module named "_mechanoid_Common" in site-packages, PYTHONPATH,
or other known sources.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
was just talking about @require decorators:
http://blog.ianbicking.org/already-under-our-noses.html
@require(int, int)
def gcd(a, b):
...
If we made a "checker" module for such things in the stdlib, we could
write most of that:
from checker import *
@args((list, itemsno
t;
> Thank you, and please make all answers simple enough to be understood
> by a highschool student and his father :) .
Even after all the IPO hype, the map integration, and the Suggest beta,
Google is STILL your friend:
http://www.google.com/search?q=windows+console+remain+open
In other
You can do this with lambdas with my LambdaDecompiler inside:
http://www.aminus.org/rbre/dejavu/codewalk.py
If you want to extend it to full functions, be my guest. ;)
There's also a commercial decompiler out there called "decompyle", and
they even have a web service. http://www.crazy-co
_get__(self, obj, objtype=None):
if obj is None:
return self# Return whatever you like here
if self.fget is None:
raise AttributeError, "unreadable attribute"
return self.fget(obj)
That might be one way to get what you want.
Robert Brewer
MIS
Amor Ministries
[EMAIL
of startup/shutdown functions
6. Registry of active user interfaces
I think the first three are all good candidates for a standard. If we
had a standard, thread-safe Application object, the rest could be
registerable plugins for that. You'd basically register callbacks for
app.startup an
_getitem__(self, key)
def setdefaultvalue(self, value):
self._default = value
self._call_default = isinstance(value, ftypes)
...or:
def setdefaultvalue(self, value, call_callables=True):
self._default = value
self._call_default = callable(value) and call_callables
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
.
So, you could write WSGI consumers of them, but they wouldn't be
WSGI-specific in my mind. If they were, they'd just add to the "several
systems" you were lamenting... ;)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ng recvall would just duplicate that, I
think. But that's desirable IMO.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
one as a value. The items in a set are unique.
>
> How can I write them efficiently to disk?
got shelve*?
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
* the "shelve" module in the standard library, that is.
--
http://mail.python.org/mailman/listinfo/python-list
Martin MOKREJŠ wrote:
> Robert Brewer wrote:
> > Martin MOKREJŠ wrote:
> >
> >> I have sets.Set() objects having up to 20E20 items,
> >>each is composed of up to 20 characters. Keeping
> >>them in memory on !GB machine put's me quickly into swap.
&g
filename = value.filename
except AttributeError:
filename = None
if filename:
# Store filename, filedata as a tuple.
self.requestParams[key] = (filename, value.value)
else:
for subValue in form.getlist(key):
self.requestParams[key] = su
Simon Wittber wrote:
> Is there a legitimate use for classic classes that I am not aware of?
As was pointed out to me when I asked on this list just a short while
ago ;) classic classes can be faster.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listi
ib/module-os.path.html>.
I suspect you will also want to look at os.walk() eventually:
for root, dirs, files in os.walk(path):
for dir in dirs:
do_something_with(dir)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Brane wrote:
> can someone please give me some info regarding subject
http://sourceforge.net/projects/mysql-python
Ask a broad question...
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ry when records are written to.
Just to clarify, you want shared-read until a write, at which point you
want to lock just the item being written? Or would page or table locking
be acceptable at that point?
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
implementation time. So why bother? That's a horrid trade off
> when there are so many other real gains to be had.
Especially since you can already do it explicitly with Raymond
Hettinger's cookbook recipe:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/277940
Robert Bre
ouple of days, and I'll have version 1.3 ready and
online at http://www.aminus.org/rbre/python -- lots of changes from
1.2.6 which is there now, but at least you can read old docs online now
without svn.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
k? I'm not a Windows guy... :-)
Use ADO unless you need to support older versions of Windows. It'll be a
lot faster and cleaner than ODBC.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
e'
changes that dictionary while you are iterating over it. Try either:
[e for e in vars().keys()]
or
e = None
[e for e in vars()]
or the generator expression if you have Python 2.4.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Leif K-Brooks wrote:
> Robert Brewer wrote:
> > Try svn://casadeamor.com/dejavu/trunk if you want a truly
> Pythonic query
> > syntax. Wait a couple of days, and I'll have version 1.3 ready and
> > online at http://www.aminus.org/rbre/python -- lots of changes from
http://naeblis.cx/rtomayko/2005/01/20/getters-setters-fuxors
"...Many people coming to Python can't believe no one uses IDEs. The
automatic assumption is that Python is for old grey beards who are
comfortable with vi and Emacs and refuse to accept breakthroughs in
programming productivity like IDE
welcomes framework developers. New code for additional
Storage Managers, analysis tools, or other portions will be gladly
reviewed for inclusion in future releases. Drop me an email if you
feel so inclined.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
pdate
> a web-page?
If the file is local:
open(filename, 'w').write(content)
If the file is remote and you need to upload it via ftp, check out the
ftplib module in the standard library, for starters.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
output? Error message?
Does your update affect the membership of the record in the keyset?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/
htm/mdconkeysetcursors.asp
Why are you using keysets at all?
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
lename with the schema, something
like:
"select * from %s.%s;" % (schema, tblName)
It's possible the trailing semicolon is important to close the
statement.
The next thing to check would be permissions.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ltiple connections i have no real
> testing environment, so any advice which one to use for different
> usecases would be nice.
If your "use cases" involve cross-platform development (i.e. Linux and
Windows), pypgsql seems to fit the bill nicely.
Robert Brewer
MIS
Amor Mi
h
> a feature, I just don't know about it?
The feature is called "pychecker", and, although it isn't included in
the standard distribution, it's readily available:
http://pychecker.sourceforge.net/
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ur job depend upon
it. People who study languages merely for "personal growth" learn 50% of
the syntax and 1% of the concepts, and then fritter that learning away
on inconsequential newsgroups the world over.
Alex Z, keep using and learning Python. Let it change your brain.
Robert
Alex Martelli wrote:
>
> Robert Brewer <[EMAIL PROTECTED]> wrote:
>
> > Bah. Nothing teaches you a new language like having your
> job depend upon
> > it. People who study languages merely for "personal growth"
> learn 50% of
> > the syn
ph/thread/20050104.014254.b2978a88.en.html#20050104
.014254.b2978a88
That should hold you until the sprint ;)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
t any function in any module.
The curse is that you can then import any function in any module. ;)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
*my* projects. ;)
One of my goals for Dejavu* (my ORM) is to abstract persistence to the
point that you can easily test your actual, live dataset against many
potential storage mechanisms (i.e. multiple DB's, but also shelve,
etc.). I need to finish the migration tools, but it's well
hip.python.net/crew/theller/py2exe/).
Then use:
net start daemonsvc
net stop daemonsvc
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ruly non-recursive
implementation would probably exist outside of whatever class you've got
this method in, and would keep its own pointer to the current node as it
traversed the tree.
Hope that helps,
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
I overrode loadTestsFromName in a subclass, in order to be less
verbose in exactly the way I wanted, but the default works just as
well).
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
ve, so you can inspect program
variables as you like.
Start with that, and come back if you have any more questions. :)
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
l a great option for you with Apache:
http://www.cherrypy.org/wiki/WSGIServers
http://www.cherrypy.org/wiki/BehindApache
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Paul Boddie wrote:
> "Robert Brewer" <[EMAIL PROTECTED]> wrote in message
> news:<[EMAIL PROTECTED]>...
> > Daniel Bickett wrote:
> > > I neglected to mention an important fact, and that is the
> > > fact that I am limited to Apache,
nfiguration entries are specifiable per-path, so
different portions of your site can use different encoding schemes.
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
the reference
server that comes with wsgiref (which is what they based their WSGI
server on). If there are any licensing or other issues keeping django
from using the CherryPy WSGI server, swing by
irc://irc.oftc.net/cherrypy and we'll get them worked out in a hurry.
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
P code)?
Do you *really* want to reinvent that wheel? ;) I'd suggest you start
with a threaded HTTP server from one of Python's many web frameworks.
Since I hack on CherryPy, I'll link you to its liberally-licensed
PooledThreadServer:
http://www.cherrypy.org/file/trunk/cherrypy/_cpht
tly hoping for was that you'd read up on
CherryPy and discover it already does what you want. ;)
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
cgi.FieldStorage, and override make_file to provide your
own file-like object that you can monitor as its "write" method is
called (see read_binary for the actual upload r/w code). The existing
FieldStorage class places the file size (gleaned from the Content-Length
request header) into sel
2.4, or
3. Is there some better way to optionally test decorators, like using
eval, or
4. other...?
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
See the "expose" function at: http://www.cherrypy.org/file/trunk/cherrypy/__init__.py?rev=654
Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
excel" and no frills; both IE
and Firefox will use Excel to open it. Works wonderfully. Let me know if
you need more details.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Peter Hansen wrote:
> Carl wrote:
> > What is the ultimate version control tool for Python if you
> > are working in a Windows environment?
>
> I never liked coupling the two together like that. Instead
> I use tools like TortoiseCVS or (now) TortoiseSVN with a
> Subversion repository. These t
e = os.path.normpath(os.path.dirname(sys.argv[0]))
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
]
base.create_special_property(C, DateColumn('start_date'))
Slightly off-topic: if you really want to make it pretty, add a custom
descriptor so you can write:
class C(A):
id = IntColumn(primaryKey=1,allowNull=0)
name = TextColumn(allowNull=0,size=50)
description = TextCo
Response)
%>
The only downside is that ASP expects a physical file for every URL, so
you'll either have lots of dumb copies of the stub, or a single
dispatcher (and the ugly URL's you wanted to avoid). With a little
planning, you can have the stubs auto-generated.
Database side: try them all and see which is best with your dataset. ;)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Peter Maas wrote:
> Robert Brewer schrieb:
> >>I'm now confident that it is doable and keen on finding
> out. The usual
> >>question: what is the one and best way to do it? ;)
> >
> >
> > Python ASP (pywin32), but put as little code as possible in
if anyone has recommendations for whose advice
to ignore first. ;) Detailed explanations of your choice would be much
appreciated, of course.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
JRCondon wrote:
> Sean, if you are asking what I think you are asking (I don't
> think name hiding is the issue), you can use
>
> from module_name import *
Sshh! We're obviously going to great lengths to not tell him about
*.
;)
Robert Brewer
MIS
Amor Ministries
[EM
int-checking, which isn't available in
Python.
I ended up writing a daemon (running as root) which simply listens on a
local socket; when it receives any message, it HUPs spamd. Ugly but
effective.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
cess logic.
Now, getting into usability concerns (that framework and library authors tend
to obsess over ;) may be too advanced for your class at the moment. But that's
why recipes are recipes, not standard library modules: they're often biased
toward quick and dirty scripting, not usable, maintainable edifices.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
module
> (database.py
> file) in any PYTHONPATH directory.
>
> Are my observations correct? Is there something I ignored? Should
> this be posted somewhere else?
Short answer: don't use relative imports:
from some_package import database
http://docs.python.org/ref/import.html
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
under OS
> 10.3.8, if any
> of that makes a difference. Nothing there prevents hotshot
> from loading
> a file that's been made without the lineevents=1 argument.)
Sounds like you're hitting a known bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=900092&group_id
=5470&atid=105470
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
se ;):
def is_string(item):
return isinstance(item, basestring)
def flatten(seq, atomic_test = is_string):
...
Perhaps atomic_test could allow a tuple or list of tests and combine
them...?
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
st prize would be to have a datetime constructor that takes a
> DbiDate object as input, in the same way that mx does, but this does
> not seem to exist.
Try:
datetime.datetime.utcfromtimestamp(int(value))
I gave up on dbiDates completely, however, (since their range is so
limited) and use
"after forever"?
>
...
> Apart from that, there might be some hidden "keep this damn
> window open
> after the executed progam terminated"-checkbox. Happy hunting.
http://www.google.com/search?q=windows+console+remain+open
Use the /k switch to cmd.exe
Rob
ike you need
to have a Formatter object added to your Handler:
filename = '/var/log/user/movies2.log'
logFile = logging.handlers.RotatingFileHandler(filename,'a',2000,4)
formatter = logging.Formatter()
logFile.setFormatter(formatter)
...then you can call emit.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
>>> a
'file://C:\\folder1\\folder2\\mydoc1.pdf,file://C\\folderx\\foldery\\myd
oc2.pdf'
Then you can use something like:
>>> re.findall(r"([^\\]*\.[^,]*)(?:,|$)", a)
['mydoc1.pdf', 'mydoc2.pdf']
...or Sean Ross' suggestion about urllib.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
or b. When I define the __add__ method, I have access to self and
> other, whose properties I can change at will, but how do I get a fresh
> instance of the class that I am writing?
self.__class__()
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
count -1
> print ' The average is:', sum/count
Looks good to me (well, I'd write the loop differently, but...). What is
happening that you dislike?
>>> count = sum = 0
>>> number = 1
>>> while number != 0:
... number = input('Enter a nu
nt ' The average is:', sum/count
For the mode, you might build a dictionary:
freq = {}
while number != 0:
number = input ('Enter a number: ')
count = count + 1
sum = sum + number
try:
freq[number] += 1
except KeyError:
freq[number] = 1
...th
Andre Roberge wrote:
> In 1981, Richard Pattis wrote a delightful little book titled "Karel
> the Robot, a Gentle Introduction to the Art of Programming." Pattis's
> "Karel the Robot" was named after the author Karel Capek, who
> popularized the word "robot" in his play "Rossum's Universal Robots".
Josiah Carlson wrote:
> [EMAIL PROTECTED] (Sean McIlroy) wrote:
> >
> > >>> median = lambda x: (max(x)-min(x))/2
>
> That is /not/ the median in the general case.
>
> median = lambda x: x.sort() or x[len(x)//2]
That...is a really sneaky use of null return va
(os paths) and call os.path.normpath before comparing
them.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
7;www.example.com', '/example.html', '',
'url=http://www.example.org/example.html', '')
>>> query = urlparse.urlparse(url)[4]
>>> params = [p.split("=", 1) for p in query.split("&")]
>>> params
[['url', 'http://www.example.org/example.html']]
>>> urlparse.urlparse(params[0][1])
('http', 'www.example.org', '/example.html', '', '', '')
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
that single row from the generator
> without having to use it in a for loop? I want to do
> something like this:
>
> row = obj.ExecSQLQuery(sql, args)[0]
>
> But I'm guessing that you can't index into a generator as if
> it is a list.
row = obj.ExecSQLQuery(sql,
expr % r'oo').findall(s)
> ['Wood', 'Looking']
> >>> re.compile(expr % r'ou').findall(s)
> ['You', 'Yourself', 'Through', 'You', 'Your']
Just make sure you use re.escape, in case your interpolated string has
regex-sensitive chars.
re.compile(expr % re.escape(r'oo')).findall(s)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
minus.org/rbre/tibia/tibia.tba
Subversion: svn://casadeamor.com/tibia/trunk
Help: http://www.aminus.org/rbre/tibia/tibia.html
Demo: http://www.aminus.org/rbre/tibia/demo/tibia.tba
Log in as an admin with iwethey/yammer.
Log in as a guest with guest/guest.
Please don't break my little home web
Gabriel Cooper wrote:
> Robert Brewer wrote:
>
> >[...]
> >Tibia is an in-browser editor for web pages. It allows you to quickly
> >and easily modify the content of your web pages.
> >[...]
> >
> I couldn't get it to work using Firefox on Red Hat Fe
AuthUserFile D:\htdocs\tibia\passwords
Require valid-user
...and then use htpasswd to create the passwords file.
I will look into ways to use Tibia without auth, for intranets, perhaps.
Thanks!
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
. Not sure what
> server they are using this is not in my company.
I've run into this a couple of times. Often, setting the default ASP
language to Python is the trick.
Internet Services Manager->Site->Folder->Properties->Configuration->App
Options->Default ASP Language.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Erik Max Francis wrote:
> Robert Brewer wrote:
>
> > I've Googled extensively, but can't figure out what might
> be causing my
> > Python CGI app to zombie (yes, Tibia, the one I just
> announced ;). The
> > cgi bit looks like this:
>
> Zombies are
ich meant access &
error events weren't being logged, which I *think* caused the children's
parents to wait forever if there was an unhandled exception. I'll be
back if it happens again. ;)
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
though. You might want to make that more clear
in the help file...maybe a one-liner like "Kupu does X, Y, and Z, and
Jalopy adds A, B, and C".
I'm looking forward to your release (with uploads! ;).
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
; you only change to
server mode when you actually load a file from the server.
Numerous other buglets fixed over the weekend. Thanks for the feedback,
all!
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Terry Reedy wrote:
> "Petr Prikryl" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
> >Summary: In my opinion, the C-like prefix
> >increment and decrement operators (++i and --i)
>
> You could propose to the author of Pychecker that he include,
> if possible, an option to check
v.1200 32 bit (Intel)]
on win32.
>>> import re
>>> s = "abbababbabbaaa"
>>> i[0] = -1
>>> def sub(match):
... i[0] += 1
... return str(i[0])
...
>>> re.sub("b", sub, s)
'a01a2a34a56aaa'
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
cs.python.org/lib/built-in-funcs.html
Otherwise, you'll have to explain a bit more--that's my best guess as to
what your issue is.
Robert Brewer
MIS
Amor Ministries
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
red.
Dejavu welcomes your use and feedback as an application developer.
Dejavu also welcomes framework developers. New code for additional
Storage Managers, analysis tools, will be gladly reviewed for inclusion
in future releases. Drop me an email if you feel so inclined.
Robert Brewer
MIS
Am
James Stroud wrote:
> The thread "why not arrays" got me thinking. I would really
> like to inherit
> from a list so that I can add methods based on its contents,
> say if I filled
> it with a type of object and wanted to iterate over all
> objects. I have built
> a wrapper around a list like
#x27;m naively guessing you've got a typo. Feel free to
correct me. ;)
>>> class struct(object):
... def __init__(self, **kwargs):
... self.__dict__.update(kwargs)
...
>>> var = "varA"
>>> obj = struct(**{str(var): "Hello&qu
Chris Lasher wrote:
> That's odd that there's no built-in method to do this. It seems like
> it would be a common task. Is there any way to request a feature like
> this from the RE module keepers, whomever they may be?
The best way to request such a feature would be to write a patch. ;)
FuManCh
1 - 100 of 131 matches
Mail list logo