On Fri, 05 Jul 2013 23:13:24 -0400, Rustom Mody wrote:Yes...The fact that rms has crippling RSI should indicate that emacs' ergonomics is not right.
As someone crippled by Emacs ( actual cause not known), I should also point out that RMS, instead of doing the responsible thing and using speech re
On Fri, 12 Jul 2013 00:24:26 -0400, Steven D'Aprano
wrote:
Frankly, nothing comes even close to a real mouse for feedback and ease
of use. Maybe a stylus. But that's it.
before tremors, I would agree with you. Stylus is amazingly good tool for
user interaction in a GUI. After tremors, not
On Fri, 12 Jul 2013 10:22:59 -0400, L O'Shea
wrote:
Literally any idea will help, pen and paper, printing off all the code
and doing some sort of highlighting session - anything! I keep reading
bits of code and thinking "well where the hell has that been defined and
what does it mean" to
On Fri, 12 Jul 2013 18:34:30 -0400, Dennis Lee Bieber
wrote:
Sounds like you might have liked an accessory I had on my Amiga.
Basically a proportional joystick feeding an interface box which
converted
the position value into a sequence of mouse movements --
sounds very cool. Alt
On Thu, 18 Jul 2013 00:36:17 -0400, Aseem Bansal
wrote:
I wanted to do a little project for learning Python. I thought a chat
system will be good as it isn't something that I have ever done.
I wanted to know what will I need? I think that would require me these
1 learn network/socket progr
On Mon, 22 Jul 2013 08:11:25 -0400, Gilles wrote:
On Sun, 21 Jul 2013 18:28:27 -0600, Michael Torrie
wrote:
The Sendmail MTA has been ported to many platforms including windows.
But...
Thanks for the tip. Since I couldn't find a good, basic, native
Windows app, I was indeed about to look at
On Sun, 28 Jul 2013 19:49:07 -0400, Ethan Furman
wrote:
On 07/28/2013 10:57 AM, Chris Angelico wrote:
.
.
.
Okay, how did you get confused that this was a Python List question? ;)
got_a_little_list["victim must be found"] =
http://www.youtube.com/watch?v=1NLV24qTnlg
--
http
as some folks may remember, I have been working on making Python and its tool
base more accessible to disabled programmers. I've finally come up with a really
simple technique which should solve 80% of the problem. What I need to figure
out is how to find a spot in the code where a symbol exists
On 7/29/2012 11:33 PM, Steven D'Aprano wrote:
On Sun, 29 Jul 2012 19:21:49 -0400, Eric S. Johansson wrote:
When you are sitting on or in a name, you look to the left or look to
the right what would you see that would tell you that you have gone past
the end of that name. For example
Hav
On 7/30/2012 5:25 AM, Laszlo Nagy wrote:
Did you try to use pygments?
http://pygments.org/docs/api/
thanks, I'll take a look.
I would first tokenize the code, then divide it by statement keywords.
Finally, you just need to find expression/assignment statements in the
remaining sections.
On 7/30/2012 10:59 AM, Laszlo Nagy wrote:
yeah the problem is also little more complicated than simple parsing of
Python code. For example, one example (from the white paper)
*meat space blowback = Friends and family [well-meaning attempt]
*could that be parsed by the tools you mention?
On 7/30/2012 9:54 PM, Steven D'Aprano wrote:
On Mon, 30 Jul 2012 11:40:50 -0400, Eric S. Johansson wrote:
If you have been reading the papers, you would understand what I'm
doing.
That is the second time, at least, that you have made a comment like that.
Actually, it's pro
the wonderful responses I received from people like Lazlo, Paul, and Stephen has
given me some ideas about a different approach. First, here's explanation of
what I'm doing
I'm developing a method which will enable hand disabled developers such as
myself to create and manipulate symbols identi
On 7/30/2012 10:54 PM, Tim Chase wrote:
On 07/30/12 21:11, Eric S. Johansson wrote:
the ability for multiple people to work on the same document at
the same time is really important. Can't do that with Word or
Libre office. revision tracking in traditional word processors
are unpleasa
On 8/27/2016 7:28 PM, ROGER GRAYDON CHRISTMAN wrote:
> Your response is appreciated. I just thought I'd comment a little more on
> the
> script:
>
> Woman: I'm not a witch! I'm not a witch!
>
> V: ehh... but you are dressed like one.
>
> W: They dressed me up like this!
>
> All: naah no we
On 9/11/2016 10:26 PM, Chris Angelico wrote:
> No, God isn't part of the universe, any more than an author is part of
> his novel.
>
as any fiction writer will tell you, the author is found in one or more
of their characters.
--
https://mail.python.org/mailman/listinfo/python-list
On 11/2/2016 12:15 PM, Chris Warrick wrote:
> SimpleHTTPServer is meant to be used for development and testing. It
> should not be used for anything remotely serious for security and
> speed reasons.
Given that many people are trying to use SimpleHTTPServer for
"production" should teach us that
On 11/2/2016 2:40 PM, Chris Warrick wrote:
> Because, as the old saying goes, any sufficiently complicated Bottle
> or Flask app contains an ad hoc, informally-specified, bug-ridden,
> slow implementation of half of Django. (In the form of various plugins
> to do databases, accounts, admin panels
On 11/11/2016 6:59 PM, Ben Finney wrote:
> mirko bonasorte writes:
>
>> what is the most appropriate way for a developer to promote his own
>> Python library?
> The general answer is: Publish it with full metadata on PyPI. That's
> where the Python community looks to find third-party modules, so
On 11/28/2016 2:02 PM, Amirouche Boubekki wrote:
> Also, FWIW users are looking for a Javascript replacement that is real
> Python, not another coffeescript.
does this count? http://brython.info/
--
https://mail.python.org/mailman/listinfo/python-list
On 1/5/2017 7:48 PM, Michael Torrie wrote:
> While Python can do that, using a web framework to process HTTP requests
> and generate HTML to display in the browser, I don't believe Python is
> the appropriate language for the task at hand. Most web sites that do
> interactive formula calculations
On 3/29/2016 6:05 AM, Sven R. Kunze wrote:
Python = English
As someone who writes English text and code using speech recognition, I
can assure you that Python is not English. :-)
--
https://mail.python.org/mailman/listinfo/python-list
On 3/30/2016 6:21 AM, BartC wrote:
On 30/03/2016 11:07, Sven R. Kunze wrote:
On 30.03.2016 01:29, Eric S. Johansson wrote:
On 3/29/2016 6:05 AM, Sven R. Kunze wrote:
Python = English
As someone who writes English text and code using speech recognition,
I can assure you that Python is
On 3/30/2016 9:09 AM, Chris Angelico wrote:
On Thu, Mar 31, 2016 at 12:06 AM, Eric S. Johansson wrote:
I need a co-conspirator with better hands than mine to get through the next
stage which is some form of an AST smart editor that operates on larger
chunks such as idioms or snippets in a
I was inspired by the thread on packaging practices discussion with
bidict to ask a related question which is what are the best practices
with packaging/releasing a single file Python module ?
Back story: I'm always creating little bits of useful code that I want
to reuse (for example, recursi
On 6/2/2016 12:38 PM, Wildman via Python-list wrote:
> On Thu, 02 Jun 2016 04:22:45 -0700, Muhammad Ali wrote:
>
>> Hi,
>>
>> I use windows regularly, however, I use linux for only my research work at
>> supercomputer. In my research field (materials science) most of the scripts
>> are being writ
On 6/2/2016 2:03 PM, Joel Goldstick wrote:
> Although the OP is using Windows 7, according to recent articles,
> Ubuntu is teaming with MS for Windows 10 to include a bash shell,
> presumably with the package management of Ubuntu (debian), with pip
> goodness and virtualenv and virtualenvwrapper.
On 6/3/2016 12:02 AM, Muhammad Ali wrote:
> On Friday, June 3, 2016 at 6:27:50 AM UTC+8, Eric S. Johansson wrote:
>> On 6/2/2016 2:03 PM, Joel Goldstick wrote:
>>> Although the OP is using Windows 7, according to recent articles,
>>> Ubuntu is teaming with MS for Windows
I'm not sure if this is a real problem or if I have been staring at code
too long. given this code
#!/usr/bin/python
from ConfigParser import *
configuration_file = "test.conf"
substitution = {"xyzzy":"maze"}
configuration = SafeConfigParser()
configuration.readfp(file(configuration_file))
list
[EMAIL PROTECTED] wrote:
To avoid this, you need to write something like:
. list = []
. for key in configuration.options("core"):
. list.append((key,configuration.get("core",substitution))
. print list
This cause me problems for a different reason, ie., that user vars keys
appear in what ite
Michael Hoffman wrote:
Philippe C. Martin wrote:
I am using my own install script for my software and am looking for a
flawless way to figure out where python, and more specifically
site-packages is installed.
The flawless way would be to use distutils. In fact you shouldn't even
need your own ins
I have an application where I need a very simple database, effectively a
very large dictionary. The very large dictionary must be accessed from
multiple processes simultaneously. I need to be able to lock records
within the very large dictionary when records are written to. Estimated
number
Robert Brewer wrote:
Eric S. Johansson wrote:
I have an application where I need a very simple database,
effectively a very large dictionary. The very large
dictionary must be accessed from multiple processes
simultaneously. I need to be able to lock records within
the very large dictionary
I have a preference for gdbm when building DBM based dictionaries but
have found I cannot count on it being there all the time. Therefore, I
have created this little tidbit which you call before opening your
anydbm database to bias the preference towards gdbm instead of dbhash:
# bias DBM towa
Thomas Bartkus wrote:
"Eric S. Johansson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
at this point, I know they will be some kind souls suggesting various
SQL solutions. While I appreciate the idea, unfortunately I do not have
time to puzzle out yet another compo
Ricardo Bugalho wrote:
On Tue, 18 Jan 2005 17:33:26 -0500, Eric S. Johansson wrote:
When I look at databases, I see a bunch of very good solutions that are
either overly complex or heavyweight on one hand and very nice and simple
but unable to deal with concurrency on the other. two sets of
Thomas Bartkus wrote:
When you write that "super dictionary", be sure to post code!
I could use one of those myself.
hmmm it looks like you have just flung down the gauntlet of "put up or
quityerwhinging". I need to get the crude implementation done first but
I think I can do it if I can find a
Andy Leszczynski wrote:
>
> I need to now option I open the Berkley DB (both db and env) to have
> configuration for multiple writers and multiple readers. Via multiple
> processes and multiple threads. No trx needed.
the simple answer is you can't. bdbm is probably single writer multiple
r
Anthony Baxter wrote:
twisted is too large to go into the python core as is - in addition, there's a
mismatch between Python's release cycle speed and twisted's release
cycle speed (although the current delayed-until-who-knows-when Twisted
2.0 might be a harbinger of twisted slowing down to Python
Jp Calderone wrote:
Why not use apt-get?
well, I am recommending using apt-get but within entirely different and
separate namespace for modules. But on second thought,, it might not be
necessary to separate the namespace. If you just need to add the
repository for Python modules to the apt
I've been searching around for the equivalent to the mailbox module
except with the capability of writing messages as well as reading. If
it makes it easier, I only need to write to maildir mailboxes.
I found a reference to http://pythonms.sf.net/ Python mail system) but
it seems to have vanis
As part of speech recognition accessibility tools that I'm building, I'm
using string.Template. In order to construct on-the-fly grammar, I need
to know all of the identifiers before the template is filled in. what is
the best way to do this?
can string.Template handle recursive expansion i.e.
On 1/13/2014 2:24 AM, Steven D'Aprano wrote:
On Sun, 12 Jan 2014 10:08:31 -0500, Eric S. Johansson wrote:
Now just walk the template for $ signs. Watch out for $$ which escapes
the dollar sign. Here's a baby parser:
found a different way
import string
cmplxstr="""
On 2/8/2014 3:35 AM, Rustom Mody wrote:
On Saturday, February 8, 2014 1:11:53 PM UTC+5:30, cstru...@gmail.com wrote:
I am writing a couple of class methods to build up several lines of html. Some
of the lines are conditional and most need variables inserted in them.
Searching the web has gi
Some of you will recognize me as someone who pops up occasionally asking
questions as I grope my way to a usable speech driven programming
environment. My last set of experiments with a technique called
togglename and speech driven template notation hit a pretty nasty wall
of usability because
On 1/5/2015 3:12 AM, Chris Angelico wrote:
On Mon, Jan 5, 2015 at 6:43 PM, Eric S. Johansson wrote:
The obvious answer is saving that meta-information in conjunction with the
code but when working in a team environment, that information is going to
drive you handies up the wall because it
On 1/5/2015 7:24 AM, Chris Angelico wrote:
On Mon, Jan 5, 2015 at 8:34 PM, Jonas Wielicki wrote:
As a first iteration, I would try with any editor written in Python.
Are you familiar with the ast[1] module? It could be worth trying to
use this module and perform some kind of pattern matching o
On 2/19/2015 10:33 AM, Bryan Duarte wrote:
Thank you jwi, and Jacob,
I took a look at that posting and it seems pretty unique. I am not much
interested in the speech driven development, but I am very interested in
developing an accessible IDE.
Well you should be because it looks like an aur
On 02/21/2015 01:22 AM, Ned Deily wrote:
SQLite is one of the most widely-used, best-documented, best-tested,
and well-respected software packages in the world.
yes but is still sql. there are a couple of small scale not-sql
databases that look interesting. problem with them is that the crea
On 3/27/2014 4:56 PM, Sells, Fred wrote:
I'm trying to use python classes and members to define complex data entry forms
as a meta language
The idea is to use a nice clean syntax like Python to define form content, then
render it as HTML but only as a review tool for users, The actual render
On 4/19/2014 12:04 AM, Ryan Hiebert wrote:
If you are starting a new project, I'd highly encourage you to use
Python 3. It is a stable, well supported, and beautiful language, and
gives you the full power of the innovation that is current in the
Python world. Python 2 is still well supported (
how do you parse multi line text with parsley? here is a work in
progress and I'm trying to figure out why I need to split the text and
process per line vrs all at one go.
thanks for any help.
--- eric
Here's the whole body of code ---
import parsley
#
# grammar to pa
On 6/3/2014 5:49 PM, Mark H Harris wrote:
I have been engaged in a minor flame debate (locally) over block
delimiters (or lack thereof) which I'm loosing. Locally, people hate
python's indentation block delimiting, and wish python would adopt
curly braces. I do not agree, of course; however,
On 6/3/2014 7:29 PM, Chris Angelico wrote:
On Wed, Jun 4, 2014 at 9:22 AM, Eric S. Johansson wrote:
On the other hand, curly braces are royal pain to dictate or navigate around
when programming with speech recognition.
I've never done that, in any language, but if I had to guess, I&
On Tue, 06 Aug 2013 09:27:10 -0400, Burak Arslan
wrote:
First, let's get over the fact that, with dynamic typing, code fails at
runtime. Irrespective of language, you just shouldn't ship untested
code, so I say that's not an argument against dynamic typing.
It's not so much shipping unteste
On 10/25/2013 7:55 PM, Yaşar Arabacı wrote:
Hi people,
I wrote this decorator: https://gist.github.com/yasar11732/7163528
wow, this looks really powerful. I would like to add the ability to
associate a tag or set of tags with the decorator so that the debug
output only happens when there is
2 needs. first is determining if NaturallySpeaking injects keycodes or
ascii char into the windows input queue. second is building a test
widget to capture and display text.
I think I can solve both of these by building a simple text widget
(tkinter? qt? ??) to capture keycodes. problem, is
On 05/22/2015 03:50 PM, Laura Creighton wrote:
In a message of Fri, 22 May 2015 12:29:20 -0400, "Eric S. Johansson" writes:
2 needs. first is determining if NaturallySpeaking injects keycodes or
ascii char into the windows input queue. second is building a test
widget to capture a
In my quest for making speech friendly applications, I've developed a
very simple domain specific language/notation that works well. I'm using
parsley which is a great tool for writing parsers especially simple ones
like the one I need. However, I've come across a problem that I don't
know how
On 6/14/2014 8:10 PM, Michael Torrie wrote:
On 06/13/2014 03:05 PM, Eric S. Johansson wrote:
I appreciate any insight before I go too far off track.
--- eric
Perhaps this is off-topic, and doesn't answer your question, but is
Parsley a natural language parsing tool? If not, and if
On 8/12/2014 9:46 PM, Chris Angelico wrote:
On Wed, Aug 13, 2014 at 11:36 AM, Wesley wrote:
If my questions make you guys not so happy, I am sorry and please just ignore.
I just wanna a general suggestion here in the beginning.
Why I need to write such program is just having such requirements,
On 8/13/2014 3:27 PM, Chris Angelico wrote:
I agree with you, and I don't use CAPTCHAs on any of my services,
anywhere, and never have. (Partly because they *are* broken by people
writing scripts, and/or by just grinding them with human solvers; but
also because of the problems they cause for le
On 8/14/2014 2:37 PM, Peter Pearson wrote:
On Wed, 13 Aug 2014 14:16:02 -0600, Ian Kelly wrote:
. . . and as computers get more powerful the intersection
of {problems machines can't solve} and {problems humans can reliably
solve} grows ever smaller.
"Which of the following eight sentences are
On 8/14/2014 7:19 PM, Denis McMahon wrote:
On Wed, 13 Aug 2014 07:39:20 -0400, Eric S. Johansson wrote:
you are clear but also missing a really good reason to break captchas.
handicapped accessibility. Captchas are a huge barrier to access and in
many cases push disabled users away from
I'm back with yet another attempt at adding accessibility features using Python
and NaturallySpeaking. I've simplified the concepts again and I really need some
help from someone who knows Microsoft Windows and Python. My goal is developing
a template for what I'm trying to do, then I can take o
On 10/21/2011 10:03 PM, Mark Hammond wrote:
On 22/10/2011 10:30 AM, Eric S. Johansson wrote:
I'm back with yet another attempt at adding accessibility features using
Python and NaturallySpeaking. I've simplified the concepts again and I
really need some help from someone who knows
are there any simple examples of how to do record locking with bsddb3?
the bsddb3 documentation is reasonably opaque. For example, the DB
initialization requires a DBEnv instance for certain environmental
features such as locking. but if you want locking, what happens next?
I suspect the patt
Eric S. Johansson wrote:
> are there any simple examples of how to do record locking with bsddb3?
got this far with sample code from the activeware site
filename = 'fruit'
# Get an instance of BerkeleyDB
db_env = db.DBEnv()
db.set_lk_detect(db.DB_LOCK_YOUNGEST)
db_env.open
man, I'm in really bad form replying to myself twice but I'me solved the
problem at least in a simple form.
Eric S. Johansson wrote:
> Eric S. Johansson wrote:
>> are there any simple examples of how to do record locking with bsddb3?
#!/usr/bin/python
f
Elmo Mäntynen wrote:
> Is there something better than using fnctl? It seems a bit intimidating
> with a quick look.
try the portlocker wrapper from the active state cookbook. I have a
version which has been slightly updated for more modern pythons. I
really need to make my darcs repository vis
[EMAIL PROTECTED] wrote:
> hardemr wrote:
>
>> I've just read all of the answers. Most of yours said that there are
>> many web frameworks ,so it is nonsense to make a new web framework in
>> python.
>
> Hardemr, I like Ajacksu's answer, with a twist. Please concnentrate on
> writing a Visual Stu
I'm developing Python code on multiple VM Ware guest OS running ubuntu.
I need to share common file space so that each of these guest
instances will have complete access to the to all of the files.
The problem is that, because of a quirk (or misfeature) of VM Ware
shared filesystem, all of th
Martin v. Löwis wrote:
> Eric S. Johansson schrieb:
>> The problem is that, because of a quirk (or misfeature) of VM Ware
>> shared filesystem, all of the directories and files are owned by root
>> with a 700 permissions. When I run setup.py install, they are installe
[EMAIL PROTECTED] wrote:
> Gabriel> I use a discardable email address from Yahoo. Spam filtering is
> Gabriel> good, and when you get too much spam, just delete that address
> Gabriel> and create another one.
>
> Maybe it's just me, but creating and discarding email addresses makes me
How can I limit when my code run only when it's a build or install
setup.py command and only after the setup method?
I need to do some processing after setup.py runs and I've been
successful writing the code to do what I need but the problem is it runs
every time I run setup.py regardless of th
Alex Reinhart wrote:
> Yeah, I just realized that. What would I do to act as an open proxy as well?
emulate the Apache proxy capability, especially the reverse proxy.
more seriously, what you need to do is from common proxy and web server
ports, accept proxy requests with a destination port numb
I apologize if this is an FAQ but googling has not turned up anything,
at least to my keywords.
I need to parse a configuration file from an existing application and
I'm treating it as a dictionary. I created my class with a parent class
of dict. Everything works okay except I discover I need
Diez B. Roggisch wrote:
>dict.__setitem__(self, index.upper()) = value
oh duh.
> Or better even
>
>super(subclass, self).__setitem__(key.upper(), value)
hmm. http://fuhm.net/super-harmful/
I think I need to do some more reading.
---eric
--
http://mail.python.org/mai
Alex Reinhart wrote:
> Eric S. Johansson wrote:
>> Alex Reinhart wrote:
>>> Yeah, I just realized that. What would I do to act as an open proxy as
>>> well?
>> emulate the Apache proxy capability, especially the reverse proxy.
>>
>> more seriously, wha
I'm creating a dialogue style interface for an application on a
dedicated system. All I have is basic Python 2.3. Is there anything
like an all Python dialog equivalent floating around? I'm currently
hacking away in curses but it's taking me a long way down what I fear to
be a wrong path.
I
[EMAIL PROTECTED] wrote:
> dialog binary is 110 KB. Won't it fit ?
missing library. I have ncurses and newt and dialog seems to require
something called ncursesw. I've been trying to find the Python newt
module as well and that seems to be as invisible as the creature it's
named after.
--
Miki wrote:
> Hello Eric,
>
>> Is there anything like an all Python dialog equivalent floating around?
> http://www.pythonware.com/library/tkinter/introduction/
I'm sorry. I should have been more explicit. I need a textbased
interface such as the ones you would get with curses and dialogue.
-
Fredrik Lundh wrote:
> Eric S. Johansson wrote:
> http://excess.org/urwid/ ?
I just found that about an hour ago. the demos work on the target
system so I'm comfortable enough to go down that path.
thank you all.
---eric
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Dickey wrote:
> Eric S. Johansson <[EMAIL PROTECTED]> wrote:
>> [EMAIL PROTECTED] wrote:
>>> dialog binary is 110 KB. Won't it fit ?
>
>> missing library. I have ncurses and newt and dialog seems to require
>> something called ncurses
tac-tics wrote:
> a wrote:
>> can someone tell me how to use them
>> thanks
>
> sigh...
> You do a google on them:
>
> http://docs.python.org/tut/node7.html#SECTION00714
>
thank you for the reminder. But after reading it, I was left with a
question. Why the new syntax for wha
I have a module which needs to invoke a suid helper program in order to
do what it needs to do. This suid helper program needs to be built and
installed at the same time as the module.
Is there any way to do this with distutils? I've been looking through
the documentation but haven't really f
Fuzzyman wrote:
>
> Because it is client side (rather than running on the server), it has
> no built in comments facility. I use Haloscan for comments, but I'm
> always on the look out for a neat comments system to integrate with
> Firedrop.
>
> I personally prefer the 'client side' approach, as
Assuming one can't avoid the need to set the group ID of a Python
program, is a wrapper program still considered the best way to do that?
the reason I ask is that a few years ago, I picked up a program that was
(and maybe still is) shipped with Python as a wrapper for sgid programs.
I sea
Nick Craig-Wood wrote:
> This is excellent advice... I was diagnosed with tendonitis over 5
> years ago now. I found the medical people generally hopeless, but the
> physios really know their stuff (this is in the UK also).
some know their stuff but a vast majority of them are humming because
th
Dennis Lee Bieber wrote:
> On Tue, 26 Sep 2006 15:03:41 -0400, "Eric S. Johansson" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>> What's really strange is that most people think laptop keyboards are
>> horrible but I absolutely
Hari Sekhon wrote:
> I have written a script and I would like to ensure that the script is
> never run more than once at any given time.
>
> What is the best way of testing and exiting if there is another version
> of this script running somewhere on this machine?
>
> I guess what I'm asking is
is there anyway I can, in a setup.py file, set and internal equivalent
to the '--install-scripts' commandline option?
script installation directory but I don't want on the command line where
things can go horribly wrong if the user forgets. I would like to
create a new default setting for th
Robert Kern wrote:
> Eric S. Johansson wrote:
>> is there anyway I can, in a setup.py file, set and internal equivalent
>> to the '--install-scripts' commandline option?
>
> Please don't. Hard-coding that interferes with the user's decision of where
&g
Robert Kern wrote:
>
> Okay, if it's just for internal use, then I certainly have no objection. Use
> a
> setup.cfg file:
>
>http://docs.python.org/inst/config-syntax.html
>
> Specifically, use something like the following section:
>
> [install]
> install_scripts=/path/to/scripts/director
Robert Kern wrote:
> Eric S. Johansson wrote:
>
>> Now I get to puzzle out how to install the CGI plus images plus
>> stylesheets plus plus plus mess. Probably a bit outside of the scope of
>> distutils even if the CGI programs are Python. ;-)
>
> I recommend
Eric S. Johansson wrote:
> So what I have seen so far says that to be able to take data from a
> series of directories scatter it to other directories may be out of
> scope. It's okay. If I have to write a wrapper, it won't be the first
> time.
do'h.
http://docs.
Keith Perkins wrote:
>
> On a similar note , I have another question about distutils and data files.
> I have a little program that uses a txt file to store data, and it works
> fine running it in it's own folder, if I install through distutils, using
> sudo to get it to write to the site-packages
Robert Kern wrote:
> Instead, include the default data inside the package (read-only to non-root
> users). Then allow the script itself to create the directory the first time
> it
> is run (read-write, and it should then automatically be accessible to the
> user
> that ran the script). You mi
MonkeeSage wrote:
> Here's a class using Fredrik's suggestions to provide generic,
> cross-platform file locking (only tested on *nix however, with the two
> test files listed [i.e., run test1.py in one terminal then test2.py in
> another]):
>
> http://pastie.caboo.se/15851
>
> Ps. The lockfile s
Jesse Noller wrote:
> Hey All,
>
> I'm working on an script that will generate a file of N size (where N is
> 1k-1gig) in small chunks, in memory (and hash the data on the fly) and
> pass it to an httplib object for upload. I don't want to store the file
> on the disk, or completely in memory a
1 - 100 of 177 matches
Mail list logo