ight help but I've not been able to get
even the simple examples working. Go figure, I just figured out what a
namespace is...
Any hints/tips/suggestions greatly appreciated especially with complete noob
tutorials for xpath.
Thanks for your time.
Doug O'Leary
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, October 7, 2016 at 3:21:43 PM UTC-5, John Gordon wrote:
> root = doc.getroot()
> for child in root:
> print(child.tag)
>
Excellent! thank, you sir! that'll get me started.
Appreciate the reply.
Doug O'Leary
--
https://mail.python.org/mailman/listinfo/python-list
en of
.*?? In that partial list, it'd be name, domain-version,
security-configuration, log, and server.
For some reason, I'm not able to make the conceptual leap to get to the first
step of those tutorials.
The end goal of this exercise is to programatically identify weblogic clusters
and their hosts.
thanks
Doug O'Leary
--
https://mail.python.org/mailman/listinfo/python-list
ta to match an algorithm works as
well in python as it does in perl. Go figure.
My 200+ script that didn't work so well is now 63 lines, including comments...
and works perfectly.
Outstanding! Thanks for putting up with noob questions
Doug
--
https://mail.python.org/mailman/listinfo/python-list
this seems like it should be pretty straight forward so I'm
obviously missing something basic.
Any hints/tips/suggestions gratefully accepted.
Doug O'Leary
--
https://mail.python.org/mailman/listinfo/python-list
Hey;
Never mind; I finally found the meaning of stopiteration. I guess my
google-foo is a bit weak this morning.
Thanks
Doug
--
https://mail.python.org/mailman/listinfo/python-list
bj)
print(l)
I'm hoping to see that first header; however, I'm getting another error:
Traceback (most recent call last):
File "./testies.py", line 30, in
next(iterobj)
StopIteration
I'm not quite sure what that means... Does that mean I got to the end of data
w
again. I appreciate the tip.
Doug O'Leary
--
https://mail.python.org/mailman/listinfo/python-list
On Sun, May 15, 2011 at 9:11 AM, Ruben Van Boxem
wrote:
> I am sorry for the repeated messages that no one cares about, but I
> may have discovered GDB in its current form already allows what I
> want: I tried to figure out what exact paths the snake in gdb was
> using to search for its modules, a
On Sun, May 15, 2011 at 6:26 AM, Ruben Van Boxem
wrote:
> Wow, I think I have a partial solution. Delving into the Python docs,
> for example here:
> http://docs.python.org/using/windows.html#finding-modules, you can see
> that PYTHONPATH is used first, then the Windows registry, then
> PYTHONHOME
On Sat, May 14, 2011 at 11:30 AM, Doug Evans wrote:
> Note that --exec-prefix is the runtime location of python.
> GCC uses this to tell libpython where to find its support files.
> [grep for Py_SetProgramName in gdb/python/python.c]
Oops. s/GCC/GDB/
--
http://mail.python.org/mailman
On Sat, May 14, 2011 at 2:29 AM, Eli Zaretskii wrote:
>> Date: Sat, 14 May 2011 11:09:13 +0200
>> From: Ruben Van Boxem
>> Cc: g...@sourceware.org, python-list@python.org
>>
>> 1. Check hardcoded path; my suggestion would be "> executable>/../lib/python27"
>> 2. If this fails to find the necessar
On Sat, May 14, 2011 at 2:09 AM, Ruben Van Boxem
wrote:
> 2011/5/14 Doug Evans :
>> On Thu, May 12, 2011 at 9:19 AM, Ruben Van Boxem
>> wrote:
>>> (now in plain-text as required by gdb mailing list)
>>>
>>> Hi,
>>>
>>> I am currently tr
On Thu, May 12, 2011 at 9:19 AM, Ruben Van Boxem
wrote:
> (now in plain-text as required by gdb mailing list)
>
> Hi,
>
> I am currently trying to integrate Python support into my toolchain
> build (including GDB of course). It is a sysrooted
> binutils+GCC+GDB+mingw-w64 toolchain.
>
> I currently
The best way I have found is to place that definition of your PYTHONPATH
in your .bash_profile in your home directory and export it from there.
PYTHONPATH=/home/foo/prog/learning_python
export PYTHONPATH
This way your PYTHONPATH is picked up each time you log on. You
might
hey, does anyone find the UML useful during Python development of larger
projects?
--
http://mail.python.org/mailman/listinfo/python-list
On 12/4/2010 5:42 PM, Jorge Biquez wrote:
Hello all.
Newbie question. Sorry.
As part of my process to learn python I am working on two personal
applications. Both will do it fine with a simple structure of data
stored in files. I now there are lot of databases around I can use but I
would like
I don't know about your IDE, I am using the default IDLE just because it
is handy. But I have made the switch from mod_python. It was a good
idea, but mod_wsgi is a better idea. And as you know, mod_python is no
longer supported.
I am running Apache with mod_wsgi in a windows 7 environment
I support multiple projects, some of which will remain on Python 2.x
and some of which want to use Python 3.1.2. While I have installed
both on my Windows PC, only the last installed version can be used. I
do not have admin rights on the machine, so altering registry settings
is not an option. Any
On Aug 12, 10:47 am, Peter Otten <__pete...@web.de> wrote:
> Doug wrote:
> > I'm using elementtree to create a form.
>
> > I would like to set the "selected" attribute.
>
> > Setting using the usual
> > option.set( "selected" =
I'm using elementtree to create a form.
I would like to set the "selected" attribute.
Setting using the usual
option.set( "selected" = "" )
gives me
Operations
how does one make
Operations
which is what I need.
--
http://mail.python.org/mailman/listinfo/python-list
When I type C-c C-c my emacs window just hangs. If I use Task Manager
to kill cmdproxy I can get emacs back but of course interactivity with
Python is not accomplished. By the way, if I do C-c ! then I get a
functional python shell. Does anybody know a solution to this?
On Oct 13, 7:12 am, rus
Hi! Thanks for clearing this up!!
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I am trying to write a UTF-8 file of UNICODE strings with a carriage
return at the end of each line (code below).
filOpen = codecs.open("c:\\temp\\unicode.txt",'w','utf-8')
str1 = u'This is a test.'
str2 = u'This is the second line.'
str3 = u'This is the third line.'
strCR = u"\u240D"
fil
I am new to python, working by way through 'Core Python Programming'. I can find
no description of using print with the built-in type for formatting. I think I
have got some [most?] of it from Chun, google, and python.org. My comment is -
it should not be that hard to find. I would suggest a lin
having to use the python executable to
see if the application is on a 64bit architecture? Thanks.
Doug
--
http://mail.python.org/mailman/listinfo/python-list
Has any converted the structure pthread_mutex_t to
a ctypes structure class ?
I looking at some C code that is using pthreads and need to translate
pthreads_mutex_t structure into python (via ctypes)
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
ied to figure it out, to no avail, so if
> anyone is pretty familiar with this, because I do NOT want to
> stipulate which binary to use in all my source files...
Hi,
One option would be to use the alternatives system, which RHL / Fedora install
by default. Run "man a
On Thu, 22 Jan 2009 08:13:49 -0800 (PST), Vic Kelson
wrote:
>
>
> How about IDLE? It's a nice tool for the Python programmer. I've tried
> lots of IDEs, but when it comes down to it, on small-to-medium jobs I
> am be very productive indeed using IDLE...
>
> --v
I find Stani's Python Edito
has a great day!
Doug
--
http://mail.python.org/mailman/listinfo/python-list
hon Hello.py
The trace of system calls will be in the file logfile.txt. For more info on
strace, see the strace(1) man page (i.e., run "man strace").
Doug
--
http://mail.python.org/mailman/listinfo/python-list
;<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~
$res->{'address_1c'},$res->{'address_2c'}
@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~
$city_1 $city_2
@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ~
$res->{'email_1'}, $res->{'email_2'}
--
~
.
Then, all I have to do is populate my $res object/hash as desired -- in this
example simple the results of a SQL query -- and lastly just call the "write"
function:
write;
and Perl will produce very nicely formatted results. This is useful not only
for producing human readable output, but also fixed-column-width data files,
etc. I'd love to learn the Pythonistic way of doing the same thing.
Thanks!
Doug
--
http://mail.python.org/mailman/listinfo/python-list
ikely to me.
Thanks again to you and everyone. I'll definitely visit the py2exe wiki and
see what I can come up with (and or course will report back with success /
failures). If you or anyone has any further thoughts based on this post, I'm
all ears and would be most grateful.
Regards,
Do
array2.pyd and umath2.pyd, and then
manual create the "stub"-like .pyc files that py2exe creates to point to
these alternate .pyd files and then place these stubs in
library.zip/numpy/core? Or am I just hoping for too much here and am going
to be stuck with using the --skip-archive option?
roblems seem to revolve around confusions when duplicate files exist
in different modules. I wouldn't thinking that getting py2exe to pay better
attention to the containing modules when building it's dependency tree would
be that difficult (or is it)?
Cheers,
Doug
On Fri, 14 Ma
efore except, of course, on line 19 now instead of
line 18.
Doug
On Thu, 13 Mar 2008 11:46:41 -0700 (PDT), GHUM <[EMAIL PROTECTED]>
wrote:
> Doug,
>
> > Precision.py is part of the Numeric package. AFAIKT, the problem is during
> > the module initialization. The firs
do with dynamic importing, but I
can't be sure. I would note that "zeros" is a built-in function found in the
"python dll" multiarray.pyd (in the Numeric module directory).
Thanks again,
Doug
On Wed, 12 Mar 2008 03:09:59 -0700 (PDT), GHUM <[EMAIL PROTECTED]>
it, and (b)
more generally, why would a problem like this occur under py2exe but not with
the standard distro?
Thanks in adavance for any and all help.
Cheers,
Doug
Traceback (most recent call last):
File "VisionTrainer.py", line 49, in
File "SessionController.pyc",
On Mon, 25 Feb 2008 04:20:37 -0800 (PST), John Machin <[EMAIL PROTECTED]>
wrote:
> On Feb 25, 10:42 pm, Doug Morse <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > My apologies for troubling for what is probably an easy question... it's
> > just
> >
eed': x.foo(speed=12);" etc., but then the statement has to be maintained
every time a new parameter is added/changed etc. Plus, such a solution seems
to me grossly inelegant and un-Pythonic.
Thanks in advance for any and all assistance!
Doug
--
http://mail.python.org/mailman/listinfo/python-list
So, showing of my physics ignorance: I presume then that this means that
light, say from the sun, is actually sending particles to the earth, since the
space between is mostly vacuum? Or is there enough material in the
near-vacuum of space for propogation to occur?
On Sat, 09 Feb 2008 12:25:51
Hi Fredrik,
I'm terribly confused. You want me to apologize for recommending that someone
buy your books? To apologize for noting that they are a quality reference
sources for Python?
Doug
On Wed, 09 Jan 2008 21:59:34 +0100, Fredrik Lundh <[EMAIL PROTECTED]>
wrote:
> Do
Several of the O'Reilly & Assoc. books -- such as Python in a Nutshell, The
Python Standard Library, etc -- are in large part reproductions of the
official docs and references. So, while not exactly what you asked for, the
ORA books might be a viable alternative if what you want isn't available.
me in the right direction, it would be most
appreciated!
Also, does anyone know of a way to validate a PDF file?
Thanks in advance,
Doug
--
http://mail.python.org/mailman/listinfo/python-list
although perhaps not a part of the definition of scripting languages per se,
one aspect of them is that they are often used to "glue" a wide variety of
other components together. perl's initial and continued success is in no
small part to all the wrappers and interfaces it has to all sorts of othe
efore
you (as I see them): escape sequences, some sort of IPC, or system signals.
Again, I think you might get luckly with the first option, whereas I have
serious doubts that Terminal supports the latter two options (but ya never
know...)
Good luck,
Doug
P.S. -- I just realized that you probabl
not familiar with how apache handles these functions in a Windows
environment, but the references in a prior answer to this thread should
help you out.
-Doug
--
http://mail.python.org/mailman/listinfo/python-list
with and felt
comfortable working with.
Hope this helps.
-Doug
--
http://mail.python.org/mailman/listinfo/python-list
> Is anyone out there who uses MS Word and doesn't deactivate
> the "suggest" mode i.e. Clippy?
Me... I don't install Clippy (or any of his horribly annoying friends)
to start with. :)
On the topic though, the suggest mode of the MS help system is generally
way off-base, even for my 80-yr-old gr
MAIL PROTECTED] ~]$ python -c "import os; print os.environ['FOOD']"
> eggs
Just tried on a FreeBSD 6.1 development box with stock /bin/sh and it
works there too...
... And I just learned something new!
-Doug
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 21 Mar 2007 00:29:00 +1100, Steven D'Aprano wrote:
> On Tue, 20 Mar 2007 12:09:29 +0000, Doug Gray wrote:
>
>> Folks,
>> I am looking for a fast but most importantly a bullet proof method to pass
>> and NMEA data stream (GPS output) ascii numeric string
7;yum install pybluez' in Fedora
Core 5.
See:
http://www.robertprice.co.uk/robblog/archive/2007/1/Using_A_Bluetooth_GPS_From_Python.shtml
Doug Gray
--
http://mail.python.org/mailman/listinfo/python-list
27;00.')
int(' 00.')
float('- 00')
float(' - 00')
float(' - 00')
float(' - 00.')
float('- 00.')
float('- 10.')
float('- 10.')
float('- 10.')
int('- 10.')
int('- 10.
Excellent choice. I used the 2nd edition for better than a year as a
reference as I "came up to speed" on the language. Didn't know there was
a 3rd edition out.
Doug
On Tue, 2007-02-27 at 11:08 -0800, Sriram wrote:
> Hi,
>
> If you have experience programming, just rea
le(listA)
listB = list(listB)
I've tried building the copy of listA, element by element, but that
doesn't work.
listB = []
for x in listA:
listB.append(x)
I finally had to do some type changing during the element by element
copy and that does seem to work.
Thanks in adva
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> W88 warhead design
>
> http://www.thepriceofliberty.org/06/09/25/wardpics-5.htm
>
> http://www.thepriceofliberty.org/06/09/25/wardpics-4.htm
the diagrams are all wrong, they are fiction.
--
http://mail.python.org/mailman/listinf
Michael Hobbs wrote:
> Can anyone find a flaw with this change in syntax?
>
> Instead of dividing a compound statement with a colon, why not divide it
> on a newline? For example, the colon could be dropped from this statement:
> if self.hungry:
> self.eat()
> to
> if self.hungry
>
Fredrik Lundh wrote:
> Doug wrote:
>>
>> Fredrik Lundh wrote:
>>> Fredrik Lundh wrote:
>>> > cannot all you clueless trolls who cannot think of a single useful thing
>>> > to contribute to Python start your own newsgroup?
>>
>>>
Fredrik Lundh wrote:
> Fredrik Lundh wrote:
> > cannot all you clueless trolls who cannot think of a single useful thing
> > to contribute to Python start your own newsgroup?
>
> and before anyone complains; please note that they're working through
>
> http://www.effbot.org/pyfaq/design-index
source code from users? These users are software developers,
but we don't want them to see how the code does what it does.
thanks, doug
--
http://mail.python.org/mailman/listinfo/python-list
Try www.TextPad.com. I've used it for years and love it. It
understands many programming language constructs and can be taught to
understand python so that things show up in color.
On 7 Sep 2006 13:18:22 -0700, "Omar" <[EMAIL PROTECTED]>
wrote:
>I'd love the perfect editor that would be:
>
>a) fr
Thanks Paul. This is exactly the type andlevel of implementation that
I was looking for.
I will look at the other implementation again.
On 25 Aug 2006 16:32:46 -0700, Paul Rubin
<http://[EMAIL PROTECTED]> wrote:
>Doug Stell <[EMAIL PROTECTED]> writes:
>> Can anyone provide
2006 23:20:41 +0100, Bruce Stephens
<[EMAIL PROTECTED]> wrote:
>Doug Stell <[EMAIL PROTECTED]> writes:
>
>> Can anyone provide guidance on building an ASN.1 decoder and encoder
>> in Python?
>
><http://sourceforge.net/projects/pyasn1/>?
--
http://mail.python.org/mailman/listinfo/python-list
Can anyone provide guidance on building an ASN.1 decoder and encoder
in Python? This does not have to be a general purpose implementation,
drivenf from an ASN.1 template. It can be dedicated hard coded to a
particular template.
Doug Stell, [EMAIL PROTECTED]
--
http://mail.python.org/mailman
Hi!
** Accessing the USGS Web Service Using Python **
I am trying to access the US Geological Survey's gazetteer SOAP web service
using Python to find the locations of all the places with the name
'Alexandria.' I tried to keep this simple by putting a soap message in a
string and sending the
On 6/2/06, Norbert Kaufmann <[EMAIL PROTECTED]> wrote:
Ray wrote:[...]> Um, I mean, what if you have to use something other than> Python/Jython/IronPython? :) How do you keep your Python skill sharp?>You could use IPython as your primary shell. Than you have the
opportunity to do all these nasty au
On 5/5/06, Christoph Haas <[EMAIL PROTECTED]> wrote:
On Fri, May 05, 2006 at 04:50:11PM +0100, Doug Bromley wrote:> I have a Python IDE review I did a few months back you may want to view:> http://www.straw-dogs.co.uk/blog/python-ide-review
Sounds interesting. Could you fix the screens
I have a Python IDE review I did a few months back you may want to view:http://www.straw-dogs.co.uk/blog/python-ide-reviewHope that helps.
DougOn 5 May 2006 08:28:00 -0700, Saurabh Sardeshpande <[EMAIL PROTECTED]> wrote:
Pardon if this is already discussed extensively. But what is the bestIDE for P
Careful of using the wrong tool for the job. Don't use Python for the sake of it unless its as a learning experience.All of the things you ask for can be done by simply using the Windows start menu to launch a shortcut with various command line options. Voila - problem solved.
On 5 May 2006 05:15
You may find the IDE review at Straw Dogs worth a look: http://www.straw-dogs.co.uk/blog/python-ide-reviewOn 3/31/06,
Keith B. Perry <[EMAIL PROTECTED]> wrote:
To me, it just doesn't behave the same way as Eclipse for java. I have used the plug-in, and I usually use it on my home machine ( I am
"funkyj" <[EMAIL PROTECTED]> writes:
> One advantage of a generator over filtering the full product is that I,
> as the user of the generator, am not obligated to iterate over the
> entire solution space.
>
> Are there other _practical_ advantages of generators over mapping &
> filtering complete
OK, I have solved the problem. The reference was a help. The clue is that
the events may not get passed through the parent. For reference here is
the code that worked.
It's good to finally get the basics working.
Doug
import gtk
import gtk.glade
def key_press(widget,event):
print &quo
Hi all,
Can someone tell me why I do not get a connection between the events and
the functions in the sample below. GUI window appears OK, just no
connections seem to be made.
I am new to this so may be missing something fundamental.
Thanks,
Doug
file pgtest.glade
=
http
local but I have
included them for completeness)
Doug
--
http://mail.python.org/mailman/listinfo/python-list
A defector!Release the hounds!Burn the scum!
--
http://mail.python.org/mailman/listinfo/python-list
Python is in desperate need of marketing and I don't think its new site will help it.The Ruby community has a fanaticism we could learn from and its going some way to 'converting' me. The community is alive, growing, shouting from the roof tops while the Python community seems to sit in its ivory
haps this is an example where we could do with taking a leaf out of Ruby's book? (
http://redhanded.hobix.com/redesign2005/)-Doug Bromleyblog.straw-dogs.co.uk
On 8 Mar 2006 14:20:29 -0800, Kay Schluehr <[EMAIL PROTECTED]> wrote:
Michael Tobis wrote:> > No one> > of the com
Producing a SERPS scraper for Google would be very easy and possible in about 10-15 lines of code. However, its against the Google terms of service and if they decide to bite you for breaching them then you'll be in trouble. Its also a reason you'll not likely find one that trumpets its existence
Hi AllPlease be gentle but I'm primarily a PHP coder after a few years of academic experience in Java I've lost my object orientated programming style and have become a procedural PHP coder. I started using Python almost 12mths ago now but I'm still very much working in a PHP style. Obviously I n
I did a review of Python IDE's at my blog. If you're interested you can take a look:http://www.straw-dogs.co.uk/blog/python-ide-reviewI have a couple of links to other reviews on there too. Worth a look if you're trying to find a good IDE.
On 2/20/06, Tim Parkin <[EMAIL PROTECTED]> wrote:
Mladen
I've often wondered this. I was thinking more along the lines of a
scriptable Python editor like Emacs.
The only thing I've noticed is:
CUTE - *nix only. - (http://cute.sourceforge.net/)
PyEditor - (http://www.rexx.com/~dkuhlman/pyeditor_howto.html)
ViImproved - (http://wiki.python.org/moin/ViImp
Has anyone successfully compiled python 2.4 to run under linux powerpc
604? I have the ELINOS cross compile environemnt working, but always
run into problems when executing make. Unfortunately, my target
embedded system does not have a complete build chain so I have to use a
cross compiler. Is th
File
System". Use Disk Utility to create a disk image and then erase it
(again, using Disk Utility) and put UFS on it. You'll find that "touch
foo FOO" will create two files.
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
--
http://mail.python.org/mailman/listinfo/python-list
Why is the ElementTree API not a part of the Python core?
I've recently been developing a script for accessing the Miva API only
to find all the core API's provided by Python for parsing XML is messy
and complicated. Many of the examples I see for parsing the data using
these API's uses a similar
x27;exit: (.*?)', a)
> In [4]: b.group(0)
> Out[4]: 'exit: '
>
> In [5]: b.group(1)
> Out[5]: ''
>
> In [6]: b.group(2)
> IndexError: no such group
The ? tells (.*?) to match as little as possible and that is nothing.
If you change it to (.*) it should
e: Does anyone know how to get the size of the incoming file
data without reading the whole thing into a string? Can I do something with
content_header?
Thanks much for any insight that you might have.
Doug
--
http://mail.python.org/mailman/listinfo/python-list
> dash. This is much nicer than in C or Python having to get rid of """ or
> > /* and */. Of course, the IDE can compensate. But it's still neat :)
>
> python:
>
> """
> print 10
> """
>
> and
>
> #"
Is there a good IDE for Python? I have heard that Eclipse
has a plugin for Jython only.
Thanks
--Doug
--
http://mail.python.org/mailman/listinfo/python-list
does? In other words, I want a
> pattern like this:
>
> >>> re.findall(".+", "foo") # not what I want
> ['foo']
> >>> re.findall("something", "foo") # what I want
> ['f', 'oo']
How's this?
iven by
f(n+1) = f(n) * 2^(1/12)
so by the time you go all 12 notes in an octave you have doubled the
frequency. There is nothing here involving base 12 or pi.
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
--
http://mail.python.org/mailman/listinfo/python-list
OTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Doug Helm" <[EMAIL PROTECTED]> wrote:
>
> >Hey, Folks:
> >
> >I'm trying to write a very simple file upload CGI. I'm on a Windows
server.
> >I *am* using the -u switch to start Python for C
Andrew:
I'm a dope. You're brilliant. Thank you. That worked splendidly.
Doug
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Doug Helm wrote:
>
> > form = cgi.FieldStorage()
> > if lobjUp.Save('filename', 'SomeFile.
, ['T'], ['A', 'G']]
How about this?
import re
s = "ATT/GATA/G"
result1 = re.findall(r"./.|.", s)
consensus = [c.split("/") for c in result1]
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
--
http://mail.python.org/mailman/listinfo/python-list
, ['T'], ['A', 'G']]
How about this?
import re
s = "ATT/GATA/G"
result1 = re.findall(r"./.|.", s)
consensus = [c.split("/") for c in result1]
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
--
http://mail.python.org/mailman/listinfo/python-list
t an error if I didn't)...
I'm not getting any error. I submit a multi-part form to save a file
attachment to disk, and the post just hangs.
Does anyone have any ideas on this? Has anyone made CGI file uploads work
in a Windows / IIS environment?
Thanks much for any help that you ca
. .py =
python.exe -u %s %s)?
Thanks.
Doug
"dimitri pater" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Maybe this helps:
> http://www.voidspace.org.uk/python/cgi.shtml#upload
>
> I use it, it works for fine me
> Maybe it will give you some clues on how t
, ['T'], ['A', 'G']]
How about this?
import re
s = "ATT/GATA/G"
result1 = re.findall(r"./.|.", s)
consensus = [c.split("/") for c in result1]
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
--
http://mail.python.org/mailman/listinfo/python-list
Hey, Folks:
I'm trying to write a very simple file upload CGI. I'm on a Windows server.
I *am* using the -u switch to start Python for CGIs, as follows:
c:\python\python.exe -u %s %s
I *do* have write permissions on the directory I'm trying to write to. But,
when I click submit, it just hangs.
In article <[EMAIL PROTECTED]>,
Reinhold Birkenfeld <[EMAIL PROTECTED]> wrote:
> Doug Schwarz wrote:
>
> > Dave,
> >
> > I think eval might be what you're looking for:
> >
> > f = eval('len')
> > length = f([1,2,3])
>
nt 'bar'
>
>
> i'd really appreciate any help the 'group' has to offer.
>
>
> thanks
> dave
Dave,
I think eval might be what you're looking for:
f = eval('len')
length = f([1,2,3])
By the way, are you the Dave Ekhaus I used to work with at Kodak?
--
Doug Schwarz
dmschwarz&urgrad,rochester,edu
Make obvious changes to get real email address.
--
http://mail.python.org/mailman/listinfo/python-list
1 - 100 of 174 matches
Mail list logo