Gayathri,
On 30 January 2013 06:51, Gayathri S wrote:
> Hi All!
> I don't know how to read text file in python. If the data
> values are stored in a text file format, for example(1,30,60,90,120...200)
> means what i would do for reading it in python. could you just explain
On Jan 29, 2013, at 11:49 PM, Marc Tompkins wrote:
>
> I'm pretty sure that's a typo. It should say:
> python virtualenv.py
>
Woohoo!!! It works.
You're right. It worked this way and I was able to install pip.
And I got selenium to work.
Apparently the problem is that selenium isn't compatible
Hi,
Now I just have to figure out how to write the code with the selenium
> module.
>
>
Install the Firefox extension/add-on "Selenium IDE" which will help with
that too:
http://seleniumhq.org/download/
http://seleniumhq.org/docs/02_selenium_ide.jsp#
It's effectively a browser macro recorder w
I was trying to write text to a file and got the following error:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position
5495: ordinal not in range(128)
I tried several things I found online, such as:
text.encode("ascii", "ignore")
which gave me the same error
and
text.rep
On Wed, Jan 30, 2013 at 2:39 PM, Benjamin Fishbein wrote:
> I was trying to write text to a file and got the following error:
>
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in
> position 5495: ordinal not in range(128)
>
> I tried several things I found online, such as:
>
> t
Benjamin Fishbein wrote:
> I was trying to write text to a file and got the following error:
>
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in
> position 5495: ordinal not in range(128)
>
> I tried several things I found online, such as:
> text.encode("ascii", "ignore")
> w
> Using text.encode("ascii", "ignore") should absolutely work. You could also
> just write the file in UTF-8 if you don't absolutely need ascii by using
> text.encode("utf-8").
>
> Hugo
You're right. It does work. I forgot to assign the result to a variable:
text = text.encode("ascii", "ignore"
On 1/30/2013 1:51 AM, Gayathri S wrote:
I am sorry that you chose to ignore my request to start a new email with
a relevant subject.
Please next time do so.
The easier you make it for us to help you the more likely we will want
to help.
--
Bob Gailer
919-636-4239
Chapel Hill NC
__