#1
  1. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13

    Exclamation Asking For Help?


    Here are some ideas for getting help fast:
    • Search the forums for key words (e.g. cgi, thread, py2exe, Tkinter). Maybe the question was asked before.
    • Make the Title describe the problem.
    • If you post code - use the code block # button on the form to preserve the layout. Indentation is critical. Experiment with the preview button!
    • If the code is big (more than a screen) then attach it as a zip.
    • If it is unusual, mention your configuration. (Like you are using Python version 1.5 on an a Amiga 500 with 4Mb memory). It is nice to know and can be useful.
    • Generally people don't like being asked to do someone's homework assignment Particularly when the person has not done any research.
    • Don't forget - Use the # button!
    Last edited by Grim Archon; March 17th, 2004 at 06:01 AM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2003
    Location
    Canada
    Posts
    543
    Rep Power
    24
    I suggest giving this a read:
    How to Ask Questions the Smart Way
  4. #3
  5. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    This FAQ shows you how to mark up text for the forum:
    http://forums.devshed.com/misc.php?do=bbcode#code
  6. #4
  7. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    I cant stress enough how important the use of code tags are when posting code! Especially here since Python uses white space to define the beginning and end of code blocks.

    You can do this as discribed by Grim in this thread: Tips, tricks, inspiration, etc

    Happy posting,

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

  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2004
    Location
    London, England
    Posts
    1,585
    Rep Power
    1373
    Also, don't just post up code and say "this doesn't work". This does not give enough enough information. You also need to state:

    * what you expect the code to do.

    * what the code actually does. If it throws an exception then give the traceback, or the last few lines if it is a long one. If it prints a result that you did not expect then say what it is. If you expected the answer 42 and it gave you 24 then say so, since without that information it would be virtually impossible for someone else to help.

    * some example data, if applicable. e.g. if your code iterates over a list then give a short example list that causes it to fail.

    * Try to create a minimal example that shows the failure. cutting and pasting hundreds of lines of code and data can be as unhelpful as posting not enough.

    It is also often helpful to give some context information - what is the overall problem that this code is trying to solve? Often someone will be able to point out a better way of doing it, rather than fix low level problems with the code.

    Dave - The Developers' Coach
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2004
    Location
    London, England
    Posts
    1,585
    Rep Power
    1373
    Hers is some more advice on asking good questions:

    1) assume someone has already asked the question in the past and got the perfect answer. devise a search query that will find that thread.

    2) do the search - there is a good chance that it will succeed, in which case you have no need to post the question at all.

    3) if the search fails, then post your question. In the title of the post include the search terms that you previously came up with. This will ensure that the title is relevant to the question so casual browsers of the forum will know whether it is something they can answer. It will also make it easy for future users with the same question to find the thread.

    Dave
  12. #7
  13. 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
    Also no cross posting.... errr i hate cross posters , its always best to keep your thread were it belongs.
  14. #8
  15. (retired)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2003
    Location
    The Laboratory
    Posts
    10,101
    Rep Power
    0
    As mentioned above - please post your code in CODE tags or HIGHLIGHT tags as this makes it easier for us to help you.

    Code Tag Use:

    You type:
    [code]
    # your code goes here...
    for i in range( 0, 1 ):
    print i
    [/code]

    It shows up like this:
    Code:
    # your code goes here...
    for i in range( 0, 1 ):
       print i
    Highlighting Code Tags:

    If you want to get really cool looking code, use the HIGHLIGHT tags:
    [highlight=python]
    # your code goes here...
    for i in range( 0, 1 ):
    print i
    [/highlight]

    outputs this:
    python Code:
     
    # your code goes here...
    for i in range( 0, 1 ):
       print i


    Also - keep this in mind:
    Originally Posted by jharnois
    Explain your problem instead of asking how to do what you decided was the solution.
    If you're new here, you should probably read the General Forum Rules and the Frequently Asked Questions.

    --Simon
    Last edited by SimonGreenhill; October 1st, 2005 at 12:50 AM.
  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
    also.. almost forgot.. please make your post as clear as posiable. this includes, Your code, and errors.
  18. #10
  19. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2005
    Location
    Mars
    Posts
    25
    Rep Power
    0
    If you are looking for tutorials, google or go to www.awaretek.com/tutorials.html

    Comments on this post

    • netytan agrees : Google, very useful ;)
  20. #11
  21. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2005
    Posts
    588
    Rep Power
    64
    Please let us know which version of Python you are using. There is a difference between Python2 and Python3.
    Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25
  22. #12
  23. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    29
    Rep Power
    0

    OK, I see the code button now.


    I totally did not see it before and I looked hard. But, not hard enough.

    Oh, I use both version of python. One is on my windows7 machine and the other is on my linux machine. So, I have 2 and 3.

    I tried to get emacs, but They want to take me to china and back and I am in America. I haven't been able to open it. And, it install so many other pieces of software on my machine that I did not want.

    thanks for the advice.
  24. #13
  25. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Posts
    2
    Rep Power
    0

    fifa coins online


    You can surf the Internet access to relevant data and information, and discuss with friends, maybe can help you, wish you good luck.
  26. #14
  27. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    29
    Rep Power
    0

    OK, so where do I find a forum for python nubbies?


    OK, so where do I find a forum for python nubbies?

    Thanks,

    Mel

IMN logo majestic logo threadwatch logo seochat tools logo