> I have been running twitterscraper yesterday with no real problems
> encountered. I came home and tried to run a twitterscraper command in cmd –
> without success.
Are you running it on the same system as where it was working when you get the
error?
> It said the following for these argument
Hi,
you use the `--lang` option wrongly. Fails:
$ twitterscraper -bd 2015-01-01 -ed 2016-01-01 –lang en
usage: twitterscraper [-h] [-o OUTPUT] [-l LIMIT] [-a] [-c] [-u] [--lang LANG]
[-d] [-bd] [-ed] [-p]
query
twitterscraper: error: unrecognized argume
[SPECULATION ALERT]
I found it interesting as people discussed how one gets the length of
something set up to follow the iterator protocol and especially anything
that is effectively infinite.
It is possible in python to set a value of "inf" using methods like this:
>>> x = float("inf")
>>> x
i
fergalbell Bell writes:
> I have been running twitterscraper yesterday with no real problems
> encountered. I came home and tried to run a twitterscraper command in cmd
> $(G!9(B without success.
>
> It said the following for these arguments: -bd 2015-01-01 -ed 2016-01-01
> $(G!9(Blang en u
On 02/12/2018 18:36, Peter Otten wrote:
> duncan smith wrote:
>
>> Hello,
>> I have a lot of functions that take an instance of a particular
>> class as the first argument. I want to create corresponding methods in
>> the class. I have tried the following, which (when called from __init__)
>
On 02/12/2018 18:56, duncan smith wrote:
> Hello,
> I have a lot of functions that take an instance of a particular
> class as the first argument. I want to create corresponding methods in
> the class. I have tried the following, which (when called from __init__)
> creates the relevant method
Dear Sir/Madam,
I have been running twitterscraper yesterday with no real problems encountered.
I came home and tried to run a twitterscraper command in cmd – without success.
It said the following for these arguments: -bd 2015-01-01 -ed 2016-01-01 –lang
en unrecognised.
Regards,
Fergal Bell
On Sun, Dec 2, 2018 at 1:51 PM songbird wrote:
> my goal in learning python was to use it as a way of
> picking up OOP concepts in a more concrete way (theory
> alone doesn't give me enough hands on the bits i need so
> i tend to just do other things instead).
>
> now that i've used python for
On 02/12/2018 18:26, Stefan Ram wrote:
> duncan smith writes:
>> I have tried to find examples of injecting methods into classes without
>
> Wouldn't the normal approach be to just define a
> class with your functions as instance methods?
>
> main.py
>
> class C():
> def __init__( sel
Dennis Lee Bieber wrote:
> On Sun, 2 Dec 2018 12:40:44 -0500, songbird
> declaimed the following:
>
>> as references those are useful, but howabout
>>something a bit more conceptual or design oriented?
>>
>
> At that level, you are not looking for "Python" books but rather
> software engi
duncan smith wrote:
> Hello,
> I have a lot of functions that take an instance of a particular
> class as the first argument. I want to create corresponding methods in
> the class. I have tried the following, which (when called from __init__)
> creates the relevant methods in an instance (Py
On Sun, Dec 2, 2018 at 1:20 PM Chris Angelico wrote:
> On Sun, Dec 2, 2018 at 11:08 PM Morten W. Petersen
> wrote:
> >
> > On Sun, Dec 2, 2018 at 12:49 PM Chris Angelico wrote:
> >> To my knowledge, len(x) == len(list(x)) for any core data type that
> >> has a length.
> >
> > >>> len(range(0,10
Hi Duncan.
On Sun, Dec 2, 2018 at 7:02 PM duncan smith wrote:
> Hello,
> I have a lot of functions that take an instance of a particular
> class as the first argument. I want to create corresponding methods in
> the class. I have tried the following, which (when called from __init__)
> cre
Stefan Ram wrote:
...
thank you. :)
as references those are useful, but howabout
something a bit more conceptual or design oriented?
i have a pretty good idea about various language
features or things to try, but i need a little more
higher level view of how to go about building a
python
Hello,
I have a lot of functions that take an instance of a particular
class as the first argument. I want to create corresponding methods in
the class. I have tried the following, which (when called from __init__)
creates the relevant methods in an instance (Python 3.6).
def init_methods(s
On Sun, Dec 2, 2018 at 11:08 PM Morten W. Petersen wrote:
>
> On Sun, Dec 2, 2018 at 12:49 PM Chris Angelico wrote:
>> To my knowledge, len(x) == len(list(x)) for any core data type that
>> has a length.
>
> >>> len(range(0,100,3))
> 34
> >>> range(0,100,3).__len__
>
> >>> range(0,100,3).__len__
On Sun, Dec 2, 2018 at 12:49 PM Chris Angelico wrote:
> On Sun, Dec 2, 2018 at 10:36 PM Morten W. Petersen
> wrote:
> > While we're on the subject, I did a test in my Python interpreter:
> >
> > Python 3.6.7 (default, Oct 22 2018, 11:32:17)
> > [GCC 8.2.0] on linux
> > Type "help", "copyright",
On Sun, Dec 2, 2018 at 10:36 PM Morten W. Petersen wrote:
> While we're on the subject, I did a test in my Python interpreter:
>
> Python 3.6.7 (default, Oct 22 2018, 11:32:17)
> [GCC 8.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> range(0,3,100)
> ra
On Sun, Dec 2, 2018 at 2:23 AM Chris Angelico wrote:
> On Sun, Dec 2, 2018 at 11:55 AM Morten W. Petersen
> wrote:
> >
> > On Sat, Dec 1, 2018 at 1:11 AM Chris Angelico wrote:
> >>
> >> On Sat, Dec 1, 2018 at 10:55 AM Morten W. Petersen
> wrote:
> >> > But this raises the question of how to wr
19 matches
Mail list logo