Re: [Tutor] How to write a function which reads files

2018-08-08 Thread boB Stepp
On Wed, Aug 8, 2018 at 8:30 PM boB Stepp wrote: > > On Tue, Aug 7, 2018 at 9:13 AM Rafael Knuth wrote: Curses! Sorry, Chris! This should be: > > Chris Warrick wrote: > > > Also, consider using snake_case instead of PascalCase for your > > > function name, since the latter is typically used fo

Re: [Tutor] How to write a function which reads files

2018-08-08 Thread boB Stepp
On Tue, Aug 7, 2018 at 9:13 AM Rafael Knuth wrote: > Alan Gauld wrote: > > Also, consider using snake_case instead of PascalCase for your > > function name, since the latter is typically used for classes, and > > perhaps call it read_file to better describe it? > > thanks, I wasn't aware of the n

Re: [Tutor] python3 - °F/°C printing those degree signs

2018-08-08 Thread Steven D'Aprano
On Tue, Aug 07, 2018 at 08:43:53PM -0700, Evuraan wrote: > > > > You could try setting > > > > PYTHONIOENCODING="UTF-8" > > > > in your OS shell and see if that helps, but I suspect > > there's a better way to deal with it... > > > > Thank you! That was it! What system are you using that doesn't

[Tutor] [Promotion] Book for Data Science Aspirants

2018-08-08 Thread Karthikeyan A K via Tutor
Hello Python people, Two years ago, my profession changed, I had to do data science work. When I started it, I (though I knew Python) found it to be extremely difficult and I had these doubts: What to learn? Where to learn? Am I doing things right? Where can I find a person who would guide me i