Opening Linux, php, Python, Apache

2023-04-03 Thread James Crawford via PLUG-discuss
The state agency that I currently work for will soon be posting a position for a Linux person, with knowledge of programming. I will be leaving a legacy of a mix of php applications + 2 python API's running on Apache. Plus a bunch of bash scripts, nothing complex, and 2 perl scripts

Re: TDD w/ Python, ch 9

2023-01-26 Thread T Zack Crawford via PLUG-discuss
tutorial videos. Jan 26, 2023 11:22:49 T Zack Crawford via PLUG-discuss : > I have my site hosted by a ramnode vps and reserve my domain with namecheap. > I haven't had any complaints on either but I won't go out and endorse them. > If you're only worried about the pyt

Re: TDD w/ Python, ch 9

2023-01-26 Thread T Zack Crawford via PLUG-discuss
I have my site hosted by a ramnode vps and reserve my domain with namecheap. I haven't had any complaints on either but I won't go out and endorse them. If you're only worried about the python development end, you might consider heroku for non-formal or educational project

Re: TDD w/ Python, ch 9

2023-01-26 Thread Keith Smith via PLUG-discuss
I recently configured Proxmox on a old piece hardware and am glad I did. Keith On 2023-01-25 07:53, trent shipley via PLUG-discuss wrote: I'm on the bench with my employer asd studying test driven development using Harry Precival's Test-Driven Development with Python. Perc

Re: TDD w/ Python, ch 9

2023-01-26 Thread Thomas Scott via PLUG-discuss
>> > >> > (My general observation as an almost qualified anthropologist is that >> > security professionals, whether prison guards, police, or >> > cyber-security are more anxious and suspicious -- even paranoid than >> > the population at large. I suspect th

Re: TDD w/ Python, ch 9

2023-01-26 Thread trent shipley via PLUG-discuss
) >> > >> > (My general observation as an almost qualified anthropologist is that >> > security professionals, whether prison guards, police, or >> > cyber-security are more anxious and suspicious -- even paranoid than >> > the population at large. I suspect t

Re: TDD w/ Python, ch 9

2023-01-26 Thread Thomas Scott via PLUG-discuss
; > (My general observation as an almost qualified anthropologist is that > > security professionals, whether prison guards, police, or > > cyber-security are more anxious and suspicious -- even paranoid than > > the population at large. I suspect they start a little bit more >

Re: Proxmox, was TDD w/ Python, ch 9

2023-01-26 Thread Keith Smith via PLUG-discuss
Hi Steve, Thank you so much for considering me. Tough decision. Currently I am building a WordPress theme. It is complicated and I have not identified any support groups. I do a lot of Google searching and I look at the free/open themes to see how things work. I would say Codex is a good

Re: TDD w/ Python, ch 9

2023-01-26 Thread Keith Smith via PLUG-discuss
I did. Keith On 2023-01-25 07:53, trent shipley via PLUG-discuss wrote: I'm on the bench with my employer asd studying test driven development using Harry Precival's Test-Driven Development with Python. Percival uses a simple web site on Django as the practice or example project. In

Proxmox, was TDD w/ Python, ch 9

2023-01-25 Thread Steve Litt via PLUG-discuss
trent shipley via PLUG-discuss said on Wed, 25 Jan 2023 09:21:46 -0700 >> I recently configured Proxmox on a old piece hardware and am glad I >> did. >> >> Keith Hi Keith, How would you like to give a proxmox presentation at GoLUG? Thanks, SteveT Steve Litt Autumn 2022 featured book: Thrivi

Re: TDD w/ Python, ch 9

2023-01-25 Thread Stephen Partington via PLUG-discuss
Dreamhost might work for you. they have some advanced python options and their dream compute option may be viable for you. On Wed, Jan 25, 2023 at 9:53 AM trent shipley via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I'm on the bench with my employer asd studyi

Re: TDD w/ Python, ch 9

2023-01-25 Thread trent shipley via PLUG-discuss
gured Proxmox on a old piece hardware and am glad I did. > > Keith > > > > > On 2023-01-25 07:53, trent shipley via PLUG-discuss wrote: > > I'm on the bench with my employer asd studying test driven development > > using Harry Precival's Test-Driven Develop

Re: TDD w/ Python, ch 9

2023-01-25 Thread Bob Elzer via PLUG-discuss
evelopment > using Harry Precival's Test-Driven Development with Python. Percival uses > a simple web site on Django as the practice or example project. In chapter > 9 the baby website gets put on a real hosted web server. It needs to be an > olde fashioned service where you have the f

Re: TDD w/ Python, ch 9

2023-01-25 Thread Keith Smith via PLUG-discuss
-discuss wrote: I'm on the bench with my employer asd studying test driven development using Harry Precival's Test-Driven Development with Python. Percival uses a simple web site on Django as the practice or example project. In chapter 9 the baby website gets put on a real hosted web server. I

TDD w/ Python, ch 9

2023-01-25 Thread trent shipley via PLUG-discuss
I'm on the bench with my employer asd studying test driven development using Harry Precival's Test-Driven Development with Python. Percival uses a simple web site on Django as the practice or example project. In chapter 9 the baby website gets put on a real hosted web server. It need

Re: Python project ideas

2022-12-31 Thread Steve Litt via PLUG-discuss
trent shipley via PLUG-discuss said on Fri, 30 Dec 2022 13:37:28 -0700 >/home/user/Projects/flask-tutorial >├── flaskr/ >│ ├── __init__.py >│ ├── db.py >│ ├── schema.sql >│ ├── auth.py >│ ├── blog.py >│ ├── templates/ >│ │ ├── base.html >│ │ ├── auth/ >│ │ │ ├── login.htm

Re: Python project ideas

2022-12-30 Thread greg zegan via PLUG-discuss
I concur.I am taking a short python course right now and would love to know how to prepare for interviews.what skills are needed to perform well on entry level, intermediate and advanced roles please? On Friday, December 30, 2022 at 02:20:10 PM MST, T. Zack Crawford via PLUG-discuss

Re: Python project ideas

2022-12-30 Thread T. Zack Crawford via PLUG-discuss
I don't really know what your question is or what you are trying to do, but I'll mention my immediate thoughts on what you wrote. Python is a very strong language and you can do A LOT with it. It is very popular in data science and for web applications via flask. It excels in writing

Python project ideas

2022-12-30 Thread trent shipley via PLUG-discuss
Python UTF8 Treeview Project Feedback Request I want to move beyond classroom assignments and Exercism.org toy exercises and start work on my own project. A major motivation is to have something to show if I make it to an interview for a software curation and writing job. This kind of view of a

GoLUG meeting features Python threads and thread discussion

2022-12-06 Thread Steve Litt via PLUG-discuss
Hi all, The Wednesday, December 7, 2022 GoLUG start at 7pm Eastern Standard time. It will be at https://meet.jit.si/golug. Full information is at http://golug.info. Come Join us on December 7th, for an introductory course to Go. No experience required, we'll cover some of the basics of Go syntax,

GoLUG meeting features Python threads and thread discussion

2022-11-01 Thread Steve Litt via PLUG-discuss
Hi all, The Wednesday, November 2, 2022 GoLUG start at 7pm Eastern Daylight time. It will be at https://meet.jit.si/golug. Full information is at http://golug.info. In order to seed our threading discussion, Steve will show an ultra-simple threading example in Python during the first 30 minutes

tonight: Kubernetes and Python

2020-07-09 Thread der.hans via PLUG-discuss
moin moin, Austin will be covering Kubernetes and Python for us tonight. We'll be meeting via Big Blue Button. https://lufthans.bigbluemeeting.com/b/plu-yuk-7xx Meeting details. https://phxlinux.org/index.php/meetings/14-east-valley-meeting.html Stammtisch is a week from Tuesday. This

Re: Learning Python

2019-12-18 Thread Jill Rouleau
https://automatetheboringstuff.com/ Also available in dead-tree version. https://greenteapress.com/wp/think-python-2e/ There's 2 editions of this book - one that's based on python2 and one that's updated for python3. Make sure you grab the version for py3. https://www.packtpub.

Re: Learning Python

2019-12-16 Thread Kevin Fries
<<< text/html: Unrecognized >>> --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail settings: https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Learning Python

2019-12-16 Thread Crawford Rainwater
While I admit, I use to go for hardback books, and then even ebook, most seem to become dated with respects to IT topics rather quickly. So I looked into online learning platforms, and have been using LinuxAcademy for several years now. They do include Python development oriented topics, but

Re: Learning Python

2019-12-16 Thread Bob Elzer
I have so many O'Reilly books I used to lear programming and Systems. My first were Learning Perl and Perl Cookbook. While I haven't learned Python, I would think the Learning Python and Python Cookbook would be good books. On Sun, Dec 15, 2019 at 6:31 PM Phil Waclawski wrote: &g

Re: Learning Python

2019-12-15 Thread Phil Waclawski
at you can access online, if you want to download it as a file (pdf mobi etc) or a paper book, that will cost you a bit, but not bad. Phil W On Sun, Dec 15, 2019 at 5:57 PM AZ Pete wrote: > Hi All, > > I'm interested in learning Python and thought I'd ask the PLUG brain trust

Learning Python

2019-12-15 Thread AZ Pete
Hi All, I'm interested in learning Python and thought I'd ask the PLUG brain trust on some recommendations for books. My main interest in learning Python is more for data analysis (Statistics, AI, etc), not web programming. I'm a SQL Server DBA/Developer and recent versions

New Video: Austin Godber - Stream Processing with Python and Kafka, from the Sep 12th PLUG Meeting

2019-10-22 Thread Brian Cluff
Just uploaded Austin Godber's presentation, "Stream Processing with Python and Kafka" that was given at the Sep 12th 2019 Phoenix Linux Users Group meeting https://youtu.be/d_jltkqtwtk A quick intro to Kafka, a distributed log system, and how to interact with it using Python

Re: python, sorting a dict/json

2019-02-24 Thread Ed
oops - my bad - I completely missed the Python context On Sat, Feb 23, 2019 at 1:18 AM der.hans wrote: > > Am 22. Feb, 2019 schwätzte James Dugger so: > > moin moin James, > > Thanks! > > The lamda is what I needed. It simplified what I was doing. > > I also added

Re: python, sorting a dict/json

2019-02-23 Thread Mike Bushroe
open parses the json file into a python dictionary. Currently the format of your json will produce a dictionary with one key 'pubs' and a value formatted as a python list of nested dictionaries. > > The for loop targets the list inside the main dictionary and first > con

Re: python, sorting a dict/json

2019-02-23 Thread der.hans
mport datetime with open('testp.json') as f: data = json.load(f) for i in data['pubs']: pub_date = datetime.strptime(i['date'], '%Y%m%d') i['date'] = pub_date pub_list = sorted(data['pubs'], key=lambda k: k['date&#

Re: python, sorting a dict/json

2019-02-22 Thread James Dugger
Also if you already have the json string in a python variable you can just pass it into json.load(my_json_string) On Fri, Feb 22, 2019 at 6:58 PM James Dugger wrote: > I should also say that you can replace k['date'] in the lambda with > k['title'] or k['url'

Re: python, sorting a dict/json

2019-02-22 Thread James Dugger
m datetime import datetime >> >> with open('testp.json') as f: >> data = json.load(f) >> >> for i in data['pubs']: >> pub_date = datetime.strptime(i['date'], '%Y%m%d') >> i['date'] = pub_

Re: python, sorting a dict/json

2019-02-22 Thread James Dugger
> > pub_list = sorted(data['pubs'], key=lambda k: k['date']) > > print(pub_list) > > open parses the json file into a python dictionary. Currently the format of your json will produce a dictionary with one key 'pubs' and a value formatted as a pytho

Re: python, sorting a dict/json

2019-02-22 Thread Ed
Hans - have you tried jq? https://stedolan.github.io/jq/ On Fri, Feb 22, 2019 at 12:21 PM der.hans wrote: > > moin moin, > > I'm trying to sort some data that is currently in json being imported into > a dict. > > It's essentially bibliography information, but without a unique ID. > > I mostly w

python, sorting a dict/json

2019-02-22 Thread der.hans
moin moin, I'm trying to sort some data that is currently in json being imported into a dict. It's essentially bibliography information, but without a unique ID. I mostly want to sort on publication date, but also want to group by publication. There could be multiple publications on the same da

Re: compile python

2016-04-11 Thread Brian Cluff
ially with things like python that if you break it can really mess up stuff in your system. The nasty part is that it might seem to work fine right away, but you've set yourself up for a problem that comes later on because the guy making the PPA uses some strange version scheme that will keep

Re: compile python

2016-04-11 Thread Michael
pi > 2) find out what package manger it uses > 3) find out how to add a repo to it and add the python repo > 4) run an update to get the new packages list > 5) install python > *) alternatively, get the python-arm package (.deb, .rpm, or .tar.gz) and > install it manually > >

Re: compile python

2016-04-10 Thread Todd Millecam
1) find out which distro is on your pi 2) find out what package manger it uses 3) find out how to add a repo to it and add the python repo 4) run an update to get the new packages list 5) install python *) alternatively, get the python-arm package (.deb, .rpm, or .tar.gz) and install it manually

Re: compile python

2016-04-10 Thread Michael
I'm beginning to think I should compile python on the main box and then install it to the pi through ssh. Sound like a good plan? On Sun, Apr 10, 2016 at 10:01 PM, Michael wrote: > yeah... my pi doesn't recognize the command add-apt-repository (what it > is, I got it written d

Re: compile python

2016-04-10 Thread Michael
yeah... my pi doesn't recognize the command add-apt-repository (what it is, I got it written down). On Sun, Apr 10, 2016 at 9:56 PM, Todd Millecam wrote: > A PPA is an individual's repository. They're used to dristribute more > up-to-date versions of software than the distro maintainer. A good

Re: compile python

2016-04-10 Thread Michael
I'm running Kodi and (I guess) the developers have decided that for things to run correctly you need python 2.7.10 (or so I've heard). That's okay. I'm going to replace the Pi with a computer that can run Mint. I'll be able to get 2.7.11 with a ppa. It is a lot bigger than

Re: compile python

2016-04-10 Thread Todd Millecam
A PPA is an individual's repository. They're used to dristribute more up-to-date versions of software than the distro maintainer. A good example of a PPA is postgresql. They test their new builds on Ubuntu, but Ubuntu only tests one of their builds every 6 months. By adding the Postgresql PPA,

Re: compile python

2016-04-10 Thread koder
Mike, What load are you running on your Pi? I have the B and it comes loaded with 2.7.3, which is, for all practical purposes the same, I would think. This link addresses the issue in the Ubuntu environment and may be informative. if you are running the early Pi, perhaps yo might want to c

compile python

2016-04-10 Thread Michael
my little raspberry pi needs at the least pyhon2.7.10. If it understood what a ppa is this would be a simple matter but as fate would have it I need to compile from source. Will doing that screw up anything ? -- :-)~MIKE~(-: --- PLUG-discuss mailing

Re: Possible Python Class in October,

2015-09-04 Thread Jerry Snitselaar
On Fri Sep 04 15, Shawn Badger wrote: I would be interested as well, but as with Brian I couldn't do it on Thursdays MIT's Introduction to Computer Science and Programming Using Python just started a new class on edx.org in the past week. https://www.edx.org/course/introductio

Re: Possible Python Class in October,

2015-09-04 Thread Shawn Badger
irst is a web scripting centered version of the class >>> >>> https://aztransmac2.asu.edu/cgi-bin/WebObjects/acres.woa/wa/freeForm2?id=50031 >>> or >>> this one is more general python programming. >>> >>> https://aztransmac2.asu.edu/cgi-bin/WebObjec

Re: Possible Python Class in October,

2015-08-19 Thread Phil Waclawski
t; Brian Cluff > > > On 08/19/2015 09:33 PM, Phil Waclawski wrote: > >> The first is a web scripting centered version of the class >> >> https://aztransmac2.asu.edu/cgi-bin/WebObjects/acres.woa/wa/freeForm2?id=50031 >> or >> this one is more general python prog

Re: Possible Python Class in October,

2015-08-19 Thread Brian Cluff
I'd be interested in the course if it wasn't on Thursdays. :( Brian Cluff On 08/19/2015 09:33 PM, Phil Waclawski wrote: The first is a web scripting centered version of the class https://aztransmac2.asu.edu/cgi-bin/WebObjects/acres.woa/wa/freeForm2?id=50031 or this one is more gene

Possible Python Class in October,

2015-08-19 Thread Phil Waclawski
The first is a web scripting centered version of the class https://aztransmac2.asu.edu/cgi-bin/WebObjects/acres.woa/wa/freeForm2?id=50031 or this one is more general python programming. https://aztransmac2.asu.edu/cgi-bin/WebObjects/acres.woa/wa/freeForm2?id=50009 As these are already in the

Re: python code

2015-04-14 Thread Michael Havens
of course random integer oops! :-)~MIKE~(-: On Tue, Apr 14, 2015 at 1:35 PM, Todd Millecam wrote: > it's randint, not randinit > > On Tue, Apr 14, 2015 at 12:15 PM, James Dugger > wrote: > >> Sounds like a circular import problem: lookup circular import in Py

Re: python code

2015-04-14 Thread Todd Millecam
it's randint, not randinit On Tue, Apr 14, 2015 at 12:15 PM, James Dugger wrote: > Sounds like a circular import problem: lookup circular import in Python. > > On Tue, Apr 14, 2015 at 10:55 AM, Michael Havens wrote: > >> I was wondering: >> after I loaded the l

Re: python code

2015-04-14 Thread James Dugger
Sounds like a circular import problem: lookup circular import in Python. On Tue, Apr 14, 2015 at 10:55 AM, Michael Havens wrote: > I was wondering: > after I loaded the libraries an imported randinit when I run the program > it says: > > ImportError: cannot import name ra

Re: python code

2015-04-14 Thread Michael Havens
I was wondering: after I loaded the libraries an imported randinit when I run the program it says: ImportError: cannot import name randinit does this mean I need to install something? My duckduckgo search ("ImportError: cannot import name randinit" python) gave me a big 

Re: python code

2015-04-14 Thread James Dugger
never mind! I just >>> tried it with 'w' and it works. What does that digit represent? >>> >>> :-)~MIKE~(-: >>> >>> On Mon, Apr 13, 2015 at 3:04 PM, Sesso wrote: >>> >>>> elif is what you want to use. Here

Re: python code

2015-04-13 Thread Sesso
gt; > On Mon, Apr 13, 2015 at 3:04 PM, Sesso <mailto:se...@djsesso.com>> wrote: > elif is what you want to use. Here try this. :) > > > > elif = else if > > I added the g=0 because the variable needed to be defined. > Same with guess. > > > #!/u

Re: python code

2015-04-13 Thread Michael Havens
r mind! I just >> tried it with 'w' and it works. What does that digit represent? >> >> :-)~MIKE~(-: >> >> On Mon, Apr 13, 2015 at 3:04 PM, Sesso wrote: >> >>> elif is what you want to use. Here try this. :) >>> >>> >>&

Re: python code

2015-04-13 Thread Todd Millecam
just > tried it with 'w' and it works. What does that digit represent? > > :-)~MIKE~(-: > > On Mon, Apr 13, 2015 at 3:04 PM, Sesso wrote: > >> elif is what you want to use. Here try this. :) >> >> >> >> elif = else if >> >> I add

Re: python code

2015-04-13 Thread Michael Havens
able needed to be defined. > Same with guess. > > > #!/usr/bin/env python > print("Welcome.") > g=0 > guess = int(g) > while guess != 5: > g = input("Guess the number: ") > guess = int(g) > if guess < 5: > print("Gues

Re: python code

2015-04-13 Thread Sesso
elif is what you want to use. Here try this. :) elif = else if I added the g=0 because the variable needed to be defined. Same with guess. #!/usr/bin/env python print("Welcome.") g=0 guess = int(g) while guess != 5: g = input("Guess the number: ") guess = int

Re: python code

2015-04-13 Thread Sesso
If you are talking about the first time you give a number, it's because you have an extra line. Get rid of the first. g = input("Guess the number: ") and test Sent from my iPhone > On Apr 13, 2015, at 1:34 PM, Michael Havens wrote: > > g = input("Guess the number: ")

Re: python code

2015-04-13 Thread Michael Havens
Okay Jason, I did it your way. The resulting code being 2 lines shorter. Unfortunately I still have the same problem as before (that being if the guess is wrong it gives no suggestion as to higher/lower but rather just asks you to guess again): python 1-30guess.py Welcome. Guess the number: 0

Re: python code

2015-04-13 Thread Todd Millecam
Here's mine, you're pretty much right on track now. I thought I'd include this just to introduce a few new concepts and help you think a little more like a computer. #!/usr/bin/env python #This first line is really nifty, and all Linux users should be familiar with this. # If you

Re: python code

2015-04-13 Thread Sesso
You may be better off using if statements. If number is less than 5 print guess higher else print guess lower Then wrap all of that in a while loop with a condition of while less than 5. Jason > On Apr 13, 2015, at 12:44 PM, Michael Havens wrote: > > however it does give suggestions on

Re: python code

2015-04-13 Thread Michael Havens
however it does give suggestions on subsequent guesses :-)~MIKE~(-: On Mon, Apr 13, 2015 at 12:42 PM, Michael Havens wrote: > here is what I have (that sorta works): > > print("Welcome.") > g = input("Guess the number: ") > guess = int(g) > while guess < 5: > g = input("Guess the number

Re: python code

2015-04-13 Thread Michael Havens
here is what I have (that sorta works): print("Welcome.") g = input("Guess the number: ") guess = int(g) while guess < 5: g = input("Guess the number: ") guess = int(g) print("Guess higher.") while guess > 5: g = input("Guess the number: ") guess = int(g) print ("Guess lowe

Re: python code

2015-04-13 Thread Amit Nepal
Sorry , I meant this, like Jason mentioned the input prompt must be inside the while loop in order for it to wait for the user input : print("Welcome.") g = input("Guess the number: ") guess = int(g) while guess != 5 print("Guess again.") g = input("Guess the number: ") guess =

Re: python code

2015-04-13 Thread Michael Havens
that makes sense... thanks! :-)~MIKE~(-: On Mon, Apr 13, 2015 at 12:31 PM, Sesso wrote: > The while needs to before input so that it will wait for input if the > variable is not equal to 5. > > Jason > > > On Apr 13, 2015, at 12:21 PM, Michael Havens wrote: > > nope. that didn't fix it. > > >

Re: python code

2015-04-13 Thread Sesso
The while needs to before input so that it will wait for input if the variable is not equal to 5. Jason > On Apr 13, 2015, at 12:21 PM, Michael Havens wrote: > > nope. that didn't fix it. > > > :-)~MIKE~(-: > > On Mon, Apr 13, 2015 at 11:46 AM, Amit Nepal > wrot

Re: python code

2015-04-13 Thread Michael Havens
nope. that didn't fix it. :-)~MIKE~(-: On Mon, Apr 13, 2015 at 11:46 AM, Amit Nepal wrote: > You would probably want to wait and ask for the input inside the loop as > well. What you seem to be doing is you ask for input and then you execute > the loop not letting the user input the new number

Re: python code

2015-04-13 Thread Amit Nepal
You would probably want to wait and ask for the input inside the loop as well. What you seem to be doing is you ask for input and then you execute the loop not letting the user input the new number and thus running into an infinite loop. This might fix it, not tested though :) print("Welcome.

Re: python code

2015-04-13 Thread Sesso
Your variable isn't in the while loop so it doesn't know that it changed. Sent from my iPhone > On Apr 13, 2015, at 11:01 AM, Michael Havens wrote: > > well, I'm just starting to learn to code in python. Why am I getting an > infinite loop? > > print(&

python code

2015-04-13 Thread Michael Havens
well, I'm just starting to learn to code in python. Why am I getting an infinite loop? print("Welcome.") g = input("Guess the number: ") guess = int(g) while guess != 5: print("Guess again.") print("Correct") :-)~MIKE~(-: ---

Re: python

2015-04-12 Thread Mark Phillips
If you are not a vim-manthere has to be a double entendre in there somewhere waiting to come out.gedit is also a good alternative for simple python programming. You can also add some extra plugins and have a pretty good Python IDE - https://trialsolution.wordpress.com/2009/02/13/gedit-as-a

Re: python

2015-04-12 Thread Michael Havens
okay... thanks for sharing your experiences. :-)~MIKE~(-: On Sun, Apr 12, 2015 at 4:58 PM, James Mcphee wrote: > I prefer standard VIM, which knows how to deal with python formatting. > > On Sun, Apr 12, 2015 at 4:46 PM, Michael Havens wrote: > >> Head First Programming sa

Re: python

2015-04-12 Thread James Mcphee
I prefer standard VIM, which knows how to deal with python formatting. On Sun, Apr 12, 2015 at 4:46 PM, Michael Havens wrote: > Head First Programming says they want us to use an editor/interpreter > called IDLE. I'm thinking this is just to make things a little easier > (thoug

Re: python

2015-04-12 Thread Kevin Fries
I personally do not use IDLE. For smaller, simple projects, I just use vim. My vim in configured with NerdTree and ConqueTerm plugins. These two work for any project I am in, then I have several language specific plugins including the python plugin. For the larger project, and I have X

Re: python

2015-04-12 Thread Michael Havens
Head First Programming says they want us to use an editor/interpreter called IDLE. I'm thinking this is just to make things a little easier (though I do not see how saving a .py text file and typing 'python ' into the shell could be any easier). So what do those in the know say? :

Re: python

2015-04-11 Thread Michael Havens
funny thing the python on my system is already python3 :-)~MIKE~(-: On Mon, Apr 6, 2015 at 3:49 PM, Todd Millecam wrote: > No, you should not worry about it. > > My entire career, doing full-out conversions from python 2 to python 3 > I've run into only two problems. &g

Re: python

2015-04-07 Thread Michael Havens
I know what worked for a 10 year old boy Yea buddy let's see if I have the malleable mind of a 10 year old. lol :-)~MIKE~(-: On Mon, Apr 6, 2015 at 11:03 PM, James Dugger wrote: > Mike everyone has there own perspective based on the way they learn > things. To some software engineers who

Re: python

2015-04-06 Thread James Dugger
Mike everyone has there own perspective based on the way they learn things. To some software engineers who read and work in assembly language, Fortran is fluff. So what really matters is what works for you. I know what worked for a 10 year old boy when I was struggling to find the best way to te

Re: python

2015-04-06 Thread Todd Millecam
No, you should not worry about it. My entire career, doing full-out conversions from python 2 to python 3 I've run into only two problems. 1) In python 3, you need to output stuff via a print() as opposed to a print "" in python 2 2) python 3 defaults all character encod

Re: python

2015-04-06 Thread James Dugger
I wish they had a free version but i suppose $50 isn't > bad for a text book? > > :-)~MIKE~(-: > > On Mon, Apr 6, 2015 at 1:21 PM, James Dugger > wrote: > >> If you are new to programming look at >> "Head First Programming: A learner 's guide to progr

Re: python

2015-04-06 Thread Michael Havens
gt;> "Head First Programming: A learner 's guide to programming using the >> Python language" by David Griffiths and Paul Barry. >> >> The Head First books take a different approach to learning. I gave this >> book to my 10 year old son who used it to le

Re: python

2015-04-06 Thread Michael Havens
yea James. thanks. I wish they had a free version but i suppose $50 isn't bad for a text book? :-)~MIKE~(-: On Mon, Apr 6, 2015 at 1:21 PM, James Dugger wrote: > If you are new to programming look at > "Head First Programming: A learner 's guide to programming using the

Re: python

2015-04-06 Thread James Dugger
If you are new to programming look at "Head First Programming: A learner 's guide to programming using the Python language" by David Griffiths and Paul Barry. The Head First books take a different approach to learning. I gave this book to my 10 year old son who used it to learn

Re: python

2015-04-05 Thread Michael Havens
list I notice you do not mention learning any programming >> language. Why is that? >> >> What do you mean by "OS shell integration"? Is that saying I need to >> learn BASH as opposed to Python? >> >> "string operations must mean BASH &

Re: python

2015-04-05 Thread James Mcphee
and because of a head > injury doubt I could complete it successfully anyways. > > In your list I notice you do not mention learning any programming > language. Why is that? > > What do you mean by "OS shell integration"? Is that saying I need to > learn BASH as oppo

Fwd: python

2015-03-29 Thread Michael Havens
do you mean by "OS shell integration"? Is that saying I need to learn BASH as opposed to Python? "string operations must mean BASH when you say "regular expressions" is this a good resource here <http://www.aboutlinux.info/2006/01/learn-how-to-use-regular-express

Re: python

2015-03-24 Thread Ben Trussell
This is free (or inexpensive if you choose to support the author, recommended of course) and useful introduction to Python that's worth checking out: http://learnpythonthehardway.org/book/ -- --- Ben python -c "exec(\"import math\\nprint ''.join(map(lambda x: chr(x)

Re: python

2015-03-23 Thread Todd Millecam
To better clarify, when you get to functions, function calls, libraries/modules, and classes or objects in python,and have an understanding of SQL you'll be in a position to learn sqlalchemy. On Mon, Mar 23, 2015 at 3:44 PM, Michael Havens wrote: > cool my igorance just o

Re: python

2015-03-23 Thread Michael Havens
cool my igorance just oozes! No? :-)~MIKE~(-: On Mon, Mar 23, 2015 at 2:28 PM, James Mcphee wrote: > it's a library of python > > On Mon, Mar 23, 2015 at 2:05 PM, Michael Havens wrote: > >> so how well do I need to know python to learn sqlachemy? or else can I &g

Re: python

2015-03-23 Thread James Mcphee
it's a library of python On Mon, Mar 23, 2015 at 2:05 PM, Michael Havens wrote: > so how well do I need to know python to learn sqlachemy? or else can I > learn it independently? > > :-)~MIKE~(-: > > On Mon, Mar 23, 2015 at 11:25 AM, Todd Millecam wrote: > >> N

Re: python

2015-03-23 Thread Michael Havens
so how well do I need to know python to learn sqlachemy? or else can I learn it independently? :-)~MIKE~(-: On Mon, Mar 23, 2015 at 11:25 AM, Todd Millecam wrote: > Naw, but I took a telecommute job and am looking to move down there in > November now. > > For all the pen testin

Re: python

2015-03-23 Thread Todd Millecam
omated web requests On Mon, Mar 23, 2015 at 12:10 PM, Michael Havens wrote: > Yes... the pen-testing stuff I was talking about earlier. I am just so > flighty I don't know what to do. I think I will learn Python as I think > that will be good for the easy stuff to the advanced stuff...

Re: python

2015-03-23 Thread Michael Havens
Yes... the pen-testing stuff I was talking about earlier. I am just so flighty I don't know what to do. I think I will learn Python as I think that will be good for the easy stuff to the advanced stuff I'll worry about the expert stuff if I ever get that far. Are you in Phoenix yet&

Re: python

2015-03-23 Thread Todd Millecam
Yeah, python has basically become a wrapper for C now, so there's a lot of different uses for it. What are you learning it for? Job? That pen-testing stuff you were doing earlier? On Mon, Mar 23, 2015 at 12:04 PM, Michael Havens wrote: > Found a good reference. > http://docs.pytho

Re: python

2015-03-23 Thread Michael Havens
Found a good reference. http://docs.python-guide.org/en/latest/intro/learning/ It gives many books of varying levels. :-)~MIKE~(-: On Mon, Mar 23, 2015 at 10:58 AM, Todd Millecam wrote: > Learning Python, published by O'Reilly has a picture of a mouse on it. > If you're mo

Re: python

2015-03-23 Thread Todd Millecam
Learning Python, published by O'Reilly has a picture of a mouse on it. If you're more familiar with programming, Dive into python is the gold standard. If you're looking for the more "popular" way of programming, there's Introduction to Computing and Programming in Py

  1   2   >