An opportunity to work in Python, and the necessity of working with some XML
too large to visualize, got me thinking about an answer Alan Gauld had written
to me a few years ago
(https://mail.python.org/pipermail/tutor/2015-June/105810.html). I have
applied that information in this script, but
Hello all,
I often use now() and strftime() from datetime, but it seems like I
can't import just those functions. The os module allows me to import
like this:
from os.path import join,expanduser
but I get an error if I try
from datetime.datetime import now, strftime
But if I import all of os
On Mon, Aug 3, 2015, at 04:55 PM, acolta wrote:
> Hi,
>
> I am new in python, so just curios if there are any good and appreciated
> python certification programs/courses ?
I'm interested in this too, but some googling only finds a 4-part
O'Reilly program that's no longer available. They're movi
Hello all,
I'm trying to merge and filter some xml. This is working well, but I'm
getting one node that's not in my list to include. Python version is
3.4.0.
The goal is to merge multiple xml files and then write a new one based
on whether or not is in an include list. In the mock data below,
Hello all,
Basically what I have here is header and line data for sales or purchase
orders, and I'm trying to do a sql-like join to bring them together
(which ultimately I did because I couldn't figure this out :)). I've
managed to get the files into python using string slicing, that's not a
prob
With the stat command in GNU coreutils, I can get a file's
modification time, with timezone offset. For example, the
output of "stat -c %y *" looks like
2014-02-03 14:48:17.0 -0200
2014-05-29 19:00:05.0 -0100
What I want to do is get the mtime in ISO8601 format, and I've
I'm trying to sort the order of elements in an xml file, mostly
to make visual inspection/comparison easier. The example xml and
code on http://effbot.org/zone/element-sort.htm get me almost
what I need, but the xml I'm working with has the element I'm
trying to sort on one level deeper.
That pa
Hello all,
A bit of background, I had some slides scanned and a 3-character
slice of the file name indicates what roll of film it was.
This is recorded in a tab-separated file called fileNames.tab.
Its content looks something like:
p01 200511_autumn_leaves
p02 200603_apple_plum_cherry_blo