i've been working on learning this language recently and i seem to be catching on. that said, i'd be glad for anyone to drop me some resources for me to look into. rock!
check <a href="http://www.diveintopython.org">diveintopython.org</a>, it's a free online book.
I have a few other python books as well as the one andre mentioned. If you want em let me know.
/me is dying to say "learn ruby instead" :P
yeah, why's guide is the best.
bumping thread #2 with an xkcd comic!
http://www.xkcd.com/353/
ok, 1.5 yrs later i'm revisiting python. i'm just curious about everyone's thoughts on python as a language.
i feel like perl has spoiled me, the dynamic typing of data is something i envy every time i look into a different language. powerful but potentially confusing...
oh and bump!
DaGr8Gatzby
Drunk by Myself
I still Python is garbage. I am so so down on Python because of Gentoo Portage. I know it's not fair :(
> powerful but potentially confusing...
powerful but potentially unpowerful.
maple
i like large datasets
not sure where you guys are coming from on this... Python is a great language. Its being used everywhere.
also, anyone using gentoo doesnt really get to have an opinion on what is garbage or not. :)
in all seriousness calling it garbage because of portage is a bit ridiculous.
DaGr8Gatzby
Drunk by Myself
*think
Also, almost everytime python breaks, it BREAKS. I've fixed so many fuckin python errors on RHEL servers.
*sigh*
You know Ensim has a lot of python scripts.
Ensim == crap.
Eve Online is good though. :)
> Also, almost everytime python breaks, it BREAKS. I've fixed so many fuckin python errors on RHEL servers.
Did you fix the python scripts or fix python itself?
You can write crappy/buggy applications in any language, this has little or nothing to do with python.
maple
i like large datasets
You might want to take a look at some of the people using it
http://wiki.python.org/moin/OrganizationsUsingPython
They take a little larger approach to evaluation than "it breaks".
Come on Gatz
Lots of people are using Microsoft Windows, Microsoft Office, and Microsoft Internet Explorer.
So these must be good products to?
DaGr8Gatzby
Drunk by Myself
Hey if you want to code in Python, then hey go for it. I just hate it. I have NEVER used a good python application. ... Maybe bittorrent. Make a REALLY good python app and I might come around.
DaGr8Gatzby
Drunk by Myself
Perl also sucks.
oh shit
now you've done it
where's djb
DaGr8Gatzby
Drunk by Myself
Haha!
Naw Perl has its place, and so does Python. I just hate both of those langauges, despite their usefulness.
maple
i like large datasets
"Lots of people are using Microsoft Windows, Microsoft Office, and Microsoft Internet Explorer."
that's a terrible analogy. i can see this is going nowhere. :)
The good thing about python is that its easy to pick up. You can be productive in like 2 days. And all the whitespace in its syntax makes the code look good. I say give it a try.
hm. i'll have to try it out sometime.
maple
i like large datasets
you guys should really try django if your into web frameworks at all. i can pretty much say i will never use php again after using it the last couple of months. i did use codeigniter (php framework) for a good while but its nowhere near django. alot less magic than rails, which i like.
you could rewrite thinktank with django in a solid afternoon ( i always rewrite ttf when im playing with something new :))
larz
is just here for development.
lots of firms don't like using proprietary frameworks, in my experience.
oops
maple
i like large datasets
that's not what i mean. it's not very standard. once you start using a framework a lot, it's hard to get out of it.
a startup that i worked for last summer was using fusebox. i vomited, then removed it from their website completely. (an arduous process!) it cost them (us) a lot.
I suppose it depends on what you want to do, if you just want to write a weblog then a framework like Django might be the thing for you, it's more flexible than an application such as Wordpress, and still easy and fast to use.
maple
i like large datasets
@lucas -- thats actually why alot of people use django. its python. straight up. so you dont need to hire django developers. you hire python developers.
but i also understand your point. although its not too standard it is used in some very large sites, deployment is very fast and easy (mod_python or fcgi on apache, lighttpd, etc), its fast and easy to pickup and read.
django is what really got me into pyhton in the first place. i needed a framework and couldnt stand rails after really getting into it and then found django. just what i was looking for. now i work on python stuff without django as well,though.
anyway, if you end up trying it out and have any questions let me know.
i'll have to look at it.
I just installed python to get this mail analyzer thing to work:
http://lifehacker.com/379328/analyze-your-ema … ail-trends
kinda neat.
python 3000 dropped... kind of a lame name though
http://python.org/download/releases/3.0/
what's new:
http://docs.python.org/dev/3.0/whatsnew/3.0.html
basically lots of details changed but the big thing is that it's not backwards compatible.
I'm lovin' web.py!
I've been making quite a bit of small python scripts at work on Windows, one of the great things is that python scripts are so portable, I can usually run the same script with no or little modifications on my FreeBSD system or vice versa.
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
python, like perl is INCREDIBLY resource consuming. More so than java ( before it explodes and eats all your resources).
Still.... I'd prefer python devs over java devs ANY DAY.
> python, like perl is INCREDIBLY resource consuming. More so than java ( before it explodes and eats all your resources).
I never measured it, but I never noticed it was slow, with Java I do, especially with the GUI ... Tkinter feels much faster and respond a lot quicker ...
python is named after monty python.
that's enough reason to avoid it.
*cacacacocough*C#*coughcough*
apparently C#'s first name was "Cool". totally better than monty python.
How can you not like monty python ?!
Étrangère
I am not a robot...
> python is named after monty python.
God you are stuck on that
C# is the future of development.
maple
i like large datasets
> C# is the future of development.
development of what? local apps, web apps, mobile apps, games, which platforms?
pretty bold claim there
Games, Windows applications
It's easy to learn and very quick to build applications with.
So in the future, people will only use Windows?
Well tbh it can be used for pretty much anything you said there, it's intergratable with AJAX and ASPX so it can also be used for web applications.
> So in the future, people will only use Windows?
Hopefully but it's most likely portable to other OS's.
:(
Did lucas implement the ban feature yet? :p
yeah. :)
olol ban for liking windows?
is called an opinion.
Mathew
Zombie Flesh Eaters
Sliverlight is pretty sweet because it can allow you run straight up C# applications. Also, managed code is by FAR the way to do it. It's so wasteful to write your own libraries these days.
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
HTTP is not the correct method by which to communicate between random fucking applications over the internet. People who abuse HTTP should be publicly executed and their families banished for all time.
yeah, irc would be a better choice
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
I AM CRUSHING YOUR HEAD!!!
DaGr8Gatzby
Drunk by Myself
Ok Maple. I've come around. I want to code a webapp in Python because ... well ... PHP released version 5.3.1. Nuff' said. Are there any good links on Python web programming? I am really confused by the WSGI method. Also, I don't want to use a Framework, but would rather use something like a lightweight gateway through FastCGI. I still can't get most of this stuff to work, so anything would be appreciated.
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
There's a python CGI module that will pre-populate http vars into standard locations... just like php env vars.
From there... stdout is web response via cgi. Pretty easy.
DaGr8Gatzby
Drunk by Myself
I don't want to use CGI though. FastCGI is entirely different.
> I want to code a webapp in Python because ... well ... PHP released version 5.3.1. Nuff' said.
expound!
The cgi module just gets the POST/GET vars for you, AFAIK you can use it with FastCGI.
I like to use Cheetah, it's a template engine. If you're thinking of Smarty then stop: Cheetah is much better.
Lucas, here is a bugreport which sums up many things that are wrong with PHP IMHO:
http://bugs.php.net/bug.php?id=48669