Re: [Tutor] Writing for loop output to csv

2018-09-06 Thread Peter Otten
Cameron Simpson wrote: > On 06Sep2018 12:32, Brandon Creech wrote: >>Hi, I am working to forecast the temperatures for the next 5 days using an >>API and a for loop. I would like write the output of this loop to a csv in >>this format:: >> >>Columns: City, min1, max1, min2, max2,min3,max3,min4,ma

Re: [Tutor] localhosting

2018-09-06 Thread Alan Gauld via Tutor
On 06/09/18 20:09, Roger Lea Scherer wrote: > I removed the "3" in "python3" and it works; along with moving the "www" > folder to where python resides. Thanks for the help. That may appear to work but I suspect its just hiding the real issue which is about setting the correct path values. Did y

Re: [Tutor] Writing for loop output to csv

2018-09-06 Thread Cameron Simpson
On 06Sep2018 12:32, Brandon Creech wrote: Hi, I am working to forecast the temperatures for the next 5 days using an API and a for loop. I would like write the output of this loop to a csv in this format:: Columns: City, min1, max1, min2, max2,min3,max3,min4,max4,min5,max5 data: Athens,

Re: [Tutor] localhosting

2018-09-06 Thread Cameron Simpson
Note: replies inline below, and irrelevant verbiage trimmed. We prefer this format on this list: it makes it easy to respond point by point and makes the reply read like a conversation. Please consider adopting this style here. Anyway, to your message: On 06Sep2018 12:09, Roger Lea Scherer wr

Re: [Tutor] Writing for loop output to csv

2018-09-06 Thread Alan Gauld via Tutor
On 06/09/18 17:32, Brandon Creech wrote: > Hi, I am working to forecast the temperatures for the next 5 days using an > API and a for loop. I would like write the output of this loop to a csv in > this format:: > > Columns: City, min1, max1, min2, max2,min3,max3,min4,max4,min5,max5 > data:

Re: [Tutor] localhosting

2018-09-06 Thread Roger Lea Scherer
Thank you all for your help. I am still chugging away at this problem. I've switched to Windows PowerShell Version 5.1 since I can select, copy, and paste more easily in PowerShell. (I can't figure out how to do that in Anaconda and I get the same errors in PowerShell.) I removed the "3" in "pytho

[Tutor] Writing for loop output to csv

2018-09-06 Thread Brandon Creech
Hi, I am working to forecast the temperatures for the next 5 days using an API and a for loop. I would like write the output of this loop to a csv in this format:: Columns: City, min1, max1, min2, max2,min3,max3,min4,max4,min5,max5 data: Athens,Greece 25.4,26.7etc. Nan

Re: [Tutor] Python

2018-09-06 Thread Alan Gauld via Tutor
On 06/09/18 04:14, Donna Black via Tutor wrote: > How do we save our work on python? IDLE hasn’t installed itself on my > computer Which OS are you using? That will help us find/install IDLE. However, you don't need IDLE to work with Python, just a text editor. If I assume you are using Window

[Tutor] Python

2018-09-06 Thread Donna Black via Tutor
How do we save our work on python? IDLE hasn’t installed itself on my computer Sent from my iPhone ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor