I have a list named "lsNearCities" which contains "states" and "cities" in
it. And I write the values in the list to csv where the column will be in
the order of city and state. And also I did sorting based on the state
first and cities second. Now I want the csv to be printed as shown below.
How c
On Sunday, April 19, 2015 at 9:05:54 AM UTC+5:30, Steven D'Aprano wrote:
> On Sat, 18 Apr 2015 06:44 am, Larry Martell wrote:
>
> > On Fri, Apr 17, 2015 at 4:31 PM, Marko Rauhamaa wrote:
> >> beliavsky:
> >>
> >>> If your target audience is women, I think you should have termed it
> >>> the Djang
On Sat, 18 Apr 2015 08:24 pm, edream...@gmail.com wrote:
> Many google groups support markdown or other markup.
>
> I see no mention of markup here:
> https://www.python.org/community/clpya-guidelines.txt/
>
> Is there any way to format announcements? If so, how. If not, why not?
If your anno
On Sat, 18 Apr 2015 06:44 am, Larry Martell wrote:
> On Fri, Apr 17, 2015 at 4:31 PM, Marko Rauhamaa wrote:
>> beliav...@aol.com:
>>
>>> If your target audience is women, I think you should have termed it
>>> the Django Womens Workshop rather than the Django Girls Workshop.
>>> Referring to adult
On Saturday, April 18, 2015 at 5:29:23 PM UTC-3, Peter Otten wrote:
> santiago.basu...@gmail.com wrote:
>
> > Hello everybody. I'm writing a CLI program to do some search. It's an
> > internal tool. I'd like to provide the option to my user to format the
> > results as he/she'd like. Something sim
On Sat, Apr 18, 2015 at 6:42 PM, Cameron Simpson wrote:
> I think I understood that there was an existing archive. My caveat was more
> something to consider before choosing GGroups (too late, and in any case
> hardly a deal breaker, especially since Google finally cleaned up a lot of
> their HTML
On 18Apr2015 07:50, Skip Montanaro wrote:
On Fri, Apr 17, 2015 at 7:33 PM, Cameron Simpson wrote:
However, before you get very excited see if people can get messages back out
of the archive. A major annoyance for me with GGroups versus mailman is that
if I join a group I cannot download the hi
On 04/18/2015 01:07 PM, D. Xenakis wrote:
Maybe this is pretty simple but seems I am stuck...
def message_function():
return "HelloWorld!"
def thread_maker():
"""
call message_function()
using a new thread
and return it's "HelloWorld!"
"""
pass
Could someon
On 2015-04-18 18:50, D. Xenakis wrote:
This sounds like homework... what have you tried, and what happened?
heheh naaah no cheating here. I just provided the example this way to make as
clear as possible what I want to do. Return the returned value from a threaded
function.
apparently this d
santiago.basu...@gmail.com wrote:
> Hello everybody. I'm writing a CLI program to do some search. It's an
> internal tool. I'd like to provide the option to my user to format the
> results as he/she'd like. Something similar to strftime on the datetime
> module.
>
> Example:
>
> from datetim
"D. Xenakis" writes:
>> Have you looked at the docs of the threading module?
> Lost in there
You should probably read a book about operating systems to get a sense
of how the stuff in there works. The software docs assume you're
familiar with the basic principles that you would get from a book o
Hello everybody. I'm writing a CLI program to do some search. It's an internal
tool. I'd like to provide the option to my user to format the results as
he/she'd like. Something similar to strftime on the datetime module.
Example:
from datetime import datetime
d = datetime.utcnow()
d
On Friday, March 13, 2015 at 5:36:35 PM UTC+8, Marko Rauhamaa wrote:
> Rustom Mody :
>
> > Nice demo of the same confusing terminology we are talking about.
>
> Why don't you just stick with the terminology of the language
> specification? I think your students are going to be more confused if
>
In article ,
wrote:
>Den tisdag 7 april 2015 kl. 16:30:15 UTC+2 skrev Denis McMahon:
>> On Tue, 07 Apr 2015 09:29:59 -0400, Dave Angel wrote:
>>
>> > On 04/07/2015 05:44 AM, jonas.thornv...@gmail.com wrote:
>>
>> >> I want todo faster baseconversion for very big bases like base 1 000
>> >> 000, s
In article <551e2cfd$0$11123$c3e8...@news.astraweb.com>,
Steven D'Aprano wrote:
>On Wednesday 01 April 2015 00:18, Albert van der Horst wrote:
>
>> In article <55062bda$0$12998$c3e8da3$54964...@news.astraweb.com>,
>> Steven D'Aprano wrote:
>
>>>The biggest difference is syntactic. Here's an ite
> This sounds like homework... what have you tried, and what happened?
heheh naaah no cheating here. I just provided the example this way to make as
clear as possible what I want to do. Return the returned value from a threaded
function.
apparently this does not work as I hoped:
return Thread(
"D. Xenakis" writes:
> Maybe this is pretty simple but seems I am stuck...
thread_maker() == "HelloWorld!"
This sounds like homework... what have you tried, and what happened?
Have you looked at the docs of the threading module?
--
https://mail.python.org/mailman/listinfo/python-list
Maybe this is pretty simple but seems I am stuck...
def message_function():
return "HelloWorld!"
def thread_maker():
"""
call message_function()
using a new thread
and return it's "HelloWorld!"
"""
pass
Could someone please complete above script so that:
thread_mak
On Sat, 18 Apr 2015 11:36:34 +0100, Tim Golden wrote:
> On 18/04/2015 11:24, edream...@gmail.com wrote:
[snip]
>> Is there any way to format announcements? If so, how. If not, why not?
[snip]
> Both of those services -- Usenet & Mailing list -- are traditionally
> plain text. One could certainl
An article from Eli Bendersky that I found interesting, maybe the same
applies to you.
http://eli.thegreenplace.net/2015/calling-back-into-python-from-llvmlite-jited-code/
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
-
On Fri, Apr 17, 2015 at 7:33 PM, Cameron Simpson wrote:
> However, before you get very excited see if people can get messages back out
> of the archive. A major annoyance for me with GGroups versus mailman is that
> if I join a group I cannot download the historical archive. (This is a
> standard
On 2015-04-18, edream...@gmail.com wrote:
> Many google groups support markdown or other markup.
>
> I see no mention of markup here:
> https://www.python.org/community/clpya-guidelines.txt/
>
> Is there any way to format announcements? If so, how. If not, why not?
Because this is not a "google
On 18/04/2015 11:24, edream...@gmail.com wrote:
Many google groups support markdown or other markup.
I see no mention of markup here:
https://www.python.org/community/clpya-guidelines.txt/
Is there any way to format announcements? If so, how. If not, why not?
Because this is not, primarily,
Many google groups support markdown or other markup.
I see no mention of markup here:
https://www.python.org/community/clpya-guidelines.txt/
Is there any way to format announcements? If so, how. If not, why not?
Edward
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, 18 April 2015 08:09:06 UTC+1, wxjm...@gmail.com wrote:
> Le samedi 18 avril 2015 03:19:40 UTC+2, Paddy a écrit :
> > Having just seen Raymond's talk on Beyond PEP-8 here:
> > https://www.youtube.com/watch?v=wf-BqAjZb8M, it reminded me of my own
> > recent post where I am soliciting
Rustom Mody :
>> It would be possible to define a canonical AST storage format. Then,
>> your editor could "incarnate" the AST in the syntax of your choosing.
>>
>> [...]
>
> Things like comments are a headache -- they have to be shoved into the
> AST rather artificially
I don't think comments w
Chris Angelico :
> On Sat, Apr 18, 2015 at 1:47 PM, Paul Rubin wrote:
>> I don't remember anyone mentioning this here yet, and it is mighty cool:
>>
>> https://www.python.org/dev/peps/pep-0492/
>
> [...]
>
> And yes, it IS cool. I think the current proposal has a lot of
> duplication (it looks li
On Saturday, April 18, 2015 at 12:30:49 PM UTC+5:30, Marko Rauhamaa wrote:
> Ben Finney :
>
> > If you only write programs that will only ever be read by you and
> > no-one else, feel free to maintain a fork of Python (or any other
> > language) that suits your personal preferences.
>
> It would
Ben Finney :
> If you only write programs that will only ever be read by you and
> no-one else, feel free to maintain a fork of Python (or any other
> language) that suits your personal preferences.
It would be possible to define a canonical AST storage format. Then,
your editor could "incarnate"
29 matches
Mail list logo