Thanks for your kind response. I tried to include the path 'C:\Program
Files\OpenOffice.org 2.0\program' in PYTHONPATH. but now i didnt get
any error message but its hanging while importing. Pls advice me to correct
this.
On Feb 6, 2008 3:54 AM, Tiger12506 <[EMAIL PROTECTED]> wrote:
> > "muhamed
>> I probably won't need to start writing classes but I really want to
>> finish the book before I start coding something.
One of the greatest mistakes of my life was to completely finish a
programming book before I started coding something. It is why I cannot write
a Visual Basic program to thi
> Is it possible to traverse say python lists via http://
>
> say there is a list in the memory
>
> can we traverse the list using list/next list/prev list/first list/last
>
> is there a pythonic library to do that?
>
> thanks
That's a very unlikely request. There are a few ways to interpret this
On Tue, Feb 05, 2008 at 08:02:19PM -, Alan Gauld wrote:
> "bhaaluu" <[EMAIL PROTECTED]> wrote
>
> > Now I am interested in learning how to DESIGN an object-oriented
> > version
The question was very interesting, and so where the answers.
> Don't at this stage worry too much about inheritanc
Is it possible to traverse say python lists via http://
say there is a list in the memory
can we traverse the list using list/next list/prev list/first list/last
is there a pythonic library to do that?
thanks
___
Tutor maillist - Tutor@python.org
h
> "muhamed niyas" <[EMAIL PROTECTED]> wrote
>
>> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH
>> evvironment
>> variable.
>
> Close but not quite.
> You need to set the module folder in your PYTHONPATH environment
> variable.
>
> PATH is where the python interpreter lives
>
aaron meredith wrote:
> heya kent say if i want to select which line to specificlly join the
> kept parts from so like to join /keptpart/1_1/ with /keptpart/6_2/
I don't understand. How would you select the line?
Kent
PS Please use Reply All to stay on list.
___
"bhaaluu" <[EMAIL PROTECTED]> wrote
> Now I am interested in learning how to DESIGN an object-oriented
> version
A useful distinction. You need to understand what classes are
before you can use them but the art of desiogn is indeed different
to the skills of construction
> Can I use the procedu
"muhamed niyas" <[EMAIL PROTECTED]> wrote
> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH
> evvironment
> variable.
Close but not quite.
You need to set the module folder in your PYTHONPATH environment
variable.
PATH is where the python interpreter lives
PYTHONPATH is where
"tyler" <[EMAIL PROTECTED]> wrote
> reference to the core language and standard libraries. It looks like
> Beazely's Essential Reference and the Martelli's Nutshell book are
> both aimed to fill this role - any reason to choose one over the
> other?
I have earlier editions of both books, and in
bob gailer wrote:
> dirs = [dir for dir in dirs if not dir.startswith(u'.')]
Except to filter the directory list for os.walk() you have to modify the
list in place. Use this:
dirs[:] = [dir for dir in dirs if not dir.startswith(u'.')]
Kent
___
Tutor ma
bhaaluu wrote:
> POOP: Python Object Oriented Programming/Programmer/Program(s)
POOP = borderline offensive and definitely annoying. Maybe you don't
know that poop is a synonym for excrement? Is that what you are trying
to learn?
> Now I am interested in learning how to DESIGN an object-ori
On Feb 5, 2008 1:13 PM, Marc Tompkins <[EMAIL PROTECTED]> wrote:
>
> On Feb 5, 2008 5:46 AM, bhaaluu <[EMAIL PROTECTED]> wrote:
> > What I'm interested in is the thought processes and/or
> > guidelines that Tutors employ when they sit down to design a POOP.
>
>
> The Code Smells page is as good a s
David J. Weller-Fahy wrote:
> Let me know if this should be on the general python list.
>
> I'm playing with some python to iterate over a directory structure. Part
> of the directory structure should be ignored, and will have a period (.)
> as the first character of the directory name.
>
> My s
Let me know if this should be on the general python list.
I'm playing with some python to iterate over a directory structure. Part
of the directory structure should be ignored, and will have a period (.)
as the first character of the directory name.
My solution was to use the following code.
#
On Feb 5, 2008 5:46 AM, bhaaluu <[EMAIL PROTECTED]> wrote:
> What I'm interested in is the thought processes and/or
> guidelines that Tutors employ when they sit down to design a POOP.
Whenever I have a few free minutes and a desire to contemplate the
infinite (Hah!), I surf over to the C2 wiki.
Aditya Lal wrote:
> On 04/02/08 10:42 PM, "Eric Brunson" <[EMAIL PROTECTED]> wrote:
>
>
>> dave selby wrote:
>>
>>> Hi all,
>>>
>>> I am not sure if this is a Python or bash issue :).
>>>
>>> In bash if I execute 'motion' with the following ...
>>>
>>> [EMAIL PROTECTED]:~/.kde/share/apps/km
Greg Lindstrom wrote:
> Hello,
>
> I'm trying to help out a friend and am stumped. Can you help me out?
> Thanks,
> --greg
>
Hi Greg,
I fought with this for a long, long time when I was trying to get
cx_Oracle to work with the latest Oracle Instant Client (which I like to
call "Oracle Instant
Hello,
I'm trying to help out a friend and am stumped. Can you help me out?
Thanks,
--greg
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I will briefly explain the problem I am facing.
I am using Oracle 9.2, Python 2.5 and I installed cx_Oracle-
4.3.1-win32-9i-py25
On 04/02/08 10:42 PM, "Eric Brunson" <[EMAIL PROTECTED]> wrote:
> dave selby wrote:
>> Hi all,
>>
>> I am not sure if this is a Python or bash issue :).
>>
>> In bash if I execute 'motion' with the following ...
>>
>> [EMAIL PROTECTED]:~/.kde/share/apps/kmotion$ motion &> /dev/null &
>> [1] 10
muhamed niyas wrote:
> Also i set 'C:\Program Files\OpenOffice.org 2.0\program' in PATH evvironment
> variable.
PYTHONPATH is the environment variable you need, it is one way to tell
the interpreter where to look for imports.
Kent
___
Tutor maillist -
Greetings,
POOP: Python Object Oriented Programming/Programmer/Program(s)
I have finished the procedural Python version of the Text Adventure Game.
See attached uuencoded zip file which contains tag10.py, data.py and actions.py.
[uudecode tag.uue; unzip tag.zip; python tag10.zip]
Now I am in
aaron meredith wrote:
> i have tried to do this so many different ways but im not sure how to do
> it, i have a file with say multiple lines in it, it has a word in each
> line i want to keep but i also need the kept word in every first and
> second line joined together with some text in the mid
Dear All,
I have a problem while importing UNO module in my windows vista. Openoffice
and its uno module is installed in D:\ drive and my application is running
in C:\ drive. i can import uno in interactive mode while moving to
'D:\Program Files\OpenOffice 2.0\program' location.
I am getting an er
i have tried to do this so many different ways but im not sure how to do it,
i have a file with say multiple lines in it, it has a word in each line i
want to keep but i also need the kept word in every first and second line
joined together with some text in the middle
this is what file looks like
25 matches
Mail list logo