On 16/10/2014 01:44, ryguy7272 wrote:
If you carry on using this approach and you continue using the buggy
google groups interface you're unlikely to make many friends. May I
suggest that before posting you spend a few minutes doing some research
as Python has been in use for 22 years so your
On 15/10/2014 23:50, ryguy7272 wrote:
The error that I get is this.
'invalid syntax'
The second single quote in this line is highlighted pink.
print 'Downloading data from Yahoo for %s sector' % sector
This is a script written for Python 2.*, but you say you are using
Python 3.4. In Python 3,
- Original Message -
> From: Rustom Mody
> To: python-list@python.org
> Cc:
> Sent: Monday, October 13, 2014 10:00 AM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On Monday, October 13, 2014 1:24:27 PM UTC+5:30, Chris Angelico wrote:
>> On Mon, Oct
- Original Message -
> From: Chris Angelico
> To:
> Cc: Python
> Sent: Sunday, October 12, 2014 4:20 PM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On Mon, Oct 13, 2014 at 12:33 AM, Albert-Jan Roskam
>
> wrote:
>> *) Make altinstall
>> sudo apt
- Original Message -
> From: Gayathri J
> To: Albert-Jan Roskam
> Cc: Python
> Sent: Sunday, October 12, 2014 6:15 PM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> I have been using Anaconda's (Continnum) conda installation for system
> installation
On Thu, Oct 16, 2014 at 7:42 PM, Albert-Jan Roskam wrote:
>
>> From: Chris Angelico
>> Generally, this is the method I would recommend. For a start, run this:
>>
>> sudo apt-get build-dep python
>
> Aha, useful tip. But won't this (re)build the dependencies of the default
> python version?
> Or
- Original Message -
> From: Terry Reedy
> To: python-list@python.org
> Cc:
> Sent: Monday, October 13, 2014 2:54 AM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On 10/12/2014 9:33 AM, Albert-Jan Roskam wrote:
>
>
>> A few days ago I needed to ch
>
> Python3:
>print(counter, end='\r')
>
> Gary Herron
>
>
Thanks, that is what I was looking up - \r carriage return without linefeed.
Thanks again!
Shiva
--
https://mail.python.org/mailman/listinfo/python-list
- Original Message -
> From: Chris Angelico
> To:
> Cc: Python
> Sent: Thursday, October 16, 2014 10:48 AM
> Subject: Re: what is the easiest way to install multiple Python versions?
>
> On Thu, Oct 16, 2014 at 7:42 PM, Albert-Jan Roskam
> The differences between 2.6 and 2.7 are
On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote:
> One may have to install activestate tkc/tk on mac, depending on osx
> version. This page has details:
> https://www.python.org/download/mac/tcltk
Ok Ive some more information:
The people in the audience using macs are usin
On Wednesday, 15 October 2014 19:39:43 UTC+1, Shiva wrote:
> I am trying to search a string through files in a directory - however while
> Python script works on it and writes a log - I want to present the user with
> count of number of strings found. So it should increment for each string
> foun
On 2014-10-16 14:29, Rustom Mody wrote:
On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote:
One may have to install activestate tkc/tk on mac, depending on osx
version. This page has details:
https://www.python.org/download/mac/tcltk
Ok Ive some more information:
The peopl
On Thu, Oct 16, 2014 at 7:44 AM, Simon Kennedy wrote:
> When you looked through the other answers and found a solution you're happy
> with that does not use the standard library you can look through the
> documentation and find a stdlib
> (https://docs.python.org/2.7/library/index.html) provide
On Wednesday, 15 October 2014 20:31:15 UTC+1, Ian wrote:
> I agree. I very rarely use blank lines inside functions. As I see it,
> if you feel you need a blank line for separation within a function,
> that's an indication your function is overly complex and should be
> broken up.
Whereas I feel t
On Thursday, 16 October 2014 15:05:47 UTC+1, Ian wrote:
> I would have suggested a Counter if I thought it fit the OP's use
> case. If you're listing directory contents, you're not going to have
> any repeated strings, so all the counts will be 1, and your Counter
> might as well be a list, which
On Thu, Oct 16, 2014 at 11:31 PM, Albert-Jan Roskam wrote:
> Most things were indeed easy to solve. But this one surprised me. With Python
> 2.6, I need to outcomment the 'lambda' line. The error is what I get in
> Python 2.6. It does not matter if I do u"\n".join(het_logboek[i:]). I don't
> us
On Fri, Oct 17, 2014 at 1:08 AM, Simon Kennedy wrote:
> On Wednesday, 15 October 2014 20:31:15 UTC+1, Ian wrote:
>> I agree. I very rarely use blank lines inside functions. As I see it,
>> if you feel you need a blank line for separation within a function,
>> that's an indication your function is
On Fri, Oct 17, 2014 at 1:04 AM, MRAB wrote:
> In Macland it's called the terminal emulator:
>
> http://en.wikipedia.org/wiki/Terminal_%28OS_X%29
To be strictly correct, the "shell" would be the thing you run that
gives you a prompt, and the "terminal emulator" would be the thing you
run that giv
On 2014-10-16, Chris Angelico wrote:
> On Fri, Oct 17, 2014 at 1:04 AM, MRAB wrote:
>> In Macland it's called the terminal emulator:
>>
>> http://en.wikipedia.org/wiki/Terminal_%28OS_X%29
>
> To be strictly correct, the "shell" would be the thing you run that
> gives you a prompt, and the "termin
On Fri, Oct 17, 2014 at 3:23 AM, Grant Edwards wrote:
> On 2014-10-16, Chris Angelico wrote:
>> On Fri, Oct 17, 2014 at 1:04 AM, MRAB wrote:
>>> In Macland it's called the terminal emulator:
>>>
>>> http://en.wikipedia.org/wiki/Terminal_%28OS_X%29
>>
>> To be strictly correct, the "shell" would
On Thu, Oct 16, 2014 at 8:21 AM, C@rlos wrote:
>
> I have been tryed to convert a Qstring text to string on python, in linux
> that work fine but in windows when qstring contine á,é,í,ó,ú the converted
> text is not correct, contine extranger characters,
> this qstring text is an url from qdialogt
I've been using the python-nltk package on Ubuntu, but I need ntlk 3.0
now. I used 'sudo aptitude purge python-nltk' to get rid of my
existing installation, & followed instructions on the nltk website [1]
starting at step 4 (since I already have python-pip & python-numpy
packages installed).
$ su
On 16/10/14 19:14, Danny Yoo wrote:
need more information. But I think you may get better help on a
Qt-specific mailing list; I suspect very few of us here have Qt
experience.
There are at least 2 Python Qt mailing lists and also two for
Side which is Nokia's public domain fork of Qt. That's
-
On Thu, Oct 16, 2014 10:59 PM CEST Alan Gauld wrote:
>On 16/10/14 19:14, Danny Yoo wrote:
>
>> need more information. But I think you may get better help on a
>> Qt-specific mailing list; I suspect very few of us here have Qt
>> experience.
>
>There are at least 2 P
On 10/15/2014 5:40 PM, ryguy7272 wrote:
ImportError: No module named 'urllib2'
I'm telling Python to import because it doesn't exist and it throws an error.
I don't get it; I just don't get it. If I'm working with R, I can import
thousands of libraries with no errors whatsoever. With Python,
I am thinking of writing a new mac and/or windows application using python 3.x
and the tkinter gui toolkit. A question that I have is this..
If my application uses a version of python/tkinter that is not on the users
computer will I be able to detect that during an install and automatically
ins
On Thu, Oct 16, 2014 at 4:54 PM, Noble Bell wrote:
> If my application uses a version of python/tkinter that is not on the users
> computer will I be able to detect that during an install and automatically
> install the proper files silently?
You mean, like this?
% python -c 'import _tkinter ;
On 16Oct2014 06:29, rusi wrote:
On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote:
One may have to install activestate tkc/tk on mac, depending on osx
version. This page has details:
https://www.python.org/download/mac/tcltk
Ok Ive some more information:
The people in the
On Thu, Oct 16, 2014 at 5:29 PM, Emile van Sebille wrote:
> On 10/15/2014 5:40 PM, ryguy7272 wrote:
>>
>> ImportError: No module named 'urllib2'
>> I'm telling Python to import because it doesn't exist and it throws an
>> error. I don't get it; I just don't get it. If I'm working with R, I can
>
On 16/10/2014 23:28, Joel Goldstick wrote:
On Thu, Oct 16, 2014 at 5:29 PM, Emile van Sebille wrote:
On 10/15/2014 5:40 PM, ryguy7272 wrote:
ImportError: No module named 'urllib2'
I'm telling Python to import because it doesn't exist and it throws an
error. I don't get it; I just don't get i
On Friday, October 17, 2014 3:48:20 AM UTC+5:30, Cameron Simpson wrote:
> On 16Oct2014 06:29, rusi wrote:
> >On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote:
> >> One may have to install activestate tkc/tk on mac, depending on osx
> >> version. This page has details:
> >> ht
On Tuesday, September 30, 2014 10:09:52 PM UTC+5:30, Rustom Mody wrote:
> On Tuesday, September 30, 2014 8:48:15 PM UTC+5:30, c...@isbd.net wrote:
> > Rustom Mody wrote:
> > > On Tuesday, September 30, 2014 5:18:31 PM UTC+5:30, Chris wrote:
> > > > I would actually
> > > > quite like to keep the co
On Thursday, October 16, 2014 5:14:44 PM UTC-5, Skip Montanaro wrote:
> On Thu, Oct 16, 2014 at 4:54 PM, Noble Bell wrote:
>
> > If my application uses a version of python/tkinter that is not on the users
> > computer will I be able to detect that during an install and automatically
> > install
On 16/10/2014 12:32 AM, Chris “Kwpolska” Warrick wrote:
Why? Because things like `print 'done'` usually have an empty line
before it:
Not in my code, they don't. I never put blank lines
inside functions.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On 16Oct2014 18:08, rusi wrote:
On Friday, October 17, 2014 3:48:20 AM UTC+5:30, Cameron Simpson wrote:
On 16Oct2014 06:29, rusi wrote:
>On Thursday, October 9, 2014 2:56:56 PM UTC+5:30, Terry Reedy wrote:
>> One may have to install activestate tkc/tk on mac, depending on osx
>> version. This
Dear all,
I am bit new to the python/pyplot.
This might be simple, but I guess I am missing something here.
I have data file as follows:
2.1576318858 -1.8651195165 4.2333428278
2.1681875208 -1.9229968780 4.1989176884
2.3387636157 -2.0376253255 2.4460899122
2.1696565965 -2.6186941271 4.4172007912
2
36 matches
Mail list logo