From jep200404 at columbus.rr.com Sat Jun 1 04:30:39 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Fri, 31 May 2013 22:30:39 -0400 Subject: [CentralOH] =?utf-8?q?2013-05-30_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8=?= Message-ID: <20130531223039.3546dedd.jep200404@columbus.rr.com> The dojos will meet on Fridays (not Thursdays). What song is a round in three voices? Three annual local free conferences PyOhio pyohio.org Ohio Linux Fest ohiolinux.org Columbus Code Camp http://columbuscodecamp.com/ (source of stackoverflow t-shirts) Want to see solution for handling funky escapes in health care records. Need help with pgadmin3 http://www.unixmen.com/the-funny-side-of-linux-command-line-terminal/ good crowd, had 10 Pythonistas JavaScript https://python-for-humans.heroku.com/ by Kenneth Reitz recommended by XY regularexpressions.info coursera code academy udacity learning python the hard way dive into python http://rgruet.free.fr/ Python Module of the Week http://pymotw.com/2/ https://github.com/eriknw # debugging aid library https://github.com/zestyping/q import q x = 4 q(x) ;# outputs to a file use tail -f q.d() # drop into antoher command line works from ipython (but not notebook) http://www.meetup.com/girldevelopitcbus/ http://www.meetup.com/girldevelopitcbus/events/121458272/ Wild Goose Creative 2491 Summit Street, Columbus, OH http://www.wildgoosecreative.com/ http://www.wildgoosecreative.com/event-calendar/ open house friday 11am to 2pm bacon night http://www.wildgoosecreative.com/bacon-camp I did not rise to the top of the food chain to eat vegetables ohnerd.com good movie: http://en.wikipedia.org/wiki/The_Man_from_Nowhere_(film) (???) http://en.wikipedia.org/wiki/Jim_Rogers open source javascript library from Walmart!!!!: https://github.com/walmartlabs/thorax Japanese keyboard layout, particularly of shift of numbers, is like old US keyboard layouts which is convenient for ASCII encoding. Was ASCII designed to make encoding of the old layout easy? Shift key just modifies high bit(s). Ctrl key just modifies high bit(s). http://en.wikipedia.org/wiki/Keyboard_layout#Japanese http://en.wikipedia.org/wiki/ASCII http://www.pdp8.net/asr33/pics/kbd_top.shtml?small http://www.pdp8.net/asr33/pics/kbd_top.shtml?large http://www.pdp8.net/asr33/pics/kbd_top_nocover.shtml?small http://upload.wikimedia.org/wikipedia/commons/5/5e/Processor_Technology_SOL_20_Computer.jpg US layout changed by IBM PC and its popularity. http://en.wikipedia.org/wiki/Jquery http://en.wikipedia.org/wiki/Turing_completeness Visual Basic is Turing complete, so does that mean that Turing completeness is a bad thing? http://camelcamelcamel.com/Programming-Environment-Addison-Wesley-Professional-Computing/product/0321637739 http://en.wikipedia.org/wiki/Advanced_Programming_in_the_Unix_Environment There's a new edition of it. XY got 3rd edition at Half-price Books. ~$26? google maps project ground truth algorithms and elbow grease https://www.youtube.com/watch?v=FsbLEtS0uls tiger data free map GIS data http://en.wikipedia.org/wiki/TIGER http://www.moreawesomeweb.com/ Tavis Rudd Using Python to Code by Voice http://pyvideo.org/video/1735/using-python-to-code-by-voice wife likes to walk into room and say sudo rm -rf / emacs pinkie (RSI) Euler #2 My naive code with refactorings is attached. Someone new to Python started playing with IPytnon Notebook had the right attitude of wondering what would happened if he tried some, then went ahead an tried it. It's attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: 2.py Type: application/octet-stream Size: 2045 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: somebody's First Python Notebook.ipynb Type: application/octet-stream Size: 1947 bytes Desc: not available URL: From jep200404 at columbus.rr.com Wed Jun 5 17:31:40 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 5 Jun 2013 11:31:40 -0400 Subject: [CentralOH] Katas, Koans, Project Euler, and Dojos In-Reply-To: References: Message-ID: <20130605113140.19762555.jep200404@columbus.rr.com> On Wed, 8 May 2013 17:27:12 -0400, Brian Costlow wrote: > Come prepared to lead us through one of the shorter code katas, except in > python. > > http://codekata.pragprog.com/ > > Or do a koan (adapted to Python by COhPy member Greg Malcolm). > > https://github.com/gregmalcolm/python_koans/wiki The earlier Project Euler problems can be used as katas. Good grist for the dojos on Fridays. From Richard.C.1 at bwc.state.oh.us Wed Jun 5 20:36:51 2013 From: Richard.C.1 at bwc.state.oh.us (Richard.C.1 at bwc.state.oh.us) Date: Wed, 5 Jun 2013 18:36:51 +0000 Subject: [CentralOH] Help for a newbie...... Message-ID: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> First, I'm a real newbie to Python - and I mean a real newbie... I'm still going through a tutorial on it so I think I don't know what I don't know.... and right now I think I'm getting a bit swamped by what seem to be the bunch of ways I might be able to do something..... and what would help is a short example or description of the command/call (s?) that I need to use. Briefly, what I want to be able to do is to execute an internal browser command that will run a shortcut on our internal web that looks like this: http://:5555/dosomething This will call a server which after a few seconds will show an "OK" box on the screen to which I want to "pipe" an "enter" command. There's a lot more to the whole thing, but if I can get an example of what commands/calls/?? I would need to use to do those two actions that would get me started. Thank you very much for any help/suggestions/references/thoughts you may feel like sharing! Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.costlow at gmail.com Wed Jun 5 21:14:27 2013 From: brian.costlow at gmail.com (Brian Costlow) Date: Wed, 5 Jun 2013 15:14:27 -0400 Subject: [CentralOH] Help for a newbie...... In-Reply-To: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> Message-ID: Hi Richard, Welcome! First, I'm not sure I completely understand the question you are asking. Do you want your python program itself to connect to that URL, and display the okay dialog? Or are you trying to use Python to script a browser (Firefox, Chrome, IE) so the browser connects to the URL and hits okay on a dialog displayed in the browser? If the latter, I suggest you look into a web test application, like selenium. You can script it in Python (or a number of other languages) and use it to automate browsers. http://docs.seleniumhq.org/ If the former, you'll need to work out how to connect to the URL and get data. I suggest looking into the Requests library. http://docs.python-requests.org/en/latest/ Then you'll need to work on a GUI. There are a number of possible choices, though PyQt and TkInter seem to get talked about the most. http://wiki.python.org/moin/GuiProgramming Trying to give this level of help on the mailing list is tough. You might want to bring your code to a dojo for help. Or get started and ask a more specific question. You can go here to find dojos, the next one is this Friday. http://cohpy.org --Brian On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us < Richard.C.1 at bwc.state.oh.us> wrote: > First, I?m a real newbie to Python ? and I mean a real newbie? I?m > still going > > through a tutorial on it so I think I don?t know what I don?t know?. and > right > > now I think I?m getting a bit swamped by what seem to be the bunch of ways > > I might be able to do something?.. and what would help is a short example > or > > description of the command/call (s?) that I need to use. Briefly, what I > want to > > be able to do is to execute an internal browser command that will run a > shortcut > > on our internal web that looks like this: > > > > http://:5555/dosomething > > > > This will call a server which after a few seconds will show an ?OK? box on > the > > screen to which I want to ?pipe? an ?enter? command. There?s a lot more > to > > the whole thing, but if I can get an example of what commands/calls/?? I > would > > need to use to do those two actions that would get me started. Thank you > very > > much for any help/suggestions/references/thoughts you may feel like > sharing! > > > > > > > > Portions of this message may be confidential under an exemption to Ohio's > public records law or under a legal privilege. If you have received this > message in error or due to an unauthorized transmission or interception, > please delete all copies from your system without disclosing, copying, or > transmitting this message. > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kurtis.mullins at gmail.com Wed Jun 5 21:34:36 2013 From: kurtis.mullins at gmail.com (Kurtis Mullins) Date: Wed, 5 Jun 2013 15:34:36 -0400 Subject: [CentralOH] Help for a newbie...... In-Reply-To: References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> Message-ID: I'm also not completely sure what you're trying to acheive. My first intuition is you want http://:5555/dosomething to be served by Python, in which case the Python script/web-app will allow users to execute commands on the server. If that's the case, I recommend being very cautious for security purposes. If this is what you're seeking to do, please elaborate on which issues you are having when calling commands and I'd be glad to help out. Good luck! - Kurtis On Wed, Jun 5, 2013 at 3:14 PM, Brian Costlow wrote: > Hi Richard, > > Welcome! > > First, I'm not sure I completely understand the question you are asking. > > Do you want your python program itself to connect to that URL, and display > the okay dialog? > > Or are you trying to use Python to script a browser (Firefox, Chrome, IE) > so the browser connects to the URL and hits okay on a dialog displayed in > the browser? > > If the latter, I suggest you look into a web test application, like > selenium. You can script it in Python (or a number of other languages) and > use it to automate browsers. > > http://docs.seleniumhq.org/ > > If the former, you'll need to work out how to connect to the URL and get > data. I suggest looking into the Requests library. > > http://docs.python-requests.org/en/latest/ > > Then you'll need to work on a GUI. There are a number of possible choices, > though PyQt and TkInter seem to get talked about the most. > > http://wiki.python.org/moin/GuiProgramming > > Trying to give this level of help on the mailing list is tough. You might > want to bring your code to a dojo for help. Or get started and ask a more > specific question. > > You can go here to find dojos, the next one is this Friday. > http://cohpy.org > > --Brian > > > > > > > On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us < > Richard.C.1 at bwc.state.oh.us> wrote: > >> First, I?m a real newbie to Python ? and I mean a real newbie? I?m >> still going >> >> through a tutorial on it so I think I don?t know what I don?t know?. and >> right >> >> now I think I?m getting a bit swamped by what seem to be the bunch of ways >> >> I might be able to do something?.. and what would help is a short example >> or >> >> description of the command/call (s?) that I need to use. Briefly, what I >> want to >> >> be able to do is to execute an internal browser command that will run a >> shortcut >> >> on our internal web that looks like this: >> >> >> >> http://:5555/dosomething >> >> >> >> This will call a server which after a few seconds will show an ?OK? box >> on the >> >> screen to which I want to ?pipe? an ?enter? command. There?s a lot more >> to >> >> the whole thing, but if I can get an example of what commands/calls/?? I >> would >> >> need to use to do those two actions that would get me started. Thank you >> very >> >> much for any help/suggestions/references/thoughts you may feel like >> sharing! >> >> >> >> >> >> >> >> Portions of this message may be confidential under an exemption to >> Ohio's public records law or under a legal privilege. If you have received >> this message in error or due to an unauthorized transmission or >> interception, please delete all copies from your system without disclosing, >> copying, or transmitting this message. >> >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> http://mail.python.org/mailman/listinfo/centraloh >> >> > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdsantiagojr at gmail.com Wed Jun 5 21:43:15 2013 From: jdsantiagojr at gmail.com (John Santiago) Date: Wed, 5 Jun 2013 15:43:15 -0400 Subject: [CentralOH] Help for a newbie...... In-Reply-To: References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> Message-ID: Are you trying to do something like this in Pyrhon? http://localhost?doSomething On Wed, Jun 5, 2013 at 3:34 PM, Kurtis Mullins wrote: > I'm also not completely sure what you're trying to acheive. My first > intuition is you want http://:5555/dosomething to be served by > Python, in which case the Python script/web-app will allow users to execute > commands on the server. If that's the case, I recommend being very cautious > for security purposes. > > If this is what you're seeking to do, please elaborate on which issues you > are having when calling commands and I'd be glad to help out. > > Good luck! > - Kurtis > > > On Wed, Jun 5, 2013 at 3:14 PM, Brian Costlow wrote: > >> Hi Richard, >> >> Welcome! >> >> First, I'm not sure I completely understand the question you are asking. >> >> Do you want your python program itself to connect to that URL, and >> display the okay dialog? >> >> Or are you trying to use Python to script a browser (Firefox, Chrome, IE) >> so the browser connects to the URL and hits okay on a dialog displayed in >> the browser? >> >> If the latter, I suggest you look into a web test application, like >> selenium. You can script it in Python (or a number of other languages) and >> use it to automate browsers. >> >> http://docs.seleniumhq.org/ >> >> If the former, you'll need to work out how to connect to the URL and get >> data. I suggest looking into the Requests library. >> >> http://docs.python-requests.org/en/latest/ >> >> Then you'll need to work on a GUI. There are a number of possible >> choices, though PyQt and TkInter seem to get talked about the most. >> >> http://wiki.python.org/moin/GuiProgramming >> >> Trying to give this level of help on the mailing list is tough. You might >> want to bring your code to a dojo for help. Or get started and ask a more >> specific question. >> >> You can go here to find dojos, the next one is this Friday. >> http://cohpy.org >> >> --Brian >> >> >> >> >> >> >> On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us < >> Richard.C.1 at bwc.state.oh.us> wrote: >> >>> First, I?m a real newbie to Python ? and I mean a real newbie? I?m >>> still going >>> >>> through a tutorial on it so I think I don?t know what I don?t know?. and >>> right >>> >>> now I think I?m getting a bit swamped by what seem to be the bunch of >>> ways >>> >>> I might be able to do something?.. and what would help is a short >>> example or >>> >>> description of the command/call (s?) that I need to use. Briefly, what I >>> want to >>> >>> be able to do is to execute an internal browser command that will run a >>> shortcut >>> >>> on our internal web that looks like this: >>> >>> >>> >>> http://:5555/dosomething >>> >>> >>> >>> This will call a server which after a few seconds will show an ?OK? box >>> on the >>> >>> screen to which I want to ?pipe? an ?enter? command. There?s a lot more >>> to >>> >>> the whole thing, but if I can get an example of what commands/calls/?? I >>> would >>> >>> need to use to do those two actions that would get me started. Thank you >>> very >>> >>> much for any help/suggestions/references/thoughts you may feel like >>> sharing! >>> >>> >>> >>> >>> >>> >>> >>> Portions of this message may be confidential under an exemption to >>> Ohio's public records law or under a legal privilege. If you have received >>> this message in error or due to an unauthorized transmission or >>> interception, please delete all copies from your system without disclosing, >>> copying, or transmitting this message. >>> >>> _______________________________________________ >>> CentralOH mailing list >>> CentralOH at python.org >>> http://mail.python.org/mailman/listinfo/centraloh >>> >>> >> >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> http://mail.python.org/mailman/listinfo/centraloh >> >> > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -- This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.C.1 at bwc.state.oh.us Wed Jun 5 21:42:33 2013 From: Richard.C.1 at bwc.state.oh.us (Richard.C.1 at bwc.state.oh.us) Date: Wed, 5 Jun 2013 19:42:33 +0000 Subject: [CentralOH] Help for a newbie...... In-Reply-To: References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> Message-ID: <05CEC79B81631F4BAFAF8E30F65E45DB09296209@SOCEMMB04> Thank you for your speedy reply! What I do is work with/manage a large number of servers here at the bureau. Each morning I have a number of IE shortcuts each of which I click on to run. The shortcuts are of the form http://servername:5555 . This will cause the server to run the "health app" and display a status result screen and an "ok" reply box. Since I'm starting with Python I thought it would be instructive and kind of neat to be able to automate the process so that I can kick off a python program that will call/run/execute the IE shortcut that will call the server which will then display the status screen and wait for me to reply with an enter key to the "OK" box. Then on to the next screen full. I just didn't know if I need to use something like an os.popen(cmd) thingee .....and do I pass it the IE program and the URL string, or just the URL string or ??? Whatever will "kick off" the ie command I think is what I need. I hope I'm not biting off more than I can chew with this, but it sounds neat and challenging.... Thanks for the invite to the meeting but I don't think I can make it. I'm low vision and can't do much driving. I work in Columbus but live in Dayton. I vanpool from Cols. to Springfield and get a ride to Dayton from there each day.... It doesn't look like there's a Python group in Dayton.... TKInter is on my list of stuff to learn....but a bit down the road..... From: CentralOH [mailto:centraloh-bounces+richard.c.1=bwc.state.oh.us at python.org] On Behalf Of Brian Costlow Sent: Wednesday, June 05, 2013 3:14 PM To: Mailing list for Central Ohio Python User Group (COhPy) Subject: Re: [CentralOH] Help for a newbie...... Hi Richard, Welcome! First, I'm not sure I completely understand the question you are asking. Do you want your python program itself to connect to that URL, and display the okay dialog? Or are you trying to use Python to script a browser (Firefox, Chrome, IE) so the browser connects to the URL and hits okay on a dialog displayed in the browser? If the latter, I suggest you look into a web test application, like selenium. You can script it in Python (or a number of other languages) and use it to automate browsers. http://docs.seleniumhq.org/ If the former, you'll need to work out how to connect to the URL and get data. I suggest looking into the Requests library. http://docs.python-requests.org/en/latest/ Then you'll need to work on a GUI. There are a number of possible choices, though PyQt and TkInter seem to get talked about the most. http://wiki.python.org/moin/GuiProgramming Trying to give this level of help on the mailing list is tough. You might want to bring your code to a dojo for help. Or get started and ask a more specific question. You can go here to find dojos, the next one is this Friday. http://cohpy.org --Brian On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us > wrote: First, I'm a real newbie to Python - and I mean a real newbie... I'm still going through a tutorial on it so I think I don't know what I don't know.... and right now I think I'm getting a bit swamped by what seem to be the bunch of ways I might be able to do something..... and what would help is a short example or description of the command/call (s?) that I need to use. Briefly, what I want to be able to do is to execute an internal browser command that will run a shortcut on our internal web that looks like this: http://:5555/dosomething This will call a server which after a few seconds will show an "OK" box on the screen to which I want to "pipe" an "enter" command. There's a lot more to the whole thing, but if I can get an example of what commands/calls/?? I would need to use to do those two actions that would get me started. Thank you very much for any help/suggestions/references/thoughts you may feel like sharing! Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. _______________________________________________ CentralOH mailing list CentralOH at python.org http://mail.python.org/mailman/listinfo/centraloh Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kurtis.mullins at gmail.com Wed Jun 5 21:58:16 2013 From: kurtis.mullins at gmail.com (Kurtis Mullins) Date: Wed, 5 Jun 2013 15:58:16 -0400 Subject: [CentralOH] Help for a newbie...... In-Reply-To: <05CEC79B81631F4BAFAF8E30F65E45DB09296209@SOCEMMB04> References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> <05CEC79B81631F4BAFAF8E30F65E45DB09296209@SOCEMMB04> Message-ID: I'm not sure I would launch IE with Python. While it may serve as a decent introductory practice exercise, I feel that you can create a better solution while still "getting your feet wet". I don't know how you have stored these IE shortcuts; if you can move all of these URLs into some sort of a data file, that would be great. >From there, use a library such as curl to call a GET request on each of these URLs. If you want to be fancy, you could use a simple GUI library (such as TKinter which you mentioned) to display what you like. However, I'd just get the bare-minimal functionality working first and display the output (along with any user-interaction) in the console. NCurses might be a good candidate for this. I live in Dayton, myself, and don't attend any of the meetings so don't feel bad. I'm usually *extremely* busy with work and my son but if you're ever in town during a time I'm free, I'd be more than happy to walk you through any questions you may have. I've had quite a few people who were lost in the Python world and managed to "show [them] the light" without a whole lot of effort. On Wed, Jun 5, 2013 at 3:42 PM, Richard.C.1 at bwc.state.oh.us < Richard.C.1 at bwc.state.oh.us> wrote: > Thank you for your speedy reply! > > > > What I do is work with/manage a large number of servers here at the > bureau. Each morning I have a number > > of IE shortcuts each of which I click on to run. The shortcuts are of the > form http://servername:5555 . This will cause the > > server to run the ?health app? and display a status result screen and an > ?ok? reply box. Since I?m starting with Python I thought > > it would be instructive and kind of neat to be able to automate the > process so that I can kick off a python program > > that will call/run/execute the IE shortcut that will call the server which > will then display the status screen and wait > > for me to reply with an enter key to the ?OK? box. Then on to the next > screen full. > > > > I just didn?t know if I need to use something like an os.popen(cmd) > thingee ?..and do I pass it the IE program and > > the URL string, or just the URL string or ??? Whatever will ?kick off? > the ie command I think is what I need. > > > > I hope I?m not biting off more than I can chew with this, but it sounds > neat and challenging?. > > > > Thanks for the invite to the meeting but I don?t think I can make it. I?m > low vision and can?t do much driving. I work > > in Columbus but live in Dayton. I vanpool from Cols. to Springfield and > get a ride to Dayton from there each day?. > > It doesn?t look like there?s a Python group in Dayton?. > > > > TKInter is on my list of stuff to learn?.but a bit down the road?.. > > > > *From:* CentralOH [mailto:centraloh-bounces+richard.c.1= > bwc.state.oh.us at python.org] *On Behalf Of *Brian Costlow > *Sent:* Wednesday, June 05, 2013 3:14 PM > *To:* Mailing list for Central Ohio Python User Group (COhPy) > *Subject:* Re: [CentralOH] Help for a newbie...... > > > > Hi Richard, > > > > Welcome! > > > > First, I'm not sure I completely understand the question you are asking. > > > > Do you want your python program itself to connect to that URL, and display > the okay dialog? > > > > Or are you trying to use Python to script a browser (Firefox, Chrome, IE) > so the browser connects to the URL and hits okay on a dialog displayed in > the browser? > > > > If the latter, I suggest you look into a web test application, like > selenium. You can script it in Python (or a number of other languages) and > use it to automate browsers. > > > > http://docs.seleniumhq.org/ > > > > If the former, you'll need to work out how to connect to the URL and get > data. I suggest looking into the Requests library. > > > > http://docs.python-requests.org/en/latest/ > > > > Then you'll need to work on a GUI. There are a number of possible choices, > though PyQt and TkInter seem to get talked about the most. > > > > http://wiki.python.org/moin/GuiProgramming > > > > Trying to give this level of help on the mailing list is tough. You might > want to bring your code to a dojo for help. Or get started and ask a more > specific question. > > > > You can go here to find dojos, the next one is this Friday. > http://cohpy.org > > > > --Brian > > > > > > > > > > > > On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us < > Richard.C.1 at bwc.state.oh.us> wrote: > > First, I?m a real newbie to Python ? and I mean a real newbie? I?m still > going > > through a tutorial on it so I think I don?t know what I don?t know?. and > right > > now I think I?m getting a bit swamped by what seem to be the bunch of ways > > I might be able to do something?.. and what would help is a short example > or > > description of the command/call (s?) that I need to use. Briefly, what I > want to > > be able to do is to execute an internal browser command that will run a > shortcut > > on our internal web that looks like this: > > > > http://:5555/dosomething > > > > This will call a server which after a few seconds will show an ?OK? box on > the > > screen to which I want to ?pipe? an ?enter? command. There?s a lot more > to > > the whole thing, but if I can get an example of what commands/calls/?? I > would > > need to use to do those two actions that would get me started. Thank you > very > > much for any help/suggestions/references/thoughts you may feel like > sharing! > > > > > > > > Portions of this message may be confidential under an exemption to Ohio's > public records law or under a legal privilege. If you have received this > message in error or due to an unauthorized transmission or interception, > please delete all copies from your system without disclosing, copying, or > transmitting this message. > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > > Portions of this message may be confidential under an exemption to > Ohio's public records law or under a legal privilege. If you have received > this message in error or due to an unauthorized transmission or > interception, please delete all copies from your system without disclosing, > copying, or transmitting this message. > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.C.1 at bwc.state.oh.us Wed Jun 5 21:56:17 2013 From: Richard.C.1 at bwc.state.oh.us (Richard.C.1 at bwc.state.oh.us) Date: Wed, 5 Jun 2013 19:56:17 +0000 Subject: [CentralOH] Help for a newbie...... In-Reply-To: References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> Message-ID: <05CEC79B81631F4BAFAF8E30F65E45DB09296238@SOCEMMB04> I just looked at "selenium". That looks great! Thank you for sharing that. I think that that will be exactly what I'm looking for! From: CentralOH [mailto:centraloh-bounces+richard.c.1=bwc.state.oh.us at python.org] On Behalf Of Brian Costlow Sent: Wednesday, June 05, 2013 3:14 PM To: Mailing list for Central Ohio Python User Group (COhPy) Subject: Re: [CentralOH] Help for a newbie...... Hi Richard, Welcome! First, I'm not sure I completely understand the question you are asking. Do you want your python program itself to connect to that URL, and display the okay dialog? Or are you trying to use Python to script a browser (Firefox, Chrome, IE) so the browser connects to the URL and hits okay on a dialog displayed in the browser? If the latter, I suggest you look into a web test application, like selenium. You can script it in Python (or a number of other languages) and use it to automate browsers. http://docs.seleniumhq.org/ If the former, you'll need to work out how to connect to the URL and get data. I suggest looking into the Requests library. http://docs.python-requests.org/en/latest/ Then you'll need to work on a GUI. There are a number of possible choices, though PyQt and TkInter seem to get talked about the most. http://wiki.python.org/moin/GuiProgramming Trying to give this level of help on the mailing list is tough. You might want to bring your code to a dojo for help. Or get started and ask a more specific question. You can go here to find dojos, the next one is this Friday. http://cohpy.org --Brian On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us > wrote: First, I'm a real newbie to Python - and I mean a real newbie... I'm still going through a tutorial on it so I think I don't know what I don't know.... and right now I think I'm getting a bit swamped by what seem to be the bunch of ways I might be able to do something..... and what would help is a short example or description of the command/call (s?) that I need to use. Briefly, what I want to be able to do is to execute an internal browser command that will run a shortcut on our internal web that looks like this: http://:5555/dosomething This will call a server which after a few seconds will show an "OK" box on the screen to which I want to "pipe" an "enter" command. There's a lot more to the whole thing, but if I can get an example of what commands/calls/?? I would need to use to do those two actions that would get me started. Thank you very much for any help/suggestions/references/thoughts you may feel like sharing! Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. _______________________________________________ CentralOH mailing list CentralOH at python.org http://mail.python.org/mailman/listinfo/centraloh Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.C.1 at bwc.state.oh.us Wed Jun 5 22:00:44 2013 From: Richard.C.1 at bwc.state.oh.us (Richard.C.1 at bwc.state.oh.us) Date: Wed, 5 Jun 2013 20:00:44 +0000 Subject: [CentralOH] Help for a newbie...... In-Reply-To: References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> Message-ID: <05CEC79B81631F4BAFAF8E30F65E45DB0929625C@SOCEMMB04> Thank you for the speedy reply! I think that a program called "selenium" is what I was looking to do - and it looks like it's ready-made and opensource. It sounds like I was underestimating what it would take for a newbie like me to do it in Python at this stage of my learning curve. I think I'll look into "selenium" and try easier learning projects to learn Python... From: CentralOH [mailto:centraloh-bounces+richard.c.1=bwc.state.oh.us at python.org] On Behalf Of Kurtis Mullins Sent: Wednesday, June 05, 2013 3:35 PM To: Mailing list for Central Ohio Python User Group (COhPy) Subject: Re: [CentralOH] Help for a newbie...... I'm also not completely sure what you're trying to acheive. My first intuition is you want http://:5555/dosomething to be served by Python, in which case the Python script/web-app will allow users to execute commands on the server. If that's the case, I recommend being very cautious for security purposes. If this is what you're seeking to do, please elaborate on which issues you are having when calling commands and I'd be glad to help out. Good luck! - Kurtis On Wed, Jun 5, 2013 at 3:14 PM, Brian Costlow > wrote: Hi Richard, Welcome! First, I'm not sure I completely understand the question you are asking. Do you want your python program itself to connect to that URL, and display the okay dialog? Or are you trying to use Python to script a browser (Firefox, Chrome, IE) so the browser connects to the URL and hits okay on a dialog displayed in the browser? If the latter, I suggest you look into a web test application, like selenium. You can script it in Python (or a number of other languages) and use it to automate browsers. http://docs.seleniumhq.org/ If the former, you'll need to work out how to connect to the URL and get data. I suggest looking into the Requests library. http://docs.python-requests.org/en/latest/ Then you'll need to work on a GUI. There are a number of possible choices, though PyQt and TkInter seem to get talked about the most. http://wiki.python.org/moin/GuiProgramming Trying to give this level of help on the mailing list is tough. You might want to bring your code to a dojo for help. Or get started and ask a more specific question. You can go here to find dojos, the next one is this Friday. http://cohpy.org --Brian On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us > wrote: First, I'm a real newbie to Python - and I mean a real newbie... I'm still going through a tutorial on it so I think I don't know what I don't know.... and right now I think I'm getting a bit swamped by what seem to be the bunch of ways I might be able to do something..... and what would help is a short example or description of the command/call (s?) that I need to use. Briefly, what I want to be able to do is to execute an internal browser command that will run a shortcut on our internal web that looks like this: http://:5555/dosomething This will call a server which after a few seconds will show an "OK" box on the screen to which I want to "pipe" an "enter" command. There's a lot more to the whole thing, but if I can get an example of what commands/calls/?? I would need to use to do those two actions that would get me started. Thank you very much for any help/suggestions/references/thoughts you may feel like sharing! Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. _______________________________________________ CentralOH mailing list CentralOH at python.org http://mail.python.org/mailman/listinfo/centraloh _______________________________________________ CentralOH mailing list CentralOH at python.org http://mail.python.org/mailman/listinfo/centraloh Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.C.1 at bwc.state.oh.us Wed Jun 5 22:15:26 2013 From: Richard.C.1 at bwc.state.oh.us (Richard.C.1 at bwc.state.oh.us) Date: Wed, 5 Jun 2013 20:15:26 +0000 Subject: [CentralOH] Help for a newbie...... In-Reply-To: References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> <05CEC79B81631F4BAFAF8E30F65E45DB09296209@SOCEMMB04> Message-ID: <05CEC79B81631F4BAFAF8E30F65E45DB0929628F@SOCEMMB04> Thank you for the suggestions - I think I'll work on that approach as I learn more about Python. I think also I'll try the "Selenium" web testing scripting approach just to get it up and running. Thanks for the offer of help in Dayton! I know what you mean about being busy - I also have a special needs child we adopted who has cerebral palsy and other needs, so between my job here, travel time to and from Dayton and time with the family I have to practically budget my time carefully. I appreciate your offer of help and will take you up on it if I hit a dead end. Just wondering - is there any Python group activity/interest in the Dayton area? I would think that with the universities and WP there would be a lot.... From: CentralOH [mailto:centraloh-bounces+richard.c.1=bwc.state.oh.us at python.org] On Behalf Of Kurtis Mullins Sent: Wednesday, June 05, 2013 3:58 PM To: Mailing list for Central Ohio Python User Group (COhPy) Subject: Re: [CentralOH] Help for a newbie...... I'm not sure I would launch IE with Python. While it may serve as a decent introductory practice exercise, I feel that you can create a better solution while still "getting your feet wet". I don't know how you have stored these IE shortcuts; if you can move all of these URLs into some sort of a data file, that would be great. >From there, use a library such as curl to call a GET request on each of these URLs. If you want to be fancy, you could use a simple GUI library (such as TKinter which you mentioned) to display what you like. However, I'd just get the bare-minimal functionality working first and display the output (along with any user-interaction) in the console. NCurses might be a good candidate for this. I live in Dayton, myself, and don't attend any of the meetings so don't feel bad. I'm usually extremely busy with work and my son but if you're ever in town during a time I'm free, I'd be more than happy to walk you through any questions you may have. I've had quite a few people who were lost in the Python world and managed to "show [them] the light" without a whole lot of effort. On Wed, Jun 5, 2013 at 3:42 PM, Richard.C.1 at bwc.state.oh.us > wrote: Thank you for your speedy reply! What I do is work with/manage a large number of servers here at the bureau. Each morning I have a number of IE shortcuts each of which I click on to run. The shortcuts are of the form http://servername:5555 . This will cause the server to run the "health app" and display a status result screen and an "ok" reply box. Since I'm starting with Python I thought it would be instructive and kind of neat to be able to automate the process so that I can kick off a python program that will call/run/execute the IE shortcut that will call the server which will then display the status screen and wait for me to reply with an enter key to the "OK" box. Then on to the next screen full. I just didn't know if I need to use something like an os.popen(cmd) thingee .....and do I pass it the IE program and the URL string, or just the URL string or ??? Whatever will "kick off" the ie command I think is what I need. I hope I'm not biting off more than I can chew with this, but it sounds neat and challenging.... Thanks for the invite to the meeting but I don't think I can make it. I'm low vision and can't do much driving. I work in Columbus but live in Dayton. I vanpool from Cols. to Springfield and get a ride to Dayton from there each day.... It doesn't look like there's a Python group in Dayton.... TKInter is on my list of stuff to learn....but a bit down the road..... From: CentralOH [mailto:centraloh-bounces+richard.c.1=bwc.state.oh.us at python.org] On Behalf Of Brian Costlow Sent: Wednesday, June 05, 2013 3:14 PM To: Mailing list for Central Ohio Python User Group (COhPy) Subject: Re: [CentralOH] Help for a newbie...... Hi Richard, Welcome! First, I'm not sure I completely understand the question you are asking. Do you want your python program itself to connect to that URL, and display the okay dialog? Or are you trying to use Python to script a browser (Firefox, Chrome, IE) so the browser connects to the URL and hits okay on a dialog displayed in the browser? If the latter, I suggest you look into a web test application, like selenium. You can script it in Python (or a number of other languages) and use it to automate browsers. http://docs.seleniumhq.org/ If the former, you'll need to work out how to connect to the URL and get data. I suggest looking into the Requests library. http://docs.python-requests.org/en/latest/ Then you'll need to work on a GUI. There are a number of possible choices, though PyQt and TkInter seem to get talked about the most. http://wiki.python.org/moin/GuiProgramming Trying to give this level of help on the mailing list is tough. You might want to bring your code to a dojo for help. Or get started and ask a more specific question. You can go here to find dojos, the next one is this Friday. http://cohpy.org --Brian On Wed, Jun 5, 2013 at 2:36 PM, Richard.C.1 at bwc.state.oh.us > wrote: First, I'm a real newbie to Python - and I mean a real newbie... I'm still going through a tutorial on it so I think I don't know what I don't know.... and right now I think I'm getting a bit swamped by what seem to be the bunch of ways I might be able to do something..... and what would help is a short example or description of the command/call (s?) that I need to use. Briefly, what I want to be able to do is to execute an internal browser command that will run a shortcut on our internal web that looks like this: http://:5555/dosomething This will call a server which after a few seconds will show an "OK" box on the screen to which I want to "pipe" an "enter" command. There's a lot more to the whole thing, but if I can get an example of what commands/calls/?? I would need to use to do those two actions that would get me started. Thank you very much for any help/suggestions/references/thoughts you may feel like sharing! Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. _______________________________________________ CentralOH mailing list CentralOH at python.org http://mail.python.org/mailman/listinfo/centraloh Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. _______________________________________________ CentralOH mailing list CentralOH at python.org http://mail.python.org/mailman/listinfo/centraloh Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian.costlow at gmail.com Wed Jun 5 22:27:14 2013 From: brian.costlow at gmail.com (Brian Costlow) Date: Wed, 5 Jun 2013 16:27:14 -0400 Subject: [CentralOH] Help for a newbie...... In-Reply-To: <05CEC79B81631F4BAFAF8E30F65E45DB0929628F@SOCEMMB04> References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> <05CEC79B81631F4BAFAF8E30F65E45DB09296209@SOCEMMB04> <05CEC79B81631F4BAFAF8E30F65E45DB0929628F@SOCEMMB04> Message-ID: On Wed, Jun 5, 2013 at 4:15 PM, Richard.C.1 at bwc.state.oh.us < Richard.C.1 at bwc.state.oh.us> wrote: > > > > Just wondering ? is there any Python group activity/interest in the Dayton > area? I would think that with the > > universities and WP there would be a lot?. > > > Check out the Dynamic languages group: http://www.meetup.com/Dayton-Dynamic-Languages-User-Group/ It's more than just Python, but the organizer, Catherine Devlin, is a Python guru and the BDFL of the PyOhio conference. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.C.1 at bwc.state.oh.us Wed Jun 5 22:39:35 2013 From: Richard.C.1 at bwc.state.oh.us (Richard.C.1 at bwc.state.oh.us) Date: Wed, 5 Jun 2013 20:39:35 +0000 Subject: [CentralOH] Help for a newbie...... In-Reply-To: References: <05CEC79B81631F4BAFAF8E30F65E45DB09296180@SOCEMMB04> <05CEC79B81631F4BAFAF8E30F65E45DB09296209@SOCEMMB04> <05CEC79B81631F4BAFAF8E30F65E45DB0929628F@SOCEMMB04> Message-ID: <05CEC79B81631F4BAFAF8E30F65E45DB0929630B@SOCEMMB04> Thank you - that looks great - I appreciate your letting me know! From: CentralOH [mailto:centraloh-bounces+richard.c.1=bwc.state.oh.us at python.org] On Behalf Of Brian Costlow Sent: Wednesday, June 05, 2013 4:27 PM To: Mailing list for Central Ohio Python User Group (COhPy) Subject: Re: [CentralOH] Help for a newbie...... On Wed, Jun 5, 2013 at 4:15 PM, Richard.C.1 at bwc.state.oh.us > wrote: Just wondering - is there any Python group activity/interest in the Dayton area? I would think that with the universities and WP there would be a lot.... Check out the Dynamic languages group: http://www.meetup.com/Dayton-Dynamic-Languages-User-Group/ It's more than just Python, but the organizer, Catherine Devlin, is a Python guru and the BDFL of the PyOhio conference. Portions of this message may be confidential under an exemption to Ohio's public records law or under a legal privilege. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbc at unc.edu Wed Jun 5 23:31:06 2013 From: cbc at unc.edu (Calloway, Chris) Date: Wed, 5 Jun 2013 21:31:06 +0000 Subject: [CentralOH] Python Community Training Events Message-ID: Here are some upcoming Python community training events organized by the Triangle Python Users Group: PyOhio PyCamp 2013 offered July 22-26, 2013 at Ohio State University in conjunction with the PyOhio 2013 regional Python conference: http://trizpug.org/boot-camp/pyohio13/ Python Network and Web Programming Workshop offered August 5-9, 2013 at the University of North Carolina: http://trizpug.org/boot-camp/pywebpw13/ Toronto PyCamp 2013 offered August 12-16, 2013 at the University of Toronto in conjunction with the PyCon Canada 2013 national Python conference: http://trizpug.org/boot-camp/torpy13/ Seattle PyCamp 2013 offered September 9-13, 2013 at the University of Washington's Paul G. Allen Center for Computer Science and Engineering: http://trizpug.org/boot-camp/seapy13/ -- Sincerely, Chris Calloway UNC-CH Department of Marine Sciences 3313 Venable Hall CB 3300 Chapel Hill, NC 27599-3300 (919) 599-3530 From jep200404 at columbus.rr.com Thu Jun 6 14:21:59 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Thu, 6 Jun 2013 08:21:59 -0400 Subject: [CentralOH] Dojo Reminder: Friday, but not Thursday Message-ID: <20130606082159.156fa741.jep200404@columbus.rr.com> Day of week change for dojos: Friday not Thursday http://www.meetup.com/Central-Ohio-Python-Users-Group/events/122423002/ cohpy.org From douglas.m.stanley at gmail.com Thu Jun 6 17:10:03 2013 From: douglas.m.stanley at gmail.com (Douglas Stanley) Date: Thu, 6 Jun 2013 11:10:03 -0400 Subject: [CentralOH] Debian / Gunicorn In-Reply-To: <1369315571.18697.74.camel@zelbinion.cisco.com> References: <1369315571.18697.74.camel@zelbinion.cisco.com> Message-ID: Let me ask this. How do most of you who use supervisor, install it? Do you use the distro packages, or also install it via pip/easy_install in a virtual env? Doug On Thu, May 23, 2013 at 9:26 AM, William McVey wrote: > On Wed, 2013-05-22 at 20:32 -0400, John Santiago wrote: > > Has anyone had any experience install gunicorn on debian. Trying to > > figure out the config. What is good set up for wsgi app? > > I run most of my wsgi services (a combination of flask and django) > through gunicorn on Ubuntu. I always install gunicorn into the > virtualenv associated with my app/site, so installation is rarely more > than a 'pip install gunicorn' from within the appropriate virtualenv. > (Technically, I use chef to do this for me, but that's a tangent.) > Similar to Brandon, I user supervisord to launch gunicorn, although I > invoke it slightly different: > > > In /etc/supervisor.d/gunicorn_MY_APP.conf > > command=/srv/MY_APP_NAME/venv/bin/gunicorn_django --config > /srv/MY_APP_NAME/app/conf/webserver.py > /srv/MY_APP_NAME/app/MY_APP_site/settings.py > process_name=%(program_name)s > numprocs=1 > numprocs_start=0 > autostart=true > autorestart=true > directory=/srv/bundle_analysis > serverurl=AUTO > user=www-data > startsecs=1 > startretries=3 > > My gunicorn config file is webserver.py with variables like: > > # What ports/sockets to listen on, and what options for them. > bind = "0.0.0.0:8000" > # The maximum number of pending connections > backlog = 2048 > # What the timeout for killing busy workers is, in seconds > timeout = 180 > # How long to wait for requests on a Keep-Alive connection, in > seconds > keepalive = 2 > # The maxium number of requests a worker will process before > restarting > max_requests = 0 > # Whether the app should be pre-loaded > preload_app = False > # How many worker processes > workers = 8 > # Type of worker to use > worker_class = "sync" > > The last argument to the command is the django settings.py file which I > assume you're familiar with. > > -- William > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From blorenz at gmail.com Thu Jun 6 17:11:38 2013 From: blorenz at gmail.com (Brandon Lorenz) Date: Thu, 6 Jun 2013 11:11:38 -0400 Subject: [CentralOH] Debian / Gunicorn In-Reply-To: References: <1369315571.18697.74.camel@zelbinion.cisco.com> Message-ID: easy_install, but not into virtualenv (is this even possible?) On Thu, Jun 6, 2013 at 11:10 AM, Douglas Stanley < douglas.m.stanley at gmail.com> wrote: > Let me ask this. How do most of you who use supervisor, install it? Do you > use the distro packages, or also install it via pip/easy_install in a > virtual env? > > Doug > > > On Thu, May 23, 2013 at 9:26 AM, William McVey wrote: > >> On Wed, 2013-05-22 at 20:32 -0400, John Santiago wrote: >> > Has anyone had any experience install gunicorn on debian. Trying to >> > figure out the config. What is good set up for wsgi app? >> >> I run most of my wsgi services (a combination of flask and django) >> through gunicorn on Ubuntu. I always install gunicorn into the >> virtualenv associated with my app/site, so installation is rarely more >> than a 'pip install gunicorn' from within the appropriate virtualenv. >> (Technically, I use chef to do this for me, but that's a tangent.) >> Similar to Brandon, I user supervisord to launch gunicorn, although I >> invoke it slightly different: >> >> >> In /etc/supervisor.d/gunicorn_MY_APP.conf >> >> command=/srv/MY_APP_NAME/venv/bin/gunicorn_django --config >> /srv/MY_APP_NAME/app/conf/webserver.py >> /srv/MY_APP_NAME/app/MY_APP_site/settings.py >> process_name=%(program_name)s >> numprocs=1 >> numprocs_start=0 >> autostart=true >> autorestart=true >> directory=/srv/bundle_analysis >> serverurl=AUTO >> user=www-data >> startsecs=1 >> startretries=3 >> >> My gunicorn config file is webserver.py with variables like: >> >> # What ports/sockets to listen on, and what options for them. >> bind = "0.0.0.0:8000" >> # The maximum number of pending connections >> backlog = 2048 >> # What the timeout for killing busy workers is, in seconds >> timeout = 180 >> # How long to wait for requests on a Keep-Alive connection, in >> seconds >> keepalive = 2 >> # The maxium number of requests a worker will process before >> restarting >> max_requests = 0 >> # Whether the app should be pre-loaded >> preload_app = False >> # How many worker processes >> workers = 8 >> # Type of worker to use >> worker_class = "sync" >> >> The last argument to the command is the django settings.py file which I >> assume you're familiar with. >> >> -- William >> >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> http://mail.python.org/mailman/listinfo/centraloh >> > > > > -- > Please avoid sending me Word or PowerPoint attachments. > See http://www.gnu.org/philosophy/no-word-attachments.html > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iynaix at gmail.com Thu Jun 6 17:18:14 2013 From: iynaix at gmail.com (iynaix) Date: Thu, 6 Jun 2013 11:18:14 -0400 Subject: [CentralOH] Debian / Gunicorn In-Reply-To: References: <1369315571.18697.74.camel@zelbinion.cisco.com> Message-ID: Yes, it is. (Although you should be using pip instead ;) ) Running easy_install or pip without a virtualenv installs the package into your OS global site-packages. You will need sudo for this to work. Cheers, Xianyi On Thu, Jun 6, 2013 at 11:11 AM, Brandon Lorenz wrote: > easy_install, but not into virtualenv (is this even possible?) > > > On Thu, Jun 6, 2013 at 11:10 AM, Douglas Stanley < > douglas.m.stanley at gmail.com> wrote: > >> Let me ask this. How do most of you who use supervisor, install it? Do >> you use the distro packages, or also install it via pip/easy_install in a >> virtual env? >> >> Doug >> >> >> On Thu, May 23, 2013 at 9:26 AM, William McVey wrote: >> >>> On Wed, 2013-05-22 at 20:32 -0400, John Santiago wrote: >>> > Has anyone had any experience install gunicorn on debian. Trying to >>> > figure out the config. What is good set up for wsgi app? >>> >>> I run most of my wsgi services (a combination of flask and django) >>> through gunicorn on Ubuntu. I always install gunicorn into the >>> virtualenv associated with my app/site, so installation is rarely more >>> than a 'pip install gunicorn' from within the appropriate virtualenv. >>> (Technically, I use chef to do this for me, but that's a tangent.) >>> Similar to Brandon, I user supervisord to launch gunicorn, although I >>> invoke it slightly different: >>> >>> >>> In /etc/supervisor.d/gunicorn_MY_APP.conf >>> >>> command=/srv/MY_APP_NAME/venv/bin/gunicorn_django --config >>> /srv/MY_APP_NAME/app/conf/webserver.py >>> /srv/MY_APP_NAME/app/MY_APP_site/settings.py >>> process_name=%(program_name)s >>> numprocs=1 >>> numprocs_start=0 >>> autostart=true >>> autorestart=true >>> directory=/srv/bundle_analysis >>> serverurl=AUTO >>> user=www-data >>> startsecs=1 >>> startretries=3 >>> >>> My gunicorn config file is webserver.py with variables like: >>> >>> # What ports/sockets to listen on, and what options for them. >>> bind = "0.0.0.0:8000" >>> # The maximum number of pending connections >>> backlog = 2048 >>> # What the timeout for killing busy workers is, in seconds >>> timeout = 180 >>> # How long to wait for requests on a Keep-Alive connection, in >>> seconds >>> keepalive = 2 >>> # The maxium number of requests a worker will process before >>> restarting >>> max_requests = 0 >>> # Whether the app should be pre-loaded >>> preload_app = False >>> # How many worker processes >>> workers = 8 >>> # Type of worker to use >>> worker_class = "sync" >>> >>> The last argument to the command is the django settings.py file which I >>> assume you're familiar with. >>> >>> -- William >>> >>> _______________________________________________ >>> CentralOH mailing list >>> CentralOH at python.org >>> http://mail.python.org/mailman/listinfo/centraloh >>> >> >> >> >> -- >> Please avoid sending me Word or PowerPoint attachments. >> See http://www.gnu.org/philosophy/no-word-attachments.html >> >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> http://mail.python.org/mailman/listinfo/centraloh >> >> > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdsantiagojr at gmail.com Thu Jun 6 18:04:24 2013 From: jdsantiagojr at gmail.com (John Santiago) Date: Thu, 6 Jun 2013 12:04:24 -0400 Subject: [CentralOH] Debian / Gunicorn In-Reply-To: References: <1369315571.18697.74.camel@zelbinion.cisco.com> Message-ID: I am using Debian. Installed through package manager. On Thu, Jun 6, 2013 at 11:18 AM, iynaix wrote: > Yes, it is. (Although you should be using pip instead ;) ) > > Running easy_install or pip without a virtualenv installs the package into > your OS global site-packages. You will need sudo for this to work. > > Cheers, > Xianyi > > > On Thu, Jun 6, 2013 at 11:11 AM, Brandon Lorenz wrote: > >> easy_install, but not into virtualenv (is this even possible?) >> >> >> On Thu, Jun 6, 2013 at 11:10 AM, Douglas Stanley < >> douglas.m.stanley at gmail.com> wrote: >> >>> Let me ask this. How do most of you who use supervisor, install it? Do >>> you use the distro packages, or also install it via pip/easy_install in a >>> virtual env? >>> >>> Doug >>> >>> >>> On Thu, May 23, 2013 at 9:26 AM, William McVey wrote: >>> >>>> On Wed, 2013-05-22 at 20:32 -0400, John Santiago wrote: >>>> > Has anyone had any experience install gunicorn on debian. Trying to >>>> > figure out the config. What is good set up for wsgi app? >>>> >>>> I run most of my wsgi services (a combination of flask and django) >>>> through gunicorn on Ubuntu. I always install gunicorn into the >>>> virtualenv associated with my app/site, so installation is rarely more >>>> than a 'pip install gunicorn' from within the appropriate virtualenv. >>>> (Technically, I use chef to do this for me, but that's a tangent.) >>>> Similar to Brandon, I user supervisord to launch gunicorn, although I >>>> invoke it slightly different: >>>> >>>> >>>> In /etc/supervisor.d/gunicorn_MY_APP.conf >>>> >>>> command=/srv/MY_APP_NAME/venv/bin/gunicorn_django --config >>>> /srv/MY_APP_NAME/app/conf/webserver.py >>>> /srv/MY_APP_NAME/app/MY_APP_site/settings.py >>>> process_name=%(program_name)s >>>> numprocs=1 >>>> numprocs_start=0 >>>> autostart=true >>>> autorestart=true >>>> directory=/srv/bundle_analysis >>>> serverurl=AUTO >>>> user=www-data >>>> startsecs=1 >>>> startretries=3 >>>> >>>> My gunicorn config file is webserver.py with variables like: >>>> >>>> # What ports/sockets to listen on, and what options for them. >>>> bind = "0.0.0.0:8000" >>>> # The maximum number of pending connections >>>> backlog = 2048 >>>> # What the timeout for killing busy workers is, in seconds >>>> timeout = 180 >>>> # How long to wait for requests on a Keep-Alive connection, in >>>> seconds >>>> keepalive = 2 >>>> # The maxium number of requests a worker will process before >>>> restarting >>>> max_requests = 0 >>>> # Whether the app should be pre-loaded >>>> preload_app = False >>>> # How many worker processes >>>> workers = 8 >>>> # Type of worker to use >>>> worker_class = "sync" >>>> >>>> The last argument to the command is the django settings.py file which I >>>> assume you're familiar with. >>>> >>>> -- William >>>> >>>> _______________________________________________ >>>> CentralOH mailing list >>>> CentralOH at python.org >>>> http://mail.python.org/mailman/listinfo/centraloh >>>> >>> >>> >>> >>> -- >>> Please avoid sending me Word or PowerPoint attachments. >>> See http://www.gnu.org/philosophy/no-word-attachments.html >>> >>> _______________________________________________ >>> CentralOH mailing list >>> CentralOH at python.org >>> http://mail.python.org/mailman/listinfo/centraloh >>> >>> >> >> _______________________________________________ >> CentralOH mailing list >> CentralOH at python.org >> http://mail.python.org/mailman/listinfo/centraloh >> >> > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -- This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Fri Jun 7 14:03:07 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Fri, 7 Jun 2013 08:03:07 -0400 Subject: [CentralOH] Dojo Tonight Reminder Message-ID: <20130607080307.09378492.jep200404@columbus.rr.com> Dojo tonight: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/122423002/ cohpy.org From jep200404 at columbus.rr.com Mon Jun 10 19:16:16 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Mon, 10 Jun 2013 13:16:16 -0400 Subject: [CentralOH] =?utf-8?q?2013-06-07_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8=?= Message-ID: <20130610131616.40b6ddff.jep200404@columbus.rr.com> There were two particularly nifty things this week: nested generators tuple unpacking Last week I wrote: def even_fibonacci(last): a = 0 b = 1 while True: c = a + b a = b b = c if b > last: break if b % 2 == 0: yield b This week, a more elegant way of doing the above was described by XY, where the one generator was split into three simple generators, one that generates fibonacci numbers, one that yields only even numbers, and lastly, one that limits how much is output. Each generator does only one thing, and does it well. The generators are general purpose and can be combined with other generators. This is much like the Unix philosophy and using Unix pipes. def gen_fibonacci(): a, b = 0, 1 while True: a, b = b, a + b yield b def gen_even(gen): for i in gen: if i%2 == 0: yield i def gen_lte(gen, n): for i in gen: if i > n: break yield i print [i for i in gen_lte(gen_even(gen_fibonacci()), 1000)] Now it's easy to combine generators in different ways. print [i for i in gen_lte(gen_fibonacci(), 1000)] def gen_n(gen, n): for i in gen: if n <= 0: break yield i n -= 1 print [i for i in gen_n(gen_fibonacci(), 10)] print [i for i in gen_n(gen_even(gen_fibonacci()), 10)] or as dabeaz might do: fibs = gen_fibonacci() evens = gen_even(fibs) lte = gen_lte(evens, 1000) print [i for i in lte] dabeaz: Daved M. Beazley Generator Tricks for Systems Programmers - Version 2.0 http://www.dabeaz.com/generators-uk/index.html nested generators use like pipes redo my euler #2 to nest even generator with fib generator Tuple unpacking simplified: c = a + b a = b b = c to: a, b = b, a + b Euler 44 decoding QR codes http://qrcode.sourceforge.net/ code.google.com/p/zxing/ beautiful soup html parsing library if you are using it you should stop and start using html5lib https://github.com/html5lib https://github.com/iynaix/zoopshop/ (private) github.com t shortcut filters (if javascript enabled) rebasing everytimezone.com arch linux in a vm genfstab aur arch user repositories od xxd -g 1 -u break out of two loops def iter_foo(): for x in a: for y in b: yield value http://docs.python.org/2.7/library/itertools.html#itertools.product andrewdavidson.com/gibberish/?companyname=Acme millersville.edu/~bikenaga/math-proof/cardinality/cardinality.html library books unicorns chuck norris only eats unicorns oddee.com/item_98571.aspx robocop on a unicorn Physics for Game Developers 2nd Ed $22.49 at Half Price Books on Bethel -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dojo-20130607.ipynb URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: euler44-end-jep.ipynb URL: From iynaix at gmail.com Sat Jun 15 21:55:47 2013 From: iynaix at gmail.com (iynaix) Date: Sat, 15 Jun 2013 15:55:47 -0400 Subject: [CentralOH] Pypy and Virtualenv Message-ID: A question was brought up yesterday about how to use pypy with virtualenvs at the DoJo yesterday, and I just wanted to provide a quick tip on how to do that. I'm assuming pypy has already been installed on your system. If it isn't, there are some good instructions here: http://pypy.org/download.html So after creating the directory that will house your project, set up a virtualenv via: virtualenv env -p `which pypy` The crucial part is the latter portion of the command, which specifies which python interpreter to use. After that, the virtualenv works as per normal: source env/bin/activate Whenever you're in the virtualenv, pypy would become the default python interpreter, i.e running 'python' or 'pypy' launches the pypy interpreter. (the python command is just a symlink to pypy) P.S: This works if you want to run python 3 within a virtualenv as well, e.g: virtualenv env -p `which python3` P.P.S: This is for UNIX-like systems only and won't work on windows. Cheers, XY -------------- next part -------------- An HTML attachment was scrubbed... URL: From blorenz at gmail.com Tue Jun 18 19:42:32 2013 From: blorenz at gmail.com (Brandon Lorenz) Date: Tue, 18 Jun 2013 13:42:32 -0400 Subject: [CentralOH] Job Opp - Nationwide doing Django! Message-ID: Go go, Django! Hey guys, I had a job opp that came across my way. I'm very happy where I am now, but for sakes this was tempting. We (the Columbus Python community) need someone in there to establish a core Django/Python integration for Nationwide. If this job sounds interesting, please contact Pat! And if you get it, let us know here on the list!!! Good luck! Brandon Copy-pasta from my email below ------------------------- Brandon, Thanks again for speaking with me this morning regarding this opportunity. As discussed, Nationwide is looking for a python programmer with knowledge of django and bash shell scripting as well. It is a contract that is scheduled from July 15th ? Nov. 15thhowever, if all goes well on this project there will be more need for this resource so it can turn into a longer term assignment. They currently have WSMI (wasami) and are looking to use back end python programming to convert over to linux servers. This is something that has never been done at Nationwide before, and therefore is an excellent opportunity to create something new and unique. **** ** ** If you have anyone who is interested in this opportunity feel free to pass my info along and have them reach out to me. I will be happy to answer any more questions. **** ** ** 614.789.6226.**** psmith at teksystems.com**** ** ** Thanks,**** Pat**** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Thu Jun 20 02:04:45 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Wed, 19 Jun 2013 20:04:45 -0400 Subject: [CentralOH] Python: A "Toy" Language Message-ID: <20130619200445.5366d91a.jep200404@columbus.rr.com> Python is a good excuse for buying tools to make toys with. http://pyvideo.org/video/1729/python-a-toy-language No scoops of django From mark at aufdencamp.com Thu Jun 20 05:02:27 2013 From: mark at aufdencamp.com (Mark Aufdencamp) Date: Wed, 19 Jun 2013 20:02:27 -0700 Subject: [CentralOH] Python: A "Toy" Language Message-ID: <20130619200227.181451e9c2a7ebbcd6ae28cea81146c8.4207601d61.wbe@email17.secureserver.net> VERY COOL! Thanks JEP > -------- Original Message -------- > Subject: [CentralOH] Python: A "Toy" Language > From: jep200404 at columbus.rr.com > Date: Wed, June 19, 2013 8:04 pm > To: centraloh at python.org > > > Python is a good excuse for buying tools to make toys with. > > http://pyvideo.org/video/1729/python-a-toy-language > > No scoops of django > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh From eric at intellovations.com Fri Jun 21 00:21:44 2013 From: eric at intellovations.com (Eric Floehr) Date: Thu, 20 Jun 2013 18:21:44 -0400 Subject: [CentralOH] Cool Python application using OpenCV Message-ID: I ran across this post today. The application is using OpenCV to do playing card recognition and some math to play a card game called "24". http://arnab.org/blog/so-i-suck-24-automating-card-games-using-opencv-and-python -------------- next part -------------- An HTML attachment was scrubbed... URL: From vganapathy at moveez.com Fri Jun 21 15:05:28 2013 From: vganapathy at moveez.com (Venkatesh Ganapathy) Date: Fri, 21 Jun 2013 09:05:28 -0400 Subject: [CentralOH] Looking for a Technical Co-founder Message-ID: Hi I am the founder of a start-up, MoveEZ, which is an online marketplace that helps moving consumers find licensed and reputable moving companies and makes their move extremely stress free by helping with all other aspects of their move under one roof. We are looking for website/mobile app developer in the role of a technical co-founder/lead developer who is well experienced in Ruby on Rails and/or Python-Django. The MVP is ready and will be launched over the next couple of months. As such, his/her immediate responsibilities will range from maintaining the current website(which is developed on the Python-Django framework), updating it with new functionality, and coordinating with the outsourced development team in Seattle. As a technical co-founder, he/she will be responsible for leading the development of the revamped fully functional website and mobile app, as well as mentoring and growing the development team in the future. We are looking for someone who is excited about working on new ideas, passionate about entrepreneurship, and interested in being a full time partner in an exciting startup. While ideally we are looking for a full time partner, we would also be open to talking to people who are interested in a part time opportunity before they commit to a full time partnership. If anyone is interested, please email me at vganapathy at moveez.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Sat Jun 22 21:16:45 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Sat, 22 Jun 2013 15:16:45 -0400 Subject: [CentralOH] =?utf-8?q?2013-06-22_=E9=81=93=E5=A0=B4_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8=?= Message-ID: <20130622151645.45c1b45d.jep200404@columbus.rr.com> Good deals to be had http://www.hpb.com/968.html China has fastest computer in world http://www.zdnet.com/intel-based-milky-way-2-debuts-as-worlds-fastest-supercomputer-7000016909/ http://www.zdnet.com/china-takes-supercomputing-crown-from-us-7000016904/ http://en.wikipedia.org/wiki/Kurt_Vonnegut http://en.wikipedia.org/wiki/Mars_Attacks http://en.wikipedia.org/wiki/E._E._Smith http://en.wikipedia.org/wiki/Robert_A._Heinlein Magical, but not a unicorn http://jacobian.org/media/img/pony.png http://jacobian.org/writing/django-internals-authen/ Making the Atomic Bomb by Richard Rhodes Dark Sun by same Richard Feynman introduction to lecture videos It takes a brave man to be a coward in the Red Army Classic short French film C'?tait_un_rendez-vous Full table + 1 cohpy.org http://mail.python.org/mailman/listinfo/centraloh http://mail.python.org/pipermail/centraloh/2013-February/001551.html virtualenv is an absolute must https://pypi.python.org/pypi/virtualenv/ virtualenv venv ipython notebook --browser=firefox 3D Earth Satellites An-Introduction--Notebook-Features An-Introduction--First-Example An-Introduction--NumPy-Basics source venv/bin/activate deactivate pip install pip freeze ipython notebook numpy sympy fabric paramiko https://pypi.python.org/pypi?%3Aaction=search&term=wx&submit=search http://wxpython.org/ Xubuntu just works From eric at intellovations.com Mon Jun 24 22:12:15 2013 From: eric at intellovations.com (Eric Floehr) Date: Mon, 24 Jun 2013 16:12:15 -0400 Subject: [CentralOH] Monthly Meeting Tonight Message-ID: Don't forget there is a COhPy meeting tonight at the Forge by Pillar (same place we've met the past few months: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/113876422/ And the after-meeting will be at Bodega: http://www.meetup.com/Central-Ohio-Python-Users-Group/events/122487422/ See you there! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jep200404 at columbus.rr.com Tue Jun 25 16:25:31 2013 From: jep200404 at columbus.rr.com (jep200404 at columbus.rr.com) Date: Tue, 25 Jun 2013 10:25:31 -0400 Subject: [CentralOH] =?utf-8?q?2013-06-24_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8=?= Message-ID: <20130625102531.1233e6f0.jep200404@columbus.rr.com> Hey Raymond, there might be a URL of interest somewhere below. man tr ls -l | tr 'Raymond3' 'Chandler' ls -l | tr '[a-z]' '[A-Z]' ls -l | tr '[a-z]' '[n-za-m]' ls -l | tr '[a-z]' '[n-za-m]' | tr '[a-z]' '[n-za-m]' ls -l | tr -d '\n' ls -l | tr -d '[0-9]' ls -l | tr -d -c '[0-9]' ls -l | tr -c -d '[0-9]' topics that folks wanted to see presentations on python graphics programming opencv python advance python topics: generators, itertools, decorators August meeting might be followup for another Python Workshop. the salt mines coworking http://saltmines.us/coworking/ Scotts is having trouble find right Python talent. found 1st python code he wrote about 7yrs ago quite disgusting top folks on coursera make big big money new albany incubator same building as buckeye interactive swank building udemy.com on-line course spkrbar.com demo.spkrbar.com user experience involution studio edge of victorian village columbus branch is 2 people run by Erik Dahl 1020 Dennison Ave. Suite 302 Columbus, OH 43201 open office on Thursday for UI advice founded and organizes MidwestUX (user's experience) http://www.goinvo.com/tag/ux/ does not like rails, but rails has some good stuff rails asset pipeline accomplished by sprocket django getting stale compared to rails http://mail.python.org/pipermail/centraloh/2013-February/001551.html It might take some serious work to get Brandon's presentation to work on a Mac (besides running in a virtual machine running Xubuntu 12.10) http://projecteuler.net/problem=2 https://duckduckgo.com/html/?q=user%20experience%20ux%20involutions http://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-in-matplotlib/ Tuple unpacking simplified: c = a + b a = b b = c to: a, b = b, a + b Rehashed nested generators of http://mail.python.org/pipermail/centraloh/2013-June/001718.html interator protocol give talk on itertools ipython notebook is cool great for messing around when one doesn't know exactly what one wants to accomplish or how nifty convenience features (like ignoring '>>> ') https://en.wikipedia.org/wiki/Lois_McMaster_Bujold https://en.wikipedia.org/wiki/Vorkosigan_Saga https://en.wikipedia.org/wiki/Shards_of_Honor http://en.wikipedia.org/wiki/Space_opera minneapolis was father Robert Charles McMaster OSU prof? http://en.wikipedia.org/wiki/Brain_Droppings Saint Carlin http://en.wikipedia.org/wiki/George_Carlin pronunciation preserved by isolation http://en.wikipedia.org/wiki/Cades_Cove World War Z not good, not bad, shares title with Book remove all teeth in North Korea Tasmanian Devils virus spread by biting face http://en.wikipedia.org/wiki/Devil_facial_tumour_disease http://en.wikipedia.org/wiki/Dutch_Elm http://en.wikipedia.org/wiki/Dutch_elm_disease http://en.wikipedia.org/wiki/Emerald_Ash_Borer http://en.wikipedia.org/wiki/Emerald_ash_borer_infestation http://en.wikipedia.org/wiki/Chestnut_blight Earthworms are an invasive species http://www.adirondackdailyenterprise.com/page/content.detail/id/524530/Worm-watch.html?nav=5144 https://duckduckgo.com/html/?q=adirondacks+earth+worms From blorenz at gmail.com Tue Jun 25 16:34:02 2013 From: blorenz at gmail.com (Brandon) Date: Tue, 25 Jun 2013 10:34:02 -0400 Subject: [CentralOH] =?utf-8?q?2013-06-24_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8=?= In-Reply-To: <20130625102531.1233e6f0.jep200404@columbus.rr.com> References: <20130625102531.1233e6f0.jep200404@columbus.rr.com> Message-ID: Couldn't make it out last night but want to take this opportunity to thank Jim for what he does here. Keeps me in the loop. Brandon > On Jun 25, 2013, at 10:25 AM, jep200404 at columbus.rr.com wrote: > > Hey Raymond, there might be a URL of interest somewhere below. > > man tr > ls -l | tr 'Raymond3' 'Chandler' > ls -l | tr '[a-z]' '[A-Z]' > ls -l | tr '[a-z]' '[n-za-m]' > ls -l | tr '[a-z]' '[n-za-m]' | tr '[a-z]' '[n-za-m]' > ls -l | tr -d '\n' > ls -l | tr -d '[0-9]' > ls -l | tr -d -c '[0-9]' > ls -l | tr -c -d '[0-9]' > > topics that folks wanted to see presentations on > python graphics programming > opencv python > advance python topics: generators, itertools, decorators > > August meeting might be followup for another Python Workshop. > > the salt mines coworking http://saltmines.us/coworking/ > Scotts is having trouble find right Python talent. > found 1st python code he wrote about 7yrs ago quite disgusting > top folks on coursera make big big money > new albany incubator > same building as buckeye interactive > swank building > udemy.com on-line course > spkrbar.com > demo.spkrbar.com > user experience involution studio edge of victorian village > columbus branch is 2 people run by Erik Dahl > 1020 Dennison Ave. Suite 302 > Columbus, OH 43201 > open office on Thursday for UI advice > founded and organizes MidwestUX (user's experience) > http://www.goinvo.com/tag/ux/ > does not like rails, but rails has some good stuff > rails asset pipeline > accomplished by sprocket > django getting stale compared to rails > > http://mail.python.org/pipermail/centraloh/2013-February/001551.html > It might take some serious work to get Brandon's presentation > to work on a Mac (besides running in a virtual machine running > Xubuntu 12.10) > http://projecteuler.net/problem=2 > https://duckduckgo.com/html/?q=user%20experience%20ux%20involutions > http://jakevdp.github.io/blog/2012/10/07/xkcd-style-plots-in-matplotlib/ > > Tuple unpacking simplified: > > c = a + b > a = b > b = c > > to: > > a, b = b, a + b > > Rehashed nested generators of http://mail.python.org/pipermail/centraloh/2013-June/001718.html > interator protocol > give talk on itertools > > ipython notebook is cool > great for messing around when one doesn't know exactly what > one wants to accomplish or how > nifty convenience features (like ignoring '>>> ') > > https://en.wikipedia.org/wiki/Lois_McMaster_Bujold > https://en.wikipedia.org/wiki/Vorkosigan_Saga > https://en.wikipedia.org/wiki/Shards_of_Honor > http://en.wikipedia.org/wiki/Space_opera > minneapolis > was father Robert Charles McMaster OSU prof? > http://en.wikipedia.org/wiki/Brain_Droppings > Saint Carlin http://en.wikipedia.org/wiki/George_Carlin > pronunciation preserved by isolation > http://en.wikipedia.org/wiki/Cades_Cove > World War Z not good, not bad, shares title with Book > remove all teeth in North Korea > Tasmanian Devils virus spread by biting face > http://en.wikipedia.org/wiki/Devil_facial_tumour_disease > http://en.wikipedia.org/wiki/Dutch_Elm > http://en.wikipedia.org/wiki/Dutch_elm_disease > http://en.wikipedia.org/wiki/Emerald_Ash_Borer > http://en.wikipedia.org/wiki/Emerald_ash_borer_infestation > http://en.wikipedia.org/wiki/Chestnut_blight > Earthworms are an invasive species > http://www.adirondackdailyenterprise.com/page/content.detail/id/524530/Worm-watch.html?nav=5144 > https://duckduckgo.com/html/?q=adirondacks+earth+worms > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh From eric at intellovations.com Tue Jun 25 20:57:43 2013 From: eric at intellovations.com (Eric Floehr) Date: Tue, 25 Jun 2013 14:57:43 -0400 Subject: [CentralOH] =?utf-8?q?2013-06-24_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8=?= In-Reply-To: <20130625102531.1233e6f0.jep200404@columbus.rr.com> References: <20130625102531.1233e6f0.jep200404@columbus.rr.com> Message-ID: > https://en.wikipedia.org/wiki/Lois_McMaster_Bujold > https://en.wikipedia.org/wiki/Vorkosigan_Saga > https://en.wikipedia.org/wiki/Shards_of_Honor > http://en.wikipedia.org/wiki/Space_opera > minneapolis > was father Robert Charles McMaster OSU prof? > Yes... http://www.dendarii.com/tribute.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Tue Jun 25 21:11:40 2013 From: eric at intellovations.com (Eric Floehr) Date: Tue, 25 Jun 2013 15:11:40 -0400 Subject: [CentralOH] Game on Python Message-ID: I've mentioned Unity of Command before, a superb turn-based tactical game written completely in Python and Pygame. It is a commercial (and commercial quality) game, and really shows what you can do with Python. One of the developers sat down to talk about the game at the game design roundtable podcast. Probably not much Python, but a lot on the thoughts that went into the game and its design. If you fancy writing a game, and like Python, check it out: http://jonshaferondesign.com/2013/06/25/tgdrt-33-unity-of-command/ http://unityofcommand.net/ Cheers, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Tue Jun 25 21:05:33 2013 From: eric at intellovations.com (Eric Floehr) Date: Tue, 25 Jun 2013 15:05:33 -0400 Subject: [CentralOH] =?utf-8?q?2013-06-24_=E6=9C=83=E8=AD=B0_Scribbles_?= =?utf-8?b?76SY5pu4L+aDoeaWhz8=?= In-Reply-To: References: <20130625102531.1233e6f0.jep200404@columbus.rr.com> Message-ID: One other thing about Lois McMaster Bujold... Only Heinlein, Asimov, Connie Willis, Vernor Vinge and her have won the Hugo for Best Novel more than twice. I'm glad I discovered her books, but sad it took so long. On Tue, Jun 25, 2013 at 2:57 PM, Eric Floehr wrote: > > https://en.wikipedia.org/wiki/Lois_McMaster_Bujold >> https://en.wikipedia.org/wiki/Vorkosigan_Saga >> https://en.wikipedia.org/wiki/Shards_of_Honor >> http://en.wikipedia.org/wiki/Space_opera >> minneapolis >> was father Robert Charles McMaster OSU prof? >> > > Yes... http://www.dendarii.com/tribute.html > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdsantiagojr at gmail.com Wed Jun 26 15:03:15 2013 From: jdsantiagojr at gmail.com (John Santiago) Date: Wed, 26 Jun 2013 09:03:15 -0400 Subject: [CentralOH] Game on Python In-Reply-To: References: Message-ID: Very cool. Thank you! On Tue, Jun 25, 2013 at 3:11 PM, Eric Floehr wrote: > I've mentioned Unity of Command before, a superb turn-based tactical game > written completely in Python and Pygame. It is a commercial (and commercial > quality) game, and really shows what you can do with Python. > > One of the developers sat down to talk about the game at the game design > roundtable podcast. Probably not much Python, but a lot on the thoughts > that went into the game and its design. > > If you fancy writing a game, and like Python, check it out: > > http://jonshaferondesign.com/2013/06/25/tgdrt-33-unity-of-command/ > > http://unityofcommand.net/ > > Cheers, > Eric > > > _______________________________________________ > CentralOH mailing list > CentralOH at python.org > http://mail.python.org/mailman/listinfo/centraloh > > -- This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at intellovations.com Sat Jun 29 16:26:39 2013 From: eric at intellovations.com (Eric Floehr) Date: Sat, 29 Jun 2013 10:26:39 -0400 Subject: [CentralOH] Python URLs for Development Message-ID: Over the last few years I've collected a few python-related domains that I had plans/ideas for which I've sadly not had the time to develop like I wanted. That's ok, I've put my energies over the years in other Python-related endeavors like chairing PyOhio, running COhPy, and speaking on Python topics. I don't want to give these domains up to squatters, but I don't want to keep squatting on them myself indefinitely. If you have time and want to develop these URLs yourself, I will transfer them to you for free (with a couple of extra years of registration) at the very least. Just give me a proposal for what you'd do with it and your timeline and expected costs. The URLs are: joyofpython.[com,org,net] pythonforkids.[com,org,net] python4girls.[com,org,net] pythonkatas.com I also own pykoans.com and pythonkoans.[com,org,net] which I forward to Greg Malcolm's Python Koans github. But if someone wants to build something like rubykoans.com, I will support it fully. Please forward this to anyone you think would be interested or could make use or make something of these domains. Best Regards, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: