On Tue, Apr 12, 2016, at 08:36 PM, kamaraju kusumanchi wrote:
> Is there a way to get hourly weather forecast data (temperature,
> chance of precipitation) from the command line in Debian Linux?
Personally, the last time I wanted to do something like this, I used the
requests library to fetch a RS
On Tue, Apr 12, 2016, at 07:57 PM, Jason Honeycutt wrote:
> I am providing feedback as to why I just uninstalled Python. I could not
> use pip. My command line would not recognize pip.exe as a file, even
> though
> I could see the file listed when I type "dir" in the Scripts folder.
If you can't u
Jason Honeycutt writes:
> I am providing feedback as to why I just uninstalled Python.
Thank you for taking the time. I feel you should know that this is a
community discussion forum only: posting the message here is unlikely to
do anything but engage some people in discussion.
If you have enou
On 2016-04-13, Miki Tebeka wrote:
>
>> Is there a way to get hourly weather forecast data (temperature,
>> chance of precipitation) from the command line in Debian Linux?
https://forecast.io may be the solution. It provides a JSON feed, which you can
parse using jq, for example. The link you wan
Hello,
I am providing feedback as to why I just uninstalled Python. I could not
use pip. My command line would not recognize pip.exe as a file, even though
I could see the file listed when I type "dir" in the Scripts folder.
I tried to repair Python; however, then the file did not show up at all.
> Is there a way to get hourly weather forecast data (temperature,
> chance of precipitation) from the command line in Debian Linux?
If you Google for "weather API" you'll find several sites who give programmatic
access to weather data.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 12 Apr 2016 23:36:26 -0400, kamaraju kusumanchi wrote:
> Is there a way to get hourly weather forecast data (temperature,
> chance of precipitation) from the command line in Debian Linux?
>
> Basically, I am trying to write a python program that will send myself
> an email if it is going
Is there a way to get hourly weather forecast data (temperature,
chance of precipitation) from the command line in Debian Linux?
Basically, I am trying to write a python program that will send myself
an email if it is going to rain at say 7:00 am the next day. The idea
is to trigger the emails onl
It seems that Python is fast enough [1] to create a real time FM music
synthesizer
(think Yamaha DX-7). I made one that you can see here:
https://github.com/irmen/synthesizer
The synthesizer can create various waveforms (sine, sawtooth, pulse etc.) and
lets you
modify them in various ways. You
"Martin A. Brown" writes:
> The only change from what Ben suggests is that, once I found os.EX_OK,
> I just kept on using it, instead of difining my own EXIT_SUCCESS in
> every program.
Ah, thank you! I was unaware of the exit-status constants in ‘os’::
The following exit codes are defined
Hello all,
Apologies for this post which is fundamentally, a 'me too' post, but
I couldn't help but chime in here.
>This is good practice, putting the mainline code into a ‘main’
>function, and keeping the ‘if __name__ == '__main__'’ block small
>and obvious.
>
>What I prefer to do is to make
Ganesh Pal writes:
> I m on python 2.7 and Linux , I have a simple code need suggestion if I
> I could replace sys.exit(1) with raise SystemExit .
No, but you can replace::
sys.exit(1)
with::
raise SystemExit(1)
As you know from reading the ‘sys.exit’ documentation
https://docs.
On 4/12/2016 3:27 PM, Ethan Furman wrote:
On 04/11/2016 04:15 PM, Terry Reedy wrote:
Blog post by Steve Dower of Microsoft and CPython core developer.
'''How to deal with the pain of “unable to find vcvarsall.bat”'''
https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-v
On 04/11/2016 04:15 PM, Terry Reedy wrote:
Blog post by Steve Dower of Microsoft and CPython core developer.
'''How to deal with the pain of “unable to find vcvarsall.bat”'''
https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/
Informative post, thanks!
On Tuesday, April 12, 2016 at 4:41:15 PM UTC+5:30, Ben Finney wrote:
> Sayth Renshaw writes:
>
> > Looking at the wiki list of build tools
> > https://wiki.python.org/moin/ConfigurationAndBuildTools
> >
> > Has anyone much experience in build tools as i have no preference or
> > experience to lea
On Tue, Apr 12, 2016, at 10:12, Ganesh Pal wrote:
> >
> >
> > No; raise SystemExit is equivalent to sys.exit(0); you would need raise
> > SystemExit(1) to return 1.
> >
>
> Thanks will replace SystemExit with SystemExit(1) .
>
>
>
> > Why do you want to do this, though? What do you think you ga
>
>
> No; raise SystemExit is equivalent to sys.exit(0); you would need raise
> SystemExit(1) to return 1.
>
Thanks will replace SystemExit with SystemExit(1) .
> Why do you want to do this, though? What do you think you gain from it?
>
Iam trying to have a single exit point for many function
Hi,
I have recently run into an issue at work where we are having intermittent
problems with an internal website not loading due to an interrupted system
call. We are using urllib2 to access the website. I can't share the exact code,
but here is basically how we do it:
payload = {'userName': u
Hi,
Are there any plans to get back 32-bit wheels for Twisted?
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, Apr 12, 2016, at 08:50, Ganesh Pal wrote:
> I m on python 2.7 and Linux , I have a simple code need suggestion if
> I
> I could replace sys.exit(1) with raise SystemExit .
No; raise SystemExit is equivalent to sys.exit(0); you would need raise
SystemExit(1) to return 1.
Why do you wa
I m on python 2.7 and Linux , I have a simple code need suggestion if I
I could replace sys.exit(1) with raise SystemExit .
==Actual code==
def main():
try:
create_logdir()
create_dataset()
unittest.main()
except Exception as e:
logging.exception(e)
Sayth Renshaw writes:
> Looking at the wiki list of build tools
> https://wiki.python.org/moin/ConfigurationAndBuildTools
>
> Has anyone much experience in build tools as i have no preference or
> experience to lean on.
I'm quite fine with GNU Make, so haven't really tried a lot of others.
I am
On Tuesday, 12 April 2016 19:48:43 UTC+10, Sayth Renshaw wrote:
> Hi
>
> Looking at the wiki list of build tools
> https://wiki.python.org/moin/ConfigurationAndBuildTools
>
> Has anyone much experience in build tools as i have no preference or
> experience to lean on.
>
> Off descriptions only
Win 10 will have full bash provided by project between Ubuntu and MS so that's
pretty cool
Sayth
--
https://mail.python.org/mailman/listinfo/python-list
Hi
Looking at the wiki list of build tools
https://wiki.python.org/moin/ConfigurationAndBuildTools
Has anyone much experience in build tools as i have no preference or experience
to lean on.
Off descriptions only i would choose invoke.
My requirements, simply i want to learn and build a simple
25 matches
Mail list logo