On 21 Apr, 00:54, Dan Bishop [EMAIL PROTECTED] wrote:
We wouldn't even need that. Just a new source encoding. Then we
could write:
# -*- coding: end-block -*-
[...]
Someone at EuroPython 2007 did a lightning talk showing working code
which provided C-style block structuring using this
On 21 Apr, 16:51, Ville M. Vainio [EMAIL PROTECTED] wrote:
Wouldn't it be more convenient to provide syntax like this:
@task(create_build_folder)
@depend(dep1 some_other_dep)
def buildf():
buildFolder = jsPath + build
create_folder(buildFolder)
I'd want to make the grunt work a bit
On 16 Apr, 15:16, Marco Mariani [EMAIL PROTECTED] wrote:
Do you mean Ruby's track in providing backward compatibility is better
than Python's?
Googling for that a bit, I would reckon otherwise.
So would I, but then it isn't the Ruby developers that are *promising*
to break backward
On 2 Apr, 15:50, Aaron Watters [EMAIL PROTECTED] wrote:
[Quoting hdante]
Seriously, you'll forget there's a relational database below. (there
are even intefaces for relational lists, trees, etc.)
My experience with this sort of thing is that it is a bit
like morphine. It can feel
On 3 Apr, 06:59, Benjamin [EMAIL PROTECTED] wrote:
I'm trying to parse an HTML file. I want to retrieve all of the text
inside a certain tag that I find with XPath. The DOM seems to make
this available with the innerHTML element, but I haven't found a way
to do it in Python.
With libxml2dom
On 31 Mar, 09:36, Duncan Booth [EMAIL PROTECTED] wrote:
I don't have a printed copy, but Google Books has it (not sure which
edition I found) and page xix says:
Given the nature of the cookbook, we wanted the recipes to be usable under
any circumstances where Python could be used. In other
On 29 Mar, 20:24, DS [EMAIL PROTECTED] wrote:
I'm pretty sure this is the wrong place to ask, but I'm hoping someone
will point me in the right direction.
I'm getting ready to publish a first open-source project written in
python. I am planning to use GPLas the license. However, in my code,
On 30 Mar, 01:09, Sam the Cat [EMAIL PROTECTED] wrote:
Is there a package that would allow me the same or similar functionality for
modifying html code via the DOM model as I have in JavaScript ? I'd like to
parse an html file, then modify it and save the result.
You could try libxml2dom
Earlier this year, the organisers of EuroPython (the annual European
Python community conference) decided it was time to update the
conference logo: the current logo has been in use since EuroPython
began back in 2002. We asked for and received many great submissions
for a new logo, and we've made
On 27 Mar, 15:19, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[Psyco maintenance and further development]
Nope, but I heard through the grapevine that while it won't be supported for
all times to come, a new version is in the making.
But ultimately, the author says that the approach is
On 21 Mar, 01:43, Simon Forman [EMAIL PROTECTED] wrote:
I've been thinking of volunteering to port Tkinter to Python 3.0, I
hadn't noticed that there was any discussion of removing it.
That's because the forum for discussing these things wasn't mentioned
on comp.lang.python until two days ago.
On 19 Mar, 16:27, Diez B. Roggisch [EMAIL PROTECTED] wrote:
william tanksley wrote:
I want to parse my iTunes Library xml. All was well, until I unplugged
and left for the train (where I get most of my personal projects
done). All of a sudden, I discovered that apparently the presence of a
On 17 Mar, 02:39, BJörn Lindqvist [EMAIL PROTECTED] wrote:
I haven't been to EuroPython even when it has been fairly nearby
because the entrance fee was to high. But how do you help change
something like that?
You could join in and make your case. There was a more protracted
discussion than
On 17 Mar, 01:09, [EMAIL PROTECTED] (Aahz) wrote:
PyCon is what YOU make of it. If you want to change PyCon, propose a
presentation or join the conference committee (concom) -- the latter only
requires signing up for the pycon-organizers mailing list.
This doesn't mean that we are
This year, the EuroPython conference will take up residence for the
second time in Vilnius, Lithuania with the main programme of talks and
events taking place on Monday 7th, Tuesday 8th and Wednesday 9th July,
and with sprints continuing after the main programme until and
including Saturday 12th
On 4 Mar, 09:22, 甜瓜 [EMAIL PROTECTED] wrote:
This is a big problem puzzles me for a long time. The core question is:
How to dynamically create methods on a class or an instance?
Let me state it step by step.
1.
def gunc(self):
pass
class A(object):
def func(self):
On 2 Mar, 10:02, Kay Schluehr [EMAIL PROTECTED] wrote:
On 2 Mrz., 06:53, Ben Finney [EMAIL PROTECTED]
wrote:
One of the stated goals of the migration is that the '2to3' program
will only migrate Python 2.6 code - Python 3.0 code.
Yes, I know. Why?
The master said so isn't an entirely
On 2 Mar, 19:06, Alan Isaac [EMAIL PROTECTED] wrote:
On April 12th, 2007 at 10:05 PM Alan Isaac wrote:
The avoidance of tuples, so carefully defended in other
terms, is often rooted (I claim) in habits formed from
need for list methods like ``index`` and ``count``.
Indeed, I predict that
On 28 Feb, 21:08, Benoit [EMAIL PROTECTED] wrote:
Forgive my language concerning C++ as its turned the thread into
something I did not intend. I merely wished to point out that Python
was easier for me to learn than C++. To Schwab, its likely that Mark
Lutz is simply a better instructor than
On 25 Feb, 19:44, Nicola Musatti [EMAIL PROTECTED] wrote:
Witness the kind of
libraries/framework that used to and still come with some commercial C+
+ implementation, and even some free/open source ones; Boost, ACE and
wxWidgets are the first that
On 24 Feb, 22:14, Stefan Behnel [EMAIL PROTECTED] wrote:
It likely tries to load the DTD in the background, which requires network
access.
http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic
This is principally concerned with the standard library XML modules,
not
On 24 Feb, 14:33, Tamer Higazi [EMAIL PROTECTED] wrote:
Not true! you can disassemble the app and then have fun reading, not
that easy. I simply want that nobody reads the sourcecode or better
said the content of the python files I would have generated.
Some quick answers:
On 22 Feb, 06:37, George Sakkis [EMAIL PROTECTED] wrote:
Paul Rubin wrote:
It just seems to me that there is a killer language just around the
corner, with Python's ease-of-use but with a serious compile-time type
system, maybe some kind of cross between ML and Python.
Could Boo or Cobra
On 21 Feb, 13:04, [EMAIL PROTECTED] wrote:
re DLing source
As a solution to the problem of wanting a program on my computer, it
sucks.
It doesn't suck if you're just installing one program, but if there
are a lot of dependencies it can quickly suck, yes. Even with systems
that
On 21 Feb, 16:37, Nicola Musatti [EMAIL PROTECTED] wrote:
While attempting to dereference a null reference is a rather common
mistake in languages such as Java and C# - I'm not sure about Python -
the one invaluable guarantee provided by the garbage collector is the
absence of *invalid*
On 21 Feb, 18:28, John Nagle [EMAIL PROTECTED] wrote:
Why? It's not very difficult. Get a parser for LALR(1) grammars,
like YACC or Bison, write a tokenizer that understands Python indentation,
hook up a dictionary, and parse the thing into a tree. This is all
covered in Compilers
On 21 Feb, 19:22, Nicola Musatti [EMAIL PROTECTED] wrote:
On Feb 21, 6:31 pm, Paul Boddie [EMAIL PROTECTED] wrote:
[...]
The main reason why C++ has declined in usage is because almost
everything of practical value is optional.
The main reason why C++ has declined in usage is because
On 20 Feb, 09:32, Paul McGuire [EMAIL PROTECTED] wrote:
I use epydoc for pyparsing, and I really like the results. Just make
sure that importing your modules doesn't really do anything
substantial (like connect to db's, or run unit tests that run for
hours); epydoc imports your code and then
On 19 Feb, 16:59, Paul Watson [EMAIL PROTECTED] wrote:
Have I offended? My apologies if I have. I thought I showed that I had
done some homework and used Google and did the other things to show that
I was willing to put forth some effort. Please tell me if I have missed
something. If I
On 18 Feb, 16:39, [EMAIL PROTECTED] wrote:
Paul Boddie wrote:
Here's one page which probably tells you stuff you already know:
http://wiki.python.org/moin/BeginnersGuide/Download
Thank you! It says I need Python (which I've got) and the Python-devel
package, which sounds like it might
On 17 Feb, 20:38, [EMAIL PROTECTED] wrote:
I went to Python.org, DL'd Python 2.5 source code per the usual
inadequate instructions and ran the make files successfully (sort of).
Python 2.5 works fine. But from Tkinter import * gets a What's
Tkinter? message. IDLE's no where to be found.
It
Paul Boddie added the comment:
(Andrew, thanks for making a bug, and apologies for not reporting this
in a timely fashion.)
Although an in-memory caching solution might seem to be sufficient, if
one considers things like CGI programs, it's clear that such programs
aren't going to benefit from
On 12 Feb, 10:50, chartsoft [EMAIL PROTECTED] wrote:
I am a teacher and need to set up a computer with a bluetooth dongle
to poll for mobile phones with bluetooth switched on in the area then
send them a jpg file.
I guess you'd use OBEX to send the file, specifically using the push
mode of
On 8 Feb, 08:16, Arnaud Delobelle [EMAIL PROTECTED] wrote:
[snip more interesting considerations about compiling python]
Please get back on topic. This discussion is about parsecs and
wookies now.
Yes, it's like the lower-value parts of Wikipedia have spilled out
onto Usenet. ;-)
But I
On 7 Feb, 08:52, Frank Aune [EMAIL PROTECTED] wrote:
On Wednesday 06 February 2008 16:16:45 Paul Boddie wrote:
Really, the rule is this: always (where the circumstances described
above apply) make sure that you terminate a transaction before
attempting to read committed, updated data
On 7 Feb, 14:29, Steve Holden [EMAIL PROTECTED] wrote:
That's true, and your remarks clarify cursor usage in the DB API very
well. Most people most of the time tend to ignore the existence of
cursor.fetchmany() in the DB API, despite the fact that it can provide
huge efficiency gains over
On 6 Feb, 16:04, Frank Aune [EMAIL PROTECTED] wrote:
Whenever I did a SELECT() on the first connection, the cursor would
stop seeing new entries commited in the log table by the other connection.
I always assumed you needed COMMIT() after adding new content to the
database, not after every
On 5 Feb, 07:09, [EMAIL PROTECTED] wrote:
So, I'm parsing a log file that's being written out in
real time.
logfile
entrytimestamp123/timestampdetailsfoo/details
/entry
entrytimestamp456/timestampdetailsbar/details
/entry
--- no /logfile, coz the file hasn't yet been closed
On 3 Feb, 16:41, mario [EMAIL PROTECTED] wrote:
In one case, the collection attributes a specific meaning to
attr=None, but the actual default for attr is something else. However,
if an object explicitly wants to state that his attr=None (that is a
valid value, and has specific meaning) I
On 3 Feb, 00:45, Carl Banks [EMAIL PROTECTED] wrote:
Java doesn't compile to ELF binaries, last time I checked.
http://gcc.gnu.org/java/
Paul
--
http://mail.python.org/mailman/listinfo/python-list
On 1 Feb, 01:18, Terry Reedy [EMAIL PROTECTED] wrote:
ANSI standards are owned by ANSI or perhaps the accrediting body. In any
case, electronic copies sell for $30. They cannot legally be accessed free
as for the docs at python.org.
Yes, you don't really want standardisation ANSI/ISO-style
On 28 Jan, 22:28, Yansky [EMAIL PROTECTED] wrote:
I asked my hosting company if they would upgrade Python on my server
to the latest version. They responded with:
Sorry no. We tend to stick with what comes packaged with the unix
distribution to ease maintenance issues.
Which version are they
On 29 Jan, 18:11, walterbyrd [EMAIL PROTECTED] wrote:
I don't know much php either, but running a php app seems straight
forward enough.
I think that this (the ease of PHP application deployment) is one of
the things that keeps Python framework developers up at night,
regardless of whether the
On 30 Jan, 21:27, walterbyrd [EMAIL PROTECTED] wrote:
Thanks for all that posts. This thread has been helpful.
I have seen a lot of posts about the importance of decoupling the
deployment technologies from the framework technologies. This is how I
have done that in PHP. I develop on my home
On 26 Jan, 15:58, Clement [EMAIL PROTECTED] wrote:
Hi friends,
How can i get system information like CPU load and RAM usage in linux.
Is there any packages for python
One result lower than this thread in the Google search results for the
query Python System Information is a reference to the
On 28 Jan, 02:05, ajaksu [EMAIL PROTECTED] wrote:
Hmmm. Seems to me that Is X Standardized in the given context means
having a formal, published standard issued by some Standards
organization. While you can discuss the meaning of some so-called
standards (like W3C's 'recommendations', RFCs,
On 25 Jan, 11:43, asit [EMAIL PROTECTED] wrote:
we know that time.gmtime(secs) takes a parameter secs. what does this
secs suggest ??What is it's significance ??
From the documentation [1] with some editing:
gmtime([secs])
Convert a time expressed in seconds since the epoch to a time
On 25 Jan, 22:06, Lorenzo E. Danielsson
[EMAIL PROTECTED] wrote:
What you need then is something like SVGAlib (http;//svgalib.org). Only
really old people like myself know that it exists. I've never heard of
any Python bindings for it, but that might be where you come in. I
haven't looked at
On 25 Jan, 14:05, Bruno Desthuilliers bruno.
[EMAIL PROTECTED] wrote:
Christian Heimes a écrit :
No, that is not correct. Python code is compiled to Python byte code and
execute inside a virtual machine just like Java or C#.
I'm surprised you've not been flamed to death by now - last time
On 24 Jan, 04:42, 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 to vote for Python. http://www.linuxjournal.com/node/1006101
18. What is your favorite programming language?
On 23 Jan, 12:03, Stefan Behnel [EMAIL PROTECTED] wrote:
I had a discussion with Java people lately and they were all for Ruby, Groovy
and similar languages, because they have curly braces and are easy to learn
when you know Java.
My take on that is: Python is easy to learn, full-stop.
On 23 Jan, 14:20, kliu [EMAIL PROTECTED] wrote:
Thank u for your reply. but what I really need is the mapping between
each DOM nodes and the corresponding original source segment.
At the risk of promoting unfashionable DOM technologies, you can at
least serialise fragments of the DOM in
On 23 Jan, 15:12, Stefan Behnel [EMAIL PROTECTED] wrote:
Paul Boddie wrote:
I'm not disputing the benefits of the ElementTree approach, but one
has to recall that the DOM is probably the most widely used XML API
out there (being the one most client-side developers are using) and
together
On 22 Jan, 06:31, Alnilam [EMAIL PROTECTED] wrote:
Sorry for the noob question, but I've gone through the documentation
on python.org, tried some of the diveintopython and boddie's examples,
and looked through some of the numerous posts in this group on the
subject and I'm still rather
On 22 Jan, 15:11, John Carlyle-Clarke [EMAIL PROTECTED] wrote:
I wrote some code that works on my Linux box using xml.dom.minidom, but
it will not run on the windows box that I really need it on. Python
2.5.1 on both.
On the windows machine, it's a clean install of the Python .msi from
On 22 Jan, 17:57, Mike Driscoll [EMAIL PROTECTED] wrote:
I need to parse a fairly complex HTML page that has XML embedded in
it. I've done parsing before with the xml.dom.minidom module on just
plain XML, but I cannot get it to work with this HTML page.
It's HTML day on comp.lang.python
On 22 Jan, 21:48, Mike Driscoll [EMAIL PROTECTED] wrote:
On Jan 22, 11:32 am, Paul Boddie [EMAIL PROTECTED] wrote:
[1]http://www.python.org/pypi/libxml2dom
I must have tried this module quite a while ago since I already have
it installed. I see you're the author of the module, so you can
On 19 Jan, 17:06, John Nagle [EMAIL PROTECTED] wrote:
Paul Boddie wrote:
Unlike your approach, pprocess employs the fork system call.
Unfortunately, that's not portable. Python's fork() is
Availability: Macintosh, Unix. I would have preferred
to use fork().
There was a discussion
On 18 Jan, 07:32, John Nagle [EMAIL PROTECTED] wrote:
Processing is useful, but it uses named pipes and sockets,
not ordinary pipes. Also, it has C code, so all the usual build
and version problems apply.
The pprocess module uses pickles over sockets, mostly because the
asynchronous
On 16 Jan, 21:01, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I can't claim a comprehensive familiarity with Python template
offerings, but all of the packages approved for use at my previous
workplace left me cold.
There are a few offerings listed on this page:
On 16 Jan, 02:17, Jaimy Azle [EMAIL PROTECTED] wrote:
Wow, serious... what you've done was really, really cool... :)
In practice, not that cool. ;-)
I was expect there are nobody willing to do to have python runs Java
Language (such as PyPy) over CPython. Perhaps your javaclass does not work
On 15 Jan, 08:33, Jaimy Azle [EMAIL PROTECTED] wrote:
perhaps in the future another sillly point could be added also, Java has
Jython, while Python doesn't have some thing like PyJava or... perhaps Py-va
(Python based Java Language).
You could compile Java to CPython bytecode or, in the case
On 14 Jan, 08:47, A.T.Hofkamp [EMAIL PROTECTED] wrote:
Rather than re-inventing the wheel, please have a look at distutils:
http://docs.python.org/lib/module-distutils.html
It does most if not all of the things you want to do.
If you want something more advanced, read about eggs.
Although
On 12 Jan, 04:03, Steven D'Aprano [EMAIL PROTECTED]
cybersource.com.au wrote:
Given the way that people seem to use interpreted as a pejorative and a
synonym for slow, I don't doubt it one bit. Especially in management,
where they might be making technical judgments on the basis of half-
On 11 Jan, 04:14, Mike Meyer [EMAIL PROTECTED]
wrote:
On Thu, 10 Jan 2008 18:37:59 -0800 (PST) Devraj [EMAIL PROTECTED] wrote:
My Python program needs reliably detect which Operating System its
being run on, infact it even needs to know which distribution of say
Linux its running on. The
On 10 Jan, 21:47, Ed Jensen [EMAIL PROTECTED] wrote:
Bruno Desthuilliers [EMAIL PROTECTED] wrote:
I fail to see how the existence of JIT compilers in some Java VM changes
anything to the fact that both Java (by language specification) and
CPython use the byte-code/VM scheme.
While your
On 11 Jan, 21:44, Goldfish [EMAIL PROTECTED] wrote:
What about security holes, like a malicious version of socket getting
downloaded into a user's directory, and overriding the default, safe
version? Don't forget that in your PEP.
As Christian points out, there are various exploitable
On 9 Jan, 09:24, Fredrik Lundh [EMAIL PROTECTED] wrote:
[Opening files in applications]
on windows, you can use the os.startfile function:
import os
os.startfile(mydocument.doc)
(this is the same as double-clicking on a document in the file explorer)
on other platforms, use
On 21 Des, 02:16, PatrickMinnesota [EMAIL PROTECTED] wrote:
I've been playing with Pygame some in my late night hobby time. I'm
wondering what else I should be looking at since I'm not all that
impressed with Pygame so far. Maybe it is the right library, but
maybe it's not. Please don't
On 18 Des, 22:38, Steven D'Aprano [EMAIL PROTECTED]
cybersource.com.au wrote:
I dare say that European countries which have had automatic copyright
longer than the US have seen far more of their national heritage (early
film, photographs and the like) rot away.
Indeed. One of the most famous
On 2 Des, 07:02, Donn Ingle [EMAIL PROTECTED] wrote:
Paul Boddie wrote:
but I'll either upload a new release, or I'll make the code available
separately.
Thanks, give me a shout when you do -- if you remember!
I've now uploaded a new release of the desktop module which is now, in
fact
On Dec 14, 9:08 am, farsheed [EMAIL PROTECTED] wrote:
Let me be clear for you: there are someone in my company who love to
use my software in other companies that she works there also. and
because it is an inhouse tool, my CEO wanted me to protect it from
stealing. and really we havn't time to
On Dec 13, 3:56 am, Christian Heimes [EMAIL PROTECTED] wrote:
Paul Boddie wrote:
Then you haven't been reading the right IRC channel recently. ;-)
What's the right channel? I'm on #python and #python-dev
But where are people who might know Psyco likely to hang out? ;-)
Anyway, it remains
On Dec 12, 5:17 am, Terry Reedy [EMAIL PROTECTED] wrote:
As far as I know, that is unusual behavior. In Outlook Express and, I
believe, other readers I have used, the original subject is the one
displayed. And if I have already downloaded the original title and marked
the post as read, any
On 12 Des, 18:58, Christian Heimes [EMAIL PROTECTED] wrote:
I don't see an indication that anybody but the creator of Psyco does
understand the code base. *g*
Then you haven't been reading the right IRC channel recently. ;-)
Guido has stated his opinion about optimizations more than once. My
On Dec 11, 2:03 am, [EMAIL PROTECTED] wrote:
PyXML seems to be long gone. Is lxml the way to go if i want to have
xpath supported?
The libxml2dom package (which I maintain) also supports XPath and is
also based on libxml2. If you want to migrate code from using PyXML
without too much effort, it
On Dec 10, 9:55 am, 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.
Understood.
It is some kind
On Dec 9, 10:43 pm, Jack [EMAIL PROTECTED] wrote:
http://blog.snaplogic.org/?p=55
There's some choice nonsense here, albeit on a different topic:
Coding for wxwidgets, using a QT or GTK bridge, or using TCL/TK is
hardly an optimal solution when writing complex graphical
applications, and Java
On 7 Des, 17:43, [EMAIL PROTECTED] wrote:
If you built a GUI with wxPython, it would just use the OS's native
dialogs unless it didn't have one and then it would use a generic
dialog. I would think creating a installer with wxPython and threads
would be fairly trivial.
I'm not convinced that
On 7 Des, 09:31, Kelie [EMAIL PROTECTED] wrote:
Ah, now you're making it hard for me to decide again. :-) Talking
about comfortable, I do like Amara XML toolkit a lot. But I'll stick
with sqlite in this case.
As a user of unfashionable XML technologies *and* relational database
systems, I'd
On 1 Des, 07:02, Donn Ingle [EMAIL PROTECTED] wrote:
[1]http://www.python.org/pypi/desktop
Oh, just saw this link and fetched the code -- will have a look around.
The dialogue box support isn't in the released version, but I'll
either upload a new release, or I'll make the code available
On 30 Nov, 14:55, Donn Ingle [EMAIL PROTECTED] wrote:
Hi,
Okay, so I am in the mood to try this: Inform the user about what modules
the app requires in a graphical dialogue that can vary depending on what
the system already has installed. (It will fail-to output on cli)
I am running Kubuntu
On 24 Nov, 20:10, Patrick Mullen [EMAIL PROTECTED] wrote:
Yes, that's no good. So you would write it like so:
def meth(self,*args):
tmp = int(raw_input('Enter age:'))
using self:
age = tmp
Still an unnecessary lookup on tmp though :)
Indeed. As has been mentioned, it's
On 22 Nov, 12:05, Robin Becker [EMAIL PROTECTED] wrote:
Albert-jan Roskam wrote:
One more Q: I was wondering if there exists a more
research-oriented Python listserv. This one is good
(or so it seems, I'm just a newbie!), but the topics
are very broad. Suggestions, anyone?
[...]
I
On 22 Nov, 20:24, Ayaz Ahmed Khan [EMAIL PROTECTED] wrote:
I've never really understood why some people find that annoying to do. I
make it a point to use, for example, the `this` operator when writing C++
code to avoid implicilty calling/accessing attributes of objects as much
as possible.
On 23 Nov, 01:41, braver [EMAIL PROTECTED] wrote:
On Nov 23, 1:15 am, Paul Boddie [EMAIL PROTECTED] wrote:
One wonders whether the people complaining so vehemently
about self have ever encountered coding style guides.
Dude, I'm also programming in Ada, 83 to 95 to 2005.
It's not often
On 20 Nov, 02:07, Giampaolo Rodola' [EMAIL PROTECTED] wrote:
It thought it would be very nice having a place where developers could
submit help requests for their projects and let the users view them
and eventually join them if they want to.
Does someone knows if such a service already exist
On 20 Nov, 12:17, Diez B. Roggisch [EMAIL PROTECTED] wrote:
The reason is simply that without any server-side mechanism that at _least_
allows for file-locking (something plain HTTP doesn't, nor does FTP), you
can't possibly make this work, as different concurrent requests of users
will end
On 20 Nov, 15:42, Diez B. Roggisch [EMAIL PROTECTED] wrote:
12/7. Django comes with its own little server so that you don't have
to set up Apache on your desktop to play with it.
I was rather shocked to learn that django only has this tiny server and does
not come with a stand-alone server
On 19 Nov, 12:16, Chris Withers [EMAIL PROTECTED] wrote:
I'm trying to build a secure execution environment for bits of python
for two reasons:
[...]
Have other people bumped into this problem?
What solutions do people recommend?
It might be worth looking at these pages for some
On 19 Nov, 18:17, Malte Forkel [EMAIL PROTECTED] wrote:
I would like to use Python on a router, an Edimax BR-6104K, running OpenWrt
(http://www.openwrt.org). While I probably won't need most of the fancier
stuff in Python, serial I/O and threads should be supported.
The router is based on
On 13 Nov, 23:03, Ben Finney [EMAIL PROTECTED]
wrote:
Their messages are an abuse of Google Groups's terms of service, and
Google will likely act on complaints that include a *full* copy of the
offending message.
Unless things have changed recently, I doubt that Google can be
bothered to do
On 9 Nov, 12:02, Paul Rubin http://[EMAIL PROTECTED] wrote:
Why not pass the disk offsets to the job server (untested):
n = 1000
for i,_ in enumerate(reader):
if i % n == 0:
job_server.submit(calc_scores, reader.tell(), n)
the remote process seeks to the appropriate
On 9 Nov, 20:43, Frank Samuelson [EMAIL PROTECTED]
wrote:
Carl Banks wrote:
What you say is correct in principle, but it's senseless to apply it to
something you use every day, like def. It's like arguing that irregular
verbs make speech less productive.
They do for people who speak
On 7 Nov, 21:33, Gabriel Genellina [EMAIL PROTECTED] wrote:
En Wed, 07 Nov 2007 06:36:49 -0300, Ajay Deshpande
[EMAIL PROTECTED] escribió:
well i still havent found a solution to this ... since i am using ubuntu
7.10, i cannot use the hammond modules ...
As you said list of window handles
On 1 Nov, 22:25, Orest Kozyar [EMAIL PROTECTED] wrote:
I'm working on a CGI script that pulls XML data from a public database
Ah, I missed that bit on first read. Consider using something different than
CGI here if you want to do caching. FCGI would allow you to do in-memory
caching, for
On 30 Okt, 15:09, Steven D'Aprano [EMAIL PROTECTED]
cybersource.com.au wrote:
[Language OOness, hand-waving]
I disagree. I think they *do* take away from the overall Object-Oriented
nature of the language, and that is A Very Good Thing Indeed.
But everything is an object in Python: nothing
On 29 Okt, 11:44, krishnakant Mane [EMAIL PROTECTED] wrote:
hello all,
as I posted in my previous thread, I am generating html reports for my
client software.
I am yet to find a satisfactory module which can help me actually
create headings, bold and italics etc without merging html with data
On 28 Okt, 19:09, Glich [EMAIL PROTECTED] wrote:
Hi, how can I extend the code shown below so that I can identify
any CallFunc in func.code and identify the value of node in
CallFunc? Thanks.
This is my code so far:
I tend to use isinstance to work out what kind of AST node I'm looking
at,
On 27 Okt, 18:26, Rob McMullen [EMAIL PROTECTED] wrote:
Wheel reinvention preemption question: is there an existing pure-
python library with functionality similar to KDE's kio/kioslave
implementation? A multi-protocol, extensible library based on URLs
that abstracts directory listing and
301 - 400 of 1065 matches
Mail list logo