Re: [Tutor] SQL querying

2018-08-30 Thread Mats Wichmann
On 08/30/2018 11:41 AM, Rafael Knuth wrote: > Can I do SQL querying in Python? > What packages do I need for that purpose? (specifically for mySQL) Thanks. > ___ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > http

[Tutor] SQL querying

2018-08-30 Thread Rafael Knuth
Can I do SQL querying in Python? What packages do I need for that purpose? (specifically for mySQL) Thanks. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] localhosting

2018-08-30 Thread Mats Wichmann
On 08/30/2018 02:54 AM, Alan Gauld via Tutor wrote: > On 30/08/18 00:09, Roger Lea Scherer wrote: >> I'm trying to implement a local host. My instructions tell me to type the >> following command in the command line, make sure I'm in the "www" folder > > So this is not the folder where python3 is

Re: [Tutor] OT: How to automate the setting of file permissions for all files in a collection of programs?

2018-08-30 Thread Alan Gauld via Tutor
On 30/08/18 10:30, Cameron Simpson wrote: >> That is inherent in using version control systems. > ...> state. Personally I use mercurial which does include the permissions in the > state. Ah, interesting. I've never found a VC system that preserved permissions. Usually they zap everything to re

Re: [Tutor] OT: How to automate the setting of file permissions for all files in a collection of programs?

2018-08-30 Thread Cameron Simpson
On 30Aug2018 09:08, Alan Gauld wrote: On 30/08/18 04:44, boB Stepp wrote: [...] 4) FTP this back to Solaris for code repair, testing, etc. [...] This process has changed all of the Unix file permissions That is inherent in using version control systems. Not really. I suspect FTP may not

Re: [Tutor] A Python program to Summarise weather results?

2018-08-30 Thread Alan Gauld via Tutor
On 30/08/18 03:56, Matthew Polack wrote: > Hi, > > We have a spreadsheet from a local weather station.it summarises the > amount of rainfall per day since 1863. > > http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=136&p_display_type=dailyDataFile&p_startYear=1863&p_c=-1249186659

Re: [Tutor] A Python program to Summarise weather results?

2018-08-30 Thread Peter Otten
Matthew Polack wrote: > Hi, > > We have a spreadsheet from a local weather station.it summarises the > amount of rainfall per day since 1863. > > http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=136&p_display_type=dailyDataFile&p_startYear=1863&p_c=-1249186659&p_stn_num=079028

Re: [Tutor] localhosting

2018-08-30 Thread Alan Gauld via Tutor
On 30/08/18 00:09, Roger Lea Scherer wrote: > I'm trying to implement a local host. My instructions tell me to type the > following command in the command line, make sure I'm in the "www" folder So this is not the folder where python3 is installed. (See below) > python3 -m http.server --cgi 8000

Re: [Tutor] OT: How to automate the setting of file permissions for all files in a collection of programs?

2018-08-30 Thread Alan Gauld via Tutor
On 30/08/18 04:44, boB Stepp wrote: > good news side we went from the vi editor to Vim/gVim; from Python 2.4 > to 2.7; in addition to Tkinter there is now a Python interface to GTK; > went from no SQLite to having it; and a few other goodies that Hooray!!! > system installed, SCCS (RIP!) went by

[Tutor] localhosting

2018-08-30 Thread Roger Lea Scherer
I'm trying to implement a local host. My instructions tell me to type the following command in the command line, make sure I'm in the "www" folder (which I am and not a subfolder, although there is a subfolder "cgi-bin") and then run this: python3 -m http.server --cgi 8000 I'm running Anaconda in W

[Tutor] A Python program to Summarise weather results?

2018-08-30 Thread Matthew Polack
Hi, We have a spreadsheet from a local weather station.it summarises the amount of rainfall per day since 1863. http://www.bom.gov.au/jsp/ncc/cdio/weatherData/av?p_nccObsCode=136&p_display_type=dailyDataFile&p_startYear=1863&p_c=-1249186659&p_stn_num=079028 We'd love to be able to summarise