its a open source
u need to delete the installed package or rename the package
y have full flexibility
On Sun, Jul 12, 2009 at 8:12 AM, wcyee wrote:
> Hi, When I am able to find and install a windows package distributed
> as an exe file, I can just go to "Add & Remove Programs" in th
Hi, When I am able to find and install a windows package distributed
as an exe file, I can just go to "Add & Remove Programs" in the
"Control Panel" and uninstall it.
But if I have to run "python setup.py install", this is not possible.
I'm trying to understand why uninstall has not been provided
Pete Froslie wrote:
the trailing comma is getting me much closer right away! -- will read about
the other options you suggest (rstrip(); stdout: write()) I clearly have a
few other issues I need to sort out now. i guess I've been assuming that
print was a good way to trace what is happening rathe
the trailing comma is getting me much closer right away! -- will read about
the other options you suggest (rstrip(); stdout: write()) I clearly have a
few other issues I need to sort out now. i guess I've been assuming that
print was a good way to trace what is happening rather than thinking about
Pete Froslie wrote:
thanks for the advice Alan.. I am wondering about the following:
new_word = response3[2]
old_word = response[word_number]
#this works but adds carriage returns*
for line in fileinput.FileInput("journey_test.txt",inplace=1):
line = line.replace(old_word, new_word)
thanks for the advice Alan.. I am wondering about the following:
new_word = response3[2]
old_word = response[word_number]
#this works but adds carriage returns*
for line in fileinput.FileInput("journey_test.txt",inplace=1):
line = line.replace(old_word, new_word)
print line
It seem
> I am having trouble with probably the most simple part:
> I cannot seem to go back into the 'txt' file and replace the word I just
> searched with the new word!
Its not a good idea to try to read and write to the same file at the same
time. The normal approach is to weither ead the file into
On 7/10/2009 7:15 PM Angus Rodgers said...
and such misdemeanours
from string import whitespace
def no_spaces(str):
Generally, don't shadow builtins (ie, don't use vars with the same names
as builtin functions -- str in this case)
Emile
___
So, I basically have this working so that it pulls a word from a 'txt' file;
searches for the synonym in the thesaurus; returns the result... but then I
am having trouble with probably the most simple part: I cannot seem to go
back into the 'txt' file and replace the word I just searched with the n
>Date: Sat, 11 Jul 2009 14:33:58 +1000
>From: Lie Ryan
>Message-ID:
>
>Err... what's the question? Are you asking for style checking or the
>mentioned "bugs" in the comments?
Mainly style checking (but more generally anything silly that I'm
doing, that might leap to somebody's eye). Any time my
Enthought is conducting a series of free webinars on scientific
computing with Python. They seem to be oriented to beginners. The next
one is about Chaco, the plotting tool.
http://blog.enthought.com/?p=125
Kent
___
Tutor maillist - Tutor@python.org
ht
Angus,I don't think you're at fault but you must keep in mind that a lot of
people that read this list get a lot of the same questions repeatedly, only
worded slightly differently.
I also didn't notice that you used slicing in your first message, and in
your second message I just saw that you quote
Robert Berman wrote:
>A nifty 'notation like "[::-1]"' is an example of something called
>slicing which you will find very well explained in 6.1 of CORE PYTHON
>PROGRAMMING. I thought that you had reviewed this since it precedes the
>questions in Chapter 6. It is a very handy tool for not only s
luis,
thanks for the kind words... i am glad that i am able to help you with
developing your Python programming skills. you are indeed "taking it
to the next level" by adding more to the problem without me asking you
to. i think that's great!
i am a software engineer by profession, which doesn't
Mr. Chun, thank you so much for your plug! I had no idea such a prestiged
author as yourself would respond to my question, but I'm glad you did! I
checked out a copy of your book from my public library (I'll need to
purchase a copy eventually though) and the exercises are definitely helping
a TO
15 matches
Mail list logo