On Saturday, September 3, 2016 at 8:53:18 PM UTC-5, Steve D'Aprano wrote:
> On Sat, 3 Sep 2016 12:34 pm, Denis Akhiyarov wrote:
>
> > Finally if anyone can contact Christian Heimes (Python Core Developer),
> > then please ask him to reply on request to update the license to MIT:
> >
> > https://g
On 04/09/16 09:53, Ulli Horlacher wrote:
> I need to sort images (*.jpg), visually, not by file name.
> It looks, there is no standard UNIX tool for this job?
>
There is a very good tutorial here:
http://www.pyimagesearch.com/2014/12/01/complete-guide-building-image-search-engine-python-opencv/
-
On Monday, September 5, 2016 at 4:34:45 PM UTC+1, Rustom Mody wrote:
> So what do you get when you replace the if-else with a simple: print(file) ?
>
> [And BTW dont use the variable name “file” its um sacred]
Only in Python 2, it's gone from the built-ins in Python 3
https://docs.python.org/3/
On Mon, 05 Sep 2016 20:01:08 +, alister wrote:
> On Mon, 05 Sep 2016 12:46:58 -0700, emaraiza98 wrote:
>
>> I installed pycharm for a computer science class I'm taking, and also
>> downloaded python 3.5.2. However, my computer for some reason won't use
>> 3.5.2 and my professor told me I need
On Mon, 05 Sep 2016 12:46:58 -0700, emaraiza98 wrote:
> I installed pycharm for a computer science class I'm taking, and also
> downloaded python 3.5.2. However, my computer for some reason won't use
> 3.5.2 and my professor told me I needed to download an earlier version
> to change the project i
I installed pycharm for a computer science class, and installed python 3.5.2.
However, my computer won't accept 3.5.2 so my teacher told me to install an
earlier version to change the project interpreter. I did but when I tried to
open python with pycharm it said that the "SKD is invalid". I don
I installed pycharm for a computer science class I'm taking, and also
downloaded python 3.5.2. However, my computer for some reason won't use 3.5.2
and my professor told me I needed to download an earlier version to change the
project interpreter. Whenever I try to use the earlier version of pyt
On Tue, Sep 6, 2016 at 2:29 AM, Smith wrote:
>> What exactly are you expecting the 'break' to do here? Can you explain
>> to me the intent of your code?
>>
>> ChrisA
>>
> I'd like to create a script that searches the directory .py files.
> If the script does not find the file extension .py would r
What exactly are you expecting the 'break' to do here? Can you explain
to me the intent of your code?
ChrisA
I'd like to create a script that searches the directory .py files.
If the script does not find the file extension .py would return the
error message "File Not Found".
--
https://mai
On 05/09/2016 17:57, jmp wrote:
Is that what you're expecting ?
A slightly different version:
import glob, os
a = input("search for files with the extension .py into directory: ")
print glob.glob(os.path.join(a, '*.py'))
jm
Thank you
Sorry, but i'm newbie :-(
--
https://mail.python.org/ma
On 09/05/2016 05:41 PM, Smith wrote:
Il 05/09/2016 17:34, Rustom Mody ha scritto:
So what do you get when you replace the if-else with a simple:
print(file)
a = input("search for files with the extension .py into directory: ")
for file in os.listdir(a):
if file.endswith(".py"):
Il 05/09/2016 17:34, Rustom Mody ha scritto:
So what do you get when you replace the if-else with a simple: print(file)
a = input("search for files with the extension .py into directory: ")
for file in os.listdir(a):
if file.endswith(".py"):
print(file)
search for fil
On Tue, Sep 6, 2016 at 1:27 AM, Smith wrote:
> Hello to all,
> I wanted to know because even though the files are present on the directory
> I write input gives me "file not found".
> You can help me?
> Thank you
>
> a = input("Digita la directory dove vuoi trovare i file py: ")
> for file in os.
On Tue, Sep 6, 2016 at 1:34 AM, Rustom Mody wrote:
> [And BTW dont use the variable name “file” its um sacred]
Nah, that part's fine. Python isn't religious about builtins.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
So what do you get when you replace the if-else with a simple: print(file) ?
[And BTW dont use the variable name “file” its um sacred]
--
https://mail.python.org/mailman/listinfo/python-list
On 09/05/2016 05:27 PM, Smith wrote:
Hello to all,
I wanted to know because even though the files are present on the
directory I write input gives me "file not found".
You can help me?
Thank you
a = input("Digita la directory dove vuoi trovare i file py: ")
for file in os.listdir(a):
if fi
Il 05/09/2016 17:27, Smith ha scritto:
Hello to all,
I wanted to know because even though the files are present on the
directory I write input gives me "file not found".
You can help me?
Thank you
a = input("Digita la directory dove vuoi trovare i file py: ")
for file in os.listdir(a):
if f
Hello to all,
I wanted to know because even though the files are present on the
directory I write input gives me "file not found".
You can help me?
Thank you
a = input("Digita la directory dove vuoi trovare i file py: ")
for file in os.listdir(a):
if file.endswith(".py"):
print(fil
On Monday, September 5, 2016 at 2:15:58 AM UTC-4, Thomas 'PointedEars' Lahn
wrote:
> How can I trust a person
> who does not even have the decency and the courage to stand by their
> statements with their real name?
Feel free to ignore people you don't trust. We'll help them.
--Ned.
--
https
Peter Otten writes:
> Jussi Piitulainen wrote:
[- -]
>> while more:
>> yield gp()
[- -]
> As usual I couldn't stop and came up with something very similar:
[- -]
> while more:
> g = group()
> yield g
> for _ in g: pass
[- -]
> The one thing I think y
Jussi Piitulainen wrote:
> Antoon Pardon writes:
>
>> I need an interator that takes an already existing iterator and
>> divides it into subiterators of items belonging together.
>>
>> For instance take the following class, wich would check whether
>> the argument is greater or equal to the previ
Antoon Pardon writes:
> I need an interator that takes an already existing iterator and
> divides it into subiterators of items belonging together.
>
> For instance take the following class, wich would check whether
> the argument is greater or equal to the previous argument.
>
> class upchecker:
On Tuesday, August 16, 2016 at 6:45:04 PM UTC+5:30, blue wrote:
> Hi.
>
> I'm from Romania.
> I need to update my skils under python.
> I need to find one mentor ( class, training ) to obtain one certified under
> python language.
>
> Cătălin George Feștilă
Hi,
You might find Python course of
On Monday 05 September 2016 18:46, Antoon Pardon wrote:
> I need an interator that takes an already existing iterator and
> divides it into subiterators of items belonging together.
>
> For instance take the following class, wich would check whether
> the argument is greater or equal to the previ
On Monday, September 5, 2016 at 10:42:27 AM UTC+1, Peter Otten wrote:
> Antoon Pardon wrote:
>
> > I need an interator that takes an already existing iterator and
> > divides it into subiterators of items belonging together.
> >
> > For instance take the following class, wich would check whether
Antoon Pardon wrote:
> I need an interator that takes an already existing iterator and
> divides it into subiterators of items belonging together.
>
> For instance take the following class, wich would check whether
> the argument is greater or equal to the previous argument.
>
> class upchecker:
On Mon, 05 Sep 2016 08:15:42 +0200, Thomas 'PointedEars' Lahn wrote:
>
>> So Veek should be able to appease P.E. by calling himself 'Veek "David
>> Smith" M'.
>
> That would not help. “Veek” might be (the transcription of) a given
> name or a family name, but “Veek M” is not a real name. [Real
Hi All,
I'm pleased to announce the release of testfixtures 4.10.1 featuring the
following:
- Better docs for TempDirectory.compare().
- Remove the need for expected paths supplied to
TempDirectory.compare() to be in sorted order.
- Document a good way of restoring stdout when in a debugge
I need an interator that takes an already existing iterator and
divides it into subiterators of items belonging together.
For instance take the following class, wich would check whether
the argument is greater or equal to the previous argument.
class upchecker:
def __init__(self):
sel
Thomas 'PointedEars' Lahn wrote:
> Gregory Ewing wrote:
>
>> Larry Hudson wrote:
>>> If you continue to read this forum, you will quickly learn to ignore
>>> "Pointy-Ears". He rarely has anything worth while to post, and his
>>> unique fetish about Real Names shows him to be a hypocrite as well.
30 matches
Mail list logo