G+_Russ Hall Posted January 20, 2015 Share Posted January 20, 2015 Thanks for the encouragement to learn Python; I'm liking it! Found a neat Mastermind program that I'll share with you. Where can I post it? Link to comment Share on other sites More sharing options...
G+_Jeff Brand Posted January 20, 2015 Share Posted January 20, 2015 Check out the posting below by Jared Bartimus from http://c101.net/. He's offering free hosting that includes Python support. Link to comment Share on other sites More sharing options...
G+_Russ Hall Posted January 20, 2015 Author Share Posted January 20, 2015 Does that mean it would run from my page? Or just show the code? Link to comment Share on other sites More sharing options...
G+_Jeff Brand Posted January 20, 2015 Share Posted January 20, 2015 Definitely could show the code. If it's a command-line app then it probably wouldn't run as-is. You could also try a GitHub Gist or pastebin.ca if you just want to share the source code. Link to comment Share on other sites More sharing options...
G+_Jared Bartimus Posted January 20, 2015 Share Posted January 20, 2015 Python needs to run in CGI-BIN currently. I am working on WSGI support. Link to comment Share on other sites More sharing options...
G+_Jared Bartimus Posted January 20, 2015 Share Posted January 20, 2015 Correction: Web based python. You can run it on the command line anywhere. Link to comment Share on other sites More sharing options...
G+_Russ Hall Posted January 20, 2015 Author Share Posted January 20, 2015 It is posted here: http://russ.c101.net/Mastermind%20formatted%20in%20MSword.htm Link to comment Share on other sites More sharing options...
G+_Russ Hall Posted January 20, 2015 Author Share Posted January 20, 2015 It's also in the FTP folder Link to comment Share on other sites More sharing options...
G+_Russ Hall Posted January 20, 2015 Author Share Posted January 20, 2015 If copied and pasted from the web browser, extra blank lines are added to file. I don't know how to avoid that! Link to comment Share on other sites More sharing options...
G+_Jared Bartimus Posted January 20, 2015 Share Posted January 20, 2015 Paste it into notepad using Ctrl + Shift + V. In most software that is the 'paste without formatting' key combination. Link to comment Share on other sites More sharing options...
G+_Russ Hall Posted January 22, 2015 Author Share Posted January 22, 2015 OK, I'll try that. Notepad works fine with it but Word likes to insert extra lines. Can you access it from my page? Link to comment Share on other sites More sharing options...
G+_Russ Hall Posted January 24, 2015 Author Share Posted January 24, 2015 Made a version that reveals the code after 12 tries, in case you can't figure it out. With modified feedback, it's challenging! The random generator is quite good. Link to comment Share on other sites More sharing options...
Recommended Posts