I am not new in scripting in general.
And about a year I create scripts in python, but my approach was always based
on my habits from UNIX shell, where data types are not obvious.
Going deeper with python I see necessity to know better data types, differences
between them and most importantly whe
I try to create some scripts that will help me to open and manipulate
OpenOffice documents. Calc in particular. But I have some problems finding
right packages or libraries that offer such interface.
So far I was trying uno and unotools but the first step is to import them
failed. Here is the ou
Yep, I agree. virtualenv is the best way to go so far. It solves my wishes to
use python completely without root access too.
Thank's a lot.
Leonid
--
https://mail.python.org/mailman/listinfo/python-list
Mac OS X comes with its own version of python and structure to support it.
So far it was good enough for me. Then I started to use modules that
distributed through MacPorts and this is where I get lost.
I do not quite understand how Python environment is set. Or how to set it in a
way of using, s
It is nothing more but naming convention. This code was part of the function.
Actually, in the final version I removed that "f" and changed some names of
variables to shorter versions.
It is all about your own preferences towards readability of the code and
ability of visual capture of the code.
Thank you all.
Here is the last piece of code that caused me so much troubles but now working
the way I wanted it:
fRawData = []
with open(fStagingFile2) as fStagingFile2FH:
fRawData = [line.strip() for line in
fStagingFile2FH.readlines()] # This is