vForums Support :: Programming & Coding :: Programming Discussion :: New Job & Python & such - View Topic
 |  |
| Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 33 Joined:
Additional Groups: Coding Team
  
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. | |
rroll.to— Shorten a link, rickroll your friends. |
| Ross Administrator
    
![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709 Status: Offline Gender: Male Age: 9 1⁄4 Joined:
Additional Groups: Support Team
  
pmwwwgtalkvForum | | Re: New Job & Python & such (25th Apr 10 at 12:04am UTC) | | Congrats on the new job! 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?
| |
|
| Michael Moderator
    
![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:
Additional Groups: Coding Team
  
pmvForum | | 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..
| |
| dog199200 Guest | | Re: New Job & Python & such (25th Apr 10 at 12:43am UTC) | | OK well Python for web-design is a first 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 A great example of this is trying to learn RUBY when the only other language you know its HTML its a lot more complicated if you dont know any advance programming | |
| Marc vChat Developer
     I <3 Rossy
Posts: 3,388 Status: Offline Gender: Male Location: Ontario, Canada Age: 33 Joined:
Additional Groups: Coding Team
  
pmwww | | Re: New Job & Python & such (25th Apr 10 at 12:44am UTC) | | Congrats on the new job!  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: - class Choice(models.Model):
- poll = models.ForeignKey(Poll)
- choice = models.CharField(max_length=200)
- votes = models.IntegerField()
-
- def __unicode__(self):
- 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 (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 | |
| |
 |  |
|