vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Programming Discussion :: New Job & Python & such - View Topic
Topic Rating: *****
Printable View
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
New Job & Python & such (24th Apr 10 at 11:47pm UTC)
So, as you may have seen in the "General Discussion" board, I got a new job as a Network Administrator // Web Developer.

Up until now, 100% of my sites have been PHP-based for the server-side stuff. The place I work now, however, uses Python along with Django (a Python-built web platform), which I need to learn in the next two weeks.

I went through one Python tutorial earlier today, and that was all I needed; Python is most definitely one of the simplest programming languages ever made. Django follows suit, being extremely easy to use, but very powerful at the same time. I definitely recommend Python to anybody looking to learn a new programming language.

Have you guys used Python at all? Do you like it? Why or why not?

On an unrelated side-note, I finally got around to getting Ubuntu dual-booting on this laptop, so I no longer have to use my other laptop to use Ubuntu, so I'm quite pleased about that. {Tongue Out}

rroll.to— Shorten a link, rickroll your friends.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: New Job & Python & such (25th Apr 10 at 12:04am UTC)
Congrats on the new job! {Grin} I must have missed the other topic.

I've never used Python before, have never really had a need. Does it have any particular advantages over using PHP?


Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: New Job & Python & such (25th Apr 10 at 12:16am UTC)
I've looked at Python before, but without an actual strong need for it, I haven't actually progressed any further with it. I have a friend who is adament that I should learn it before I'm 20 (seems I've failed at that!)... but hey ho..

{Smile}
dog199200
Guest
Re: New Job & Python & such (25th Apr 10 at 12:43am UTC)
OK well Python for web-design is a first {Unsure} I honestly had no idea that python would be used as a web-programming. I have used python a lot in the past. The reason for this is that I use Blender as my 3D rendering program, so when I need a custom script or something I would have to code it myself. Though I know you say Python is easy, but that comes down to the persons programming history {Tongue Out} A great example of this is trying to learn RUBY when the only other language you know its HTML {Tongue Out} its a lot more complicated if you dont know any advance programming {Tongue Out}
Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: New Job & Python & such (25th Apr 10 at 12:44am UTC)
 
Congrats on the new job! {Grin} I must have missed the other topic.

I've never used Python before, have never really had a need. Does it have any particular advantages over using PHP?



I haven't gotten into all the cracks and corners of it yet, so I can't give a definitive answer, but based on their POS system, it's extremely easy to integrate with programs. When an item is purchased, it updates the inventory in their local database, and the Python program automatically updates the server inventory as well.

Also, Django has a lot of really awesome things built in, like automatic form creation. For instance, you can do...

Code:
 
  1. class Choice(models.Model):
  2.     poll = models.ForeignKey(Poll)
  3.     choice = models.CharField(max_length=200)
  4.     votes = models.IntegerField()
  5.     
  6.     def __unicode__(self):
  7.         return self.choice
 


And it'll automatically create a form to add choices to a poll, with 2 input fields; "choice" is a character field with a maxlength of 200; "votes" is an integer field, meaning if they enter non-numerical text, it will automatically give an error, so it saves from a lot of tedious input verification coding.

Just small things like that that make life much easier, lol.

rroll.to— Shorten a link, rickroll your friends.
dog199200
Guest
Re: New Job & Python & such (25th Apr 10 at 12:51am UTC)
Michael, just so you know, Python is very similar to what you've been working with {Tongue Out} (C#/C++) though it has less functions and has an easier syntax. If it takes you more them two hours to get an idea of the syntax, I would be shocked {Tongue Out}
 Printable View

All times are GMT+0 :: The current time is 11:56am
Page generated in 0.3362 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums