Re: [Tutor] Responding Tweet: A Twitter Bot

2014-02-21 Thread Walter Prins
Hi, On 21 February 2014 03:52, Zaki Akhmad zakiakh...@gmail.com wrote: On Thu, Feb 20, 2014 at 7:39 PM, James Scholes ja...@jls-radio.com wrote: Most decent Python libraries for accessing Twitter support the streaming API. This lets you keep a connection to the Twitter API alive and process

[Tutor] from command prompt use interactive python and running script together

2014-02-21 Thread Gabriele Brambilla
Hi, Is possible on python to running scripts from the command prompt (I'm using python on windows) and in the end saving all the variables and continue the analysis in the interactive mode? (the one that you activate typing python in the command prompt?) Or to use python in the interactive mode

Re: [Tutor] from command prompt use interactive python and running script together

2014-02-21 Thread David Palao
2014-02-21 15:20 GMT+01:00 Gabriele Brambilla gb.gabrielebrambi...@gmail.com: Hi, Is possible on python to running scripts from the command prompt (I'm using python on windows) and in the end saving all the variables and continue the analysis in the interactive mode? (the one that you

Re: [Tutor] from command prompt use interactive python and running script together

2014-02-21 Thread Chris “Kwpolska” Warrick
On Fri, Feb 21, 2014 at 3:20 PM, Gabriele Brambilla gb.gabrielebrambi...@gmail.com wrote: Hi, Is possible on python to running scripts from the command prompt (I'm using python on windows) and in the end saving all the variables and continue the analysis in the interactive mode? (the one that

Re: [Tutor] from command prompt use interactive python and running script together

2014-02-21 Thread eryksun
On Fri, Feb 21, 2014 at 9:20 AM, Gabriele Brambilla gb.gabrielebrambi...@gmail.com wrote: Is possible on python to running scripts from the command prompt (I'm using python on windows) and in the end saving all the variables and continue the analysis in the interactive mode? (the one that you

Re: [Tutor] Regarding Exceptions

2014-02-21 Thread wesley chun
On Mon, Feb 17, 2014 at 3:29 AM, Khalid Al-Ghamdi emailkg...@gmail.com wrote: Hi, in the following snippet, why is it I don't need to create an Exception object and I can use the class directly in raise my custom exception? here's a new one... i'm going to try to answer this question without

Re: [Tutor] Regarding Exceptions

2014-02-21 Thread eryksun
On Fri, Feb 21, 2014 at 12:48 PM, wesley chun wes...@gmail.com wrote: in reality, built-ins are part of a magical module called __builtins__ that's automagically imported for you so that you never have to do it yourself. check this out: __builtins__.Exception type 'exceptions.Exception'

Re: [Tutor] from command prompt use interactive python and running script together

2014-02-21 Thread Steven D'Aprano
On Fri, Feb 21, 2014 at 09:20:15AM -0500, Gabriele Brambilla wrote: Hi, Is possible on python to running scripts from the command prompt (I'm using python on windows) and in the end saving all the variables and continue the analysis in the interactive mode? (the one that you activate typing

Re: [Tutor] Regarding Exceptions

2014-02-21 Thread Steven D'Aprano
On Fri, Feb 21, 2014 at 01:27:55PM -0500, eryksun wrote: On Fri, Feb 21, 2014 at 12:48 PM, wesley chun wes...@gmail.com wrote: in reality, built-ins are part of a magical module called __builtins__ that's automagically imported for you so that you never have to do it yourself. check this

Re: [Tutor] Regarding Exceptions

2014-02-21 Thread eryksun
On Fri, Feb 21, 2014 at 8:50 PM, Steven D'Aprano st...@pearwood.info wrote: The history of __builtins__ with an S is quite old. It's used for performance reasons, and originally it was supposed to be used for sandboxing Python, but that turned out to not work. So although it still exists even