![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Posts: 4,027
|
Can someone explain Python on the web to me? I dont get it at all
how does Python work on the web?
I understand PHP and ASP totally because they're embedded into the html page, but with Python how does that work on the web? Where does the code go, and how does it work with web pages? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2001
Location: az
Posts: 8,464
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
..I Heart Cannibal Corpse
Industry Role:
Join Date: Sep 2007
Location: California
Posts: 4,327
|
Python is a programming language that lets you work more quickly and integrate your systems more effectively... Although Python, includes some modules that are helpful for creating plain CGI programs. 70 % is backend database 2 cents:
__________________
... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
|
you don't use Python for web development. You could, but you shouldn't. Slow as fuck, you need special servers, coding to work between WSGI and HTML is a nightmare (let alone mod_python), you gotta restart the server every time yo make a change... well, unless you're a real geek who doesn't plan to use the site, can't even imagine why would you want to use Python on a web environment, at least on its current state.
The above being said, Python for desktop apps is amazing ![]()
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
Quote:
http://wiki.python.org/moin/PythonVsPhp http://www.sitepoint.com/the-real-di...hp-and-python/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Mar 2004
Posts: 4,027
|
Quote:
If they're that different then I might as well be searching for "Apple Banana differences" |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Posts: 4,027
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | ||
Confirmed User
Industry Role:
Join Date: Mar 2004
Posts: 4,027
|
Quote:
Quote:
thanks guys. I just felt so confused how "Google is written in python" and "youtube is written in python" so I dont understand how its done. thanks |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
|
Quote:
Anyway, take what I say with a pinch of salt: I'm a noob at Python, what I'm telling you comes from my professor since the first thing i asked him (obviously) was the same question you're doing here. And that's the answer I got: use it for desktop, avoid web for now until new tools and frameworks are developed. If you still wanna try it, I suggest Django+Jinja , it's pretty easy for people like me, and I'm a retard! ![]()
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
Quote:
Please accept my most sincere and humble apologies. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Industry Role:
Join Date: Mar 2004
Posts: 4,027
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Industry Role:
Join Date: Mar 2004
Posts: 4,027
|
Quote:
thanks anyways |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jul 2001
Location: az
Posts: 8,464
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
I hate phyton, linux gnome is written in it and i cant figure out where it store it's configuration files no matter what.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
No, I am not banned
Industry Role:
Join Date: Nov 2003
Location: ChatGF.com
Posts: 5,345
|
Python is for scientists and NASA so no one in GFY should ever touch it.
__________________
TubeCamGirl.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Just Doing My Own Thing
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,040
|
I tried it with a Google apps site - It gave me a headache - Don't worry about it would be my suggestion....
__________________
- Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,108
|
I don't know if it still is, but reddit used to be powered by web.py - a phyton framework.
It have powerful libraries for data manipulation and analysis, that makes it great for "big data". (Huge linklists, tubes, image db's and that sort of functions) The code is all serverside, so you don't embed it as you do with PHP, JS and the likes. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
Quote:
When we released Python version 2.0, Guido and the rest of us concentrated on adding features that would enhance the evolution and adoption of the language. In addition to releasing the language from the restrictive CNRI license (which was of critical importance to us), we saw some of these features (garbage collection, etc) as opening Python up to a broader user base. I personally left the team shortly after the release of 2.0, and don't currently code in Python for anything other than prototyping .. but it's still great for that. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,297
|
here is an example of python for the web
Open-source project, using Django, Python, jQuery, Bazaar, Launchpad, HTML5, Bootstrap from Twitter http://www.bashoneliners.com/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Permanently Gone
Industry Role:
Join Date: Mar 2004
Posts: 10,019
|
Interesting link, fris.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Posts: 4,027
|
and Dropbox is "Written in python" i still dont get it.
are the modules written that go on the server? Like microsoft COM components with ASP.net? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
So Fucking Banned
Industry Role:
Join Date: Jul 2010
Location: ☣
Posts: 9,327
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Location: Ontario, Canada
Posts: 1,026
|
Python is slow and difficult? Python has to be one of the easiest languages to learn, this is the reason it is used by NASA/ google as it is so close to a prototyping language. Also for speed you should be concerned about memory/cpu as none of us will probably ever come across a project where php, ruby or python would be an issue in our projects. You should choose a language as a tool based on what feels more natural to you and gets the job done correctly and quickly.
Check out django book for more on python/django: http://www.djangobook.com/en/2.0/index.html
__________________
[email protected] ICQ: 269486444 ZoxEmbedTube - Build unlimited "fake" tubes with this easy 100% unencoded CMS! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,108
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |