Re: Who still supports recent Python on shared hosting

2017-03-05 Thread Paul Rubin
John Nagle writes: > I'm looking for shared hosting that supports at least Python 3.4. Open a ticket on buyshared.net and ask if they can install it for you. They're good about stuff like that. If it's for a cgi, you might alternatively be able to run it from your own directory (you get ssh acce

Re: Who still supports recent Python on shared hosting

2017-03-05 Thread Pete Forman
John Nagle writes: > I'm looking for shared hosting that supports > at least Python 3.4. > > Hostgator: Highest version is Python 3.2. > Dreamhost: Highest version is Python 2.7. > Bluehost: Install Python yourself. > InMotion: Their documentation says 2.6. > > Is Python on shared hosting dead? >

Re: Who still supports recent Python on shared hosting

2017-03-05 Thread D'Arcy Cain
On 2017-03-05 09:39 PM, John Nagle wrote: I'm looking for shared hosting that supports at least Python 3.4. http://www.VybeNetworks.com/ We have Python 2.7 and 3.6 installed. -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:da...@vex.net VoIP: sip:da...@vybenetworks.com

Re: str.title() fails with words containing apostrophes

2017-03-05 Thread D'Arcy Cain
On 2017-03-05 03:40 PM, Terry Reedy wrote: import re def title(string): return re.sub(r"\b'\w", lambda m: m.group().lower(), string.title()) Nice. It lowercases a word char that follows an "'" that follows a word without an intervening non-word char. It passes this test: print(title("'tim

Re: Who still supports recent Python on shared hosting

2017-03-05 Thread Chris Angelico
On Mon, Mar 6, 2017 at 1:39 PM, John Nagle wrote: > I'm looking for shared hosting that supports > at least Python 3.4. > > Hostgator: Highest version is Python 3.2. > Dreamhost: Highest version is Python 2.7. > Bluehost: Install Python yourself. > InMotion: Their documentation says 2.6. > > Is Py

Who still supports recent Python on shared hosting

2017-03-05 Thread John Nagle
I'm looking for shared hosting that supports at least Python 3.4. Hostgator: Highest version is Python 3.2. Dreamhost: Highest version is Python 2.7. Bluehost: Install Python yourself. InMotion: Their documentation says 2.6. Is Python on shared hosting dead? I don't need a whole VM and something

Re: Online Python Editor with Live Syntax Checking

2017-03-05 Thread Jason Friedman
> > I made a tool called PythonBuddy (http://pythonbuddy.com/). > > I made this so that MOOCs like edX or codecademy could easily embed and > use this on their courses so students wouldn't have to go through the > frustrations of setting up a Python environment and jump right into Python > programm

Re: How to access installed scripts on Windows?

2017-03-05 Thread eryk sun
On Sun, Mar 5, 2017 at 2:35 AM, ddbug wrote: > >> You can also develop using venv virtual environments. You can symlink >> or shell-shortcut to the activation script of a virtual environment. > > Interesting idea. But I have not seen any installers or guidance how to > deploy something packaged >

Re: str.title() fails with words containing apostrophes

2017-03-05 Thread Terry Reedy
On 3/5/2017 2:38 PM, MRAB wrote: On 2017-03-05 17:54, Steve D'Aprano wrote: I'm trying to convert strings to Title Case, but getting ugly results if the words contain an apostrophe: py> 'hello world'.title() # okay 'Hello World' py> "i can't be having with this".title() # not okay "I Can'T B

Re: str.title() fails with words containing apostrophes

2017-03-05 Thread MRAB
On 2017-03-05 17:54, Steve D'Aprano wrote: I'm trying to convert strings to Title Case, but getting ugly results if the words contain an apostrophe: py> 'hello world'.title() # okay 'Hello World' py> "i can't be having with this".title() # not okay "I Can'T Be Having With This" Anyone have

str.title() fails with words containing apostrophes

2017-03-05 Thread Steve D'Aprano
I'm trying to convert strings to Title Case, but getting ugly results if the words contain an apostrophe: py> 'hello world'.title() # okay 'Hello World' py> "i can't be having with this".title() # not okay "I Can'T Be Having With This" Anyone have any suggestions for working around this? -

Re: [RELEASE] Python 3.6.1rc1 is now available

2017-03-05 Thread D'Arcy Cain
On 2017-03-05 07:01 AM, Ned Deily wrote: On behalf of the Python development community and the Python 3.6 release team, I would like to announce the availability of Python 3.6.1rc1. 3.6.1rc1 is the first release candidate for Python 3.6.1, the first maintenance release of Python 3.6. 3.6.0 was r

Re: [RELEASE] Python 3.6.1rc1 is now available

2017-03-05 Thread D'Arcy Cain
On 2017-03-05 07:01 AM, Ned Deily wrote: On behalf of the Python development community and the Python 3.6 release team, I would like to announce the availability of Python 3.6.1rc1. 3.6.1rc1 is the first release candidate for Python 3.6.1, the first maintenance release of Python 3.6. 3.6.0 was r

Re: list of the lists - append after search

2017-03-05 Thread gvmcmt
On Thursday, March 2, 2017 at 9:33:14 PM UTC+5:30, Andrew Zyman wrote: > Hello, > please advise. > > I'd like search and append the internal list in the list-of-the-lists. > > Example: > ll =[ [a,1], [b,2], [c,3], [blah, 1000] ] > > i want to search for the internal [] based on the string fi

Re: [RELEASE] Python 3.6.1rc1 is now available

2017-03-05 Thread D'Arcy Cain
On 2017-03-05 07:01 AM, Ned Deily wrote: On behalf of the Python development community and the Python 3.6 release team, I would like to announce the availability of Python 3.6.1rc1. 3.6.1rc1 is the first release candidate for Python 3.6.1, the first maintenance release of Python 3.6. 3.6.0 was r

RE: [Python-Dev] [RELEASE] Python 3.6.1rc1 is now available

2017-03-05 Thread Steve Dower
I just want to emphasize that this is a *very* important release to test, as it is the first one made after migrating the project to github. Please spend a bit of time running it through your normal build/installation steps and let us know at https://bugs.python.org/ if anything seems off. Top-

Re: python-daemon and PID files

2017-03-05 Thread Ian Pilcher
On 03/04/2017 11:14 PM, Chris Angelico wrote: Why do you need a pidfile? When I get systemd to start a process, I just have it not fork. Much easier. Forget about python-daemon - just run your script in the simple and straight-forward way. Because forking daemons was good enough for my grandpap

[RELEASE] Python 3.6.1rc1 is now available

2017-03-05 Thread Ned Deily
On behalf of the Python development community and the Python 3.6 release team, I would like to announce the availability of Python 3.6.1rc1. 3.6.1rc1 is the first release candidate for Python 3.6.1, the first maintenance release of Python 3.6. 3.6.0 was released on 2017-12-22 to great interest and