"Senthil Kumaran" wrote
I am looking for a good material that would provide exercises (and
possibly solutions to demo exercises) that illustrates the Object
Oriented Programming constructs in Python. Can pointers?
I'm not sure what exactly you have in mind but most tutorials
will cover OOP
"ish_ling" wrote
'a b c h'
I would like a regex to
Congratulations on a cclear explanation of what you want.
With regex questions that is half the battle.
I have figured out how to do this in a multiple-step process
And there's nothing much wrong with multi step.
with re.findall()
>
>
> file1:
> 1a1 1b1 1c1 1d1 1e1 1f1
> 2a1 2b1 2c1 2d1 2e1 2f1
> 3a1 3b1 3c1 3d1 3e1 3f1
>
> file2:
> 1a2 1b2 1c2 1d2 1e2 1f2
> 2a2 2b2 2c2 2d2 2e2 2f2
> 3a2 3b2 3c2 3d2 3e2 3f2
I second Alan G's appreciation for a well-thought-through and well-conveyed
description of your text processing task. (Is "Alan G" his gangsta name, I
wonder?)
This pyparsing snippet may point you to some easier-to-follow code,
especially once you go beyond the immediate task and do more exhausti
On Sun, Feb 22, 2009 at 10:49 PM, ish_ling wrote:
> I have a string:
>
>'a b c h'
>
> I would like a regex to recursively match all alpha letters that are between
> . That is, I would like the following list of matches:
>
>['d', 'e', 'f', 'i', 'j']
>
> I do not want the 'g' or the 'k' mat
Le Mon, 23 Feb 2009 06:45:23 -0500,
Kent Johnson s'exprima ainsi:
> On Sun, Feb 22, 2009 at 10:49 PM, ish_ling wrote:
> > I have a string:
> >
> >'a b c h'
> >
> > I would like a regex to recursively match all alpha letters that are
> > between . That is, I would like the following list of
>
Hello,
I have this csv file:
$ cat licences.csv
"1","Air Travel Organisation Licence (ATOL)\n Operates Inclusive Tours (IT)"
"2","Air Travel Organisation Licence (ATOL)\n Appointed Agents of IATA
(IATA)"
"3", "Association of British Travel Agents (ABTA) No. 56542\n Air Travel
Organisation Lice
Well that did seem to help, at least I get an error now:-)
I changed my config to:
ScriptAlias /python/ /var/www/samuelhuckins.com/python/
SetHandler mod_python
PythonHandler mod_python.publisher
PythonDebug On
So I have
Le Mon, 23 Feb 2009 14:41:10 +0100,
Norman Khine s'exprima ainsi:
> Hello,
>
> I have this csv file:
>
> $ cat licences.csv
> "1","Air Travel Organisation Licence (ATOL)\n Operates Inclusive Tours (IT)"
> "2","Air Travel Organisation Licence (ATOL)\n Appointed Agents of IATA
> (IATA)"
> "3", "
> Under Start there's a ? icon that says Help and Support. Minimal info.
Yes, although by exploring the links and using the Microsoft Knowledgebase
panel on the left you do get more than I remembered. I just think the DOS
HELP command is easier to use.
However I did find a good overview on Te
"Bala subramanian" wrote
I want to extract 1a1 2a1 3a1 from file 1, similarly 1a2 2a2 3a2
from file
2 ( same columns) and then make a new output file of the following
format
1a1 1a2 ---
2a1 2a2 ---
3a1 3a2 ---
Similarly for the 2nd, 3rd, 4th..columns in the input files.
OK, So you want
Here's a simple repositioning code given that you already have the
fields extracted.
All files have to have equal dimensions.
file1 = [["1a1", "1b1", "1c1",], ["2a1", "2b1", "2c1"],]
file2 = [["1a2", "1b2", "1c2",], ["2a2", "2b2", "2c2"],]
files = [file1, file2]
out_lines = []
for column in range
wormwood_3 wrote:
> Hello all,
Hi Sam,
> I'll try to give as much detail as I can, but this is a somewhat vague
> problem. I have a very simple script that I would like to implement as a
> CGI script, just so I can hit a URL and get some output. However, after
> following a number of tutorials, I
Thanks for all the suggestions! I tried to go through them, and will relate
what results I encountered. I changed my Apache config to:
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
I in f
wormwood_3 wrote:
> Thanks for all the suggestions! I tried to go through them, and will
> relate what results I encountered. I changed my Apache config to:
>
>
> AllowOverride None
> Options ExecCGI
> Order allow,deny
>
15 matches
Mail list logo