Thread: netytan

    #1
  1. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407

    netytan


    hey care to help out a newbie on an idea on what to code.. hehe i want to learn more of python but.. i have no idea on what to code.. to test my skills hehe so how about it.. care to help out a newbie.. tell me what to code be my guid i know it sounds stupid.. but it is one of my problem that i need to over come... once i know enough i never know what to code after words.. hehe happends on c as well
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Gosh i'm so proud hehe .. i'd be happy to help out! I do know what you mean, i'm forever starting projects and not finishing them once i've learned all i can.

    Anyway i've been thinking about creating a web based diary/calender system which will have member login/signup, email alerts etc. but i'm already working on a gallery program at the moment so i havn't taken this any further than the idea stage

    In theory this should teach you:

    1. CGI or another suck systems like mod_python
    2. Databases (*SQL although you could use others)
    3. How to deal with times and dates in Python (pretty handy)
    4. Form handeling, cookies, regex etc.
    5. Security on the web.
    6. Some web design skills like graphics , CSS, HTML etc.
    7. Apache setup.
    8. Hopefully more, it depends how far you want to take it

    It seems like a good project and covers alot of different ground so if your intersted go for it and i'll give you all the help you need .. if not maybe we can think of something you'd find more intersting?

    Mark.
    programming language development: www.netytan.com Hula

  4. #3
  5. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    hey again

    well as you can see i already know

    php,mysql,css,html,alittle c, alittle cgi ( hate it )
    apache is easy, im not a good web designer ,
    im great at security , mod_python hmm never heard of it
    perl i know some .... but, what i want to do ... is maybe create
    something in python that will help me better my skills then i will
    i can go back to c what im looking for is someone that will
    help me learn and maybe create some project's in time i think it
    would be a great idea, specially for someone who knows what
    he/she is doing like your self anyways.. if ya have aim or msn
    or etc.. i would be glad to chat.. heh i do need the python help
    anyways hehe im still tring to convert a .py file to exe.. heh i
    know i will get it in time.. just want to keep on learning
  6. #4
  7. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Yeah i hear ya there X, so what kinds of things are you intrested in doing? What direction are you wanting too take your skills?

    Myself i know:
    Python (obviously)
    perl
    PHP
    Zope
    MySQL etc.
    CSS
    Javascript etc.
    HTML etc.
    little C/C++
    little XML
    little Ruby

    I don't have AOL but i've added you on my Yahoo addy, you can add me too you MSN too if you want.. 'calorics at hotmail dot com' i don't use my netytan addy for messangers.

    Mark.
    programming language development: www.netytan.com Hula

  8. #5
  9. No Profile Picture
    Hi, I'm Calvin
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    LosAngeles, SanDiego, Houston
    Posts
    50
    Rep Power
    11

    here are a few


    1) write a script that will look for a file in a specified folder. if you specify C:/, it will look for the filename somewhere in that C drive. if you want to be fancy, you can make the script pull up all files with a certain extension, etc.

    2) if you want to mess with GUI's, it'd be pretty fun to write something like a Minesweeper game. I did this in java before, it's pretty fun (I bet it'd be more fun in python). if you want to be fancy, give it a timer and allow keeping like best scored or something.

    3) write a calculator script that will take an expression like this:
    1+3-4*8+2/5+4-(8-1) and evaluate it correctly with the proper operation priorities (ie mult and div before add and minus). if you want to get fancy, allow variable assigment (ie. a=8)

    4) write a script that will take a word and pull up the definition(s) from dictionary.com. you'll need to look through the html of the pages returned to be able to programmatically locate the html section that you want.

    these are pretty fun
  10. #6
  11. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,625
    Rep Power
    4247

    Re: here are a few


    Originally posted by cvchen

    3) write a calculator script that will take an expression like this:
    1+3-4*8+2/5+4-(8-1) and evaluate it correctly with the proper operation priorities (ie mult and div before add and minus).
    Quick and dirty 2 liner that allows expression evaluation
    Code:
    #!/usr/bin/env python
    exp = input("Enter an expression: ")
    print "Result = ", exp
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
  12. #7
  13. No Profile Picture
    Hi, I'm Calvin
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    LosAngeles, SanDiego, Houston
    Posts
    50
    Rep Power
    11

    WHAT?!


    dang, that's... awesome, but kinda not.

    nevermind that one then

    oh, how about a script that translates a string into piglatin?
  14. #8
  15. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    You might find this thread interesting.. it's just a collection of code snippets including a few calculator scripts (one by me).. plus a post by strike which explains how to delete everything on your computer though eval() , yes i was shocked too!

    http://forums.devshed.com/t27168/s.h...5&pagenumber=1

    Mark.
    programming language development: www.netytan.com Hula

  16. #9
  17. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    thanx for the ideas, im sure.. that i can code anything in python, but not in Tkinter yet =) now.. i read a bit in socket programm hehe its so damn simple.. but only cause i know sockets for c.. but heh
    im sure i will get an error soon =)

IMN logo majestic logo threadwatch logo seochat tools logo