On Saturday, November 12, 2016 at 7:34:31 AM UTC+5:30, Steve D'Aprano wrote:
> On Sat, 12 Nov 2016 09:29 am wrote:
>
> > I have a string
> > "Hello my name is Richard"
> >
> > I have a list of words as,
> > ['Hello/Hi','my','name','is','Richard/P']
> >
> > I want to identify the match of 'Hello'
I’m sending you the error message from command prompt
C:\Users\Jelena>py.exe -3.5-32 -m idlelib
Traceback (most recent call last):
File
"C:\Users\Jelena\AppData\Local\Programs\Python\Python35-32\lib\runpy.py", line
184, in _run_module_as_main
"__main__", mod_spec)
File
"C:\Users\Jelena\
Vidyalakshmi Rao writes:
> ...
> *Issue: Spyder hangs in instances while iterating over a list containing
> rows with nothing in it.*
>
>
> for eachinfo in range(len(textlist)): #remove non-ASCII characters from
> the textlist
> textlist[eachinfo] = re.sub(r'[^\x00-\x7F]+','', textlist
121sukha wrote:
> I am new to python and I want to use web scraping to download songs
> from website. how do I write code to check if the website has uploaded
> a new song and have that song automatically be downloaded onto my
> computer. I know how to use the requests.get() module but i am more
>
hello!
this is my code:
word=raw_input()
print word*3
with this code im getting - wordwordword.
what changes i need to make to get - word word word - instead?
thanks
--
https://mail.python.org/mailman/listinfo/python-list
On 2016-11-12, subhabangal...@gmail.com wrote:
> I am restating the problem.
>
> "Hello my name is Richard"
>
> is a string.
>
> I have tagged the words Hello and Richard
> as "Hello/Hi" and "Richard/P".
> After this I could get the string as a list of words
> as in,
> ['Hello/Hi','my','name','
guy asor writes:
> this is my code:
>
> word=raw_input()
> print word*3
>
>
> with this code im getting - wordwordword.
> what changes i need to make to get - word word word - instead?
Two hints:
What does ['a']*3 give you?
What about '/'.join(['a', 'b', 'c'])?
Can you find a way now?
--
Be
On Sat, 12 Nov 2016 11:58 pm, guy asor wrote:
> hello!
>
> this is my code:
>
> word=raw_input()
> print word*3
>
>
> with this code im getting - wordwordword.
> what changes i need to make to get - word word word - instead?
Lots of ways! Here is the simplest, but longest. Call print three ti
On Sat, 12 Nov 2016 11:07 pm, Veek M wrote:
> 121sukha wrote:
>
>> I am new to python and I want to use web scraping to download songs
>> from website. how do I write code to check if the website has uploaded
>> a new song and have that song automatically be downloaded onto my
>> computer. I know
On 11/11/2016 6:59 PM, Ben Finney wrote:
> mirko bonasorte writes:
>
>> what is the most appropriate way for a developer to promote his own
>> Python library?
> The general answer is: Publish it with full metadata on PyPI. That's
> where the Python community looks to find third-party modules, so
Steve D'Aprano wrote:
> On Sat, 12 Nov 2016 11:07 pm, Veek M wrote:
>
>> 121sukha wrote:
>>
>>> I am new to python and I want to use web scraping to download songs
>>> from website. how do I write code to check if the website has
>>> uploaded a new song and have that song automatically be downlo
Explore url module and you need urlretrieve()
saludos,
desde un móvil.
El nov 12, 2016 12:23 p.m., "Veek M" escribió:
> Steve D'Aprano wrote:
>
> > On Sat, 12 Nov 2016 11:07 pm, Veek M wrote:
> >
> >> 121sukha wrote:
> >>
> >>> I am new to python and I want to use web scraping to download songs
On 2016-11-12 09:13, jelena.tav...@gmail.com wrote:
I’m sending you the error message from command prompt
C:\Users\Jelena>py.exe -3.5-32 -m idlelib
Traceback (most recent call last):
[snip]
_tkinter.TclError: bad event type or keysym "Alt"
It looks like someone else has had the same problem
I've just spent a long time debugging what I imagined was a class inheritance
issue, but which was actually a lack of deep understanding of @property on my
part.
TL;DR: I am now using this @prop decorator instead of @property in an
increasing amount of my code:
def prop(func):
''' The bu
"Eric S. Johansson" writes:
> I could also use some of this information. I want to publish a couple of
> things that I found useful. My creations tend to be single file modules
> or commands and what I hope to understand from your guidance is how to
> bundle that single file module or standalone
Ahhh, and what is being shown is simply the __repr__. Gotcha. Thanks!
On Fri, Nov 11, 2016 at 1:03 PM, Rob Gaddi <
rgaddi@highlandtechnology.invalid> wrote:
> triccare triccare wrote:
>
> > Greetings,
> >
> > Apologies if this has shown up twice; I jumped the gun sending before
> > confirming reg
A friend of mine is developing a game engine, and I would like to extend the
engine by adding some scripting functionality. However, there's a lot of
information out there
--
https://mail.python.org/mailman/listinfo/python-list
(Sorry about the last post, my finger slipped before I was finished, and I
can't delete it for some reason.)
A friend of mine is developing a game engine, and I would like to extend the
engine by adding some scripting functionality. However, there's a lot of
information out there, and I have
18 matches
Mail list logo