Solved

it is giving me syntax error

Posted on 2011-02-28
3
310 Views
Last Modified: 2012-05-11
BugdispStart( const char *cmdLine, DWORD spare );



what am i doin wrong?
0
Comment
Question by:zoomer003
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
pepr earned 500 total points
ID: 35004315
It depends. If you really wanted to as in the Python zone, then you should know that this is the function prototype written in the C or C++ language. Python does not like that.

For example, Python usually does not use semicolons.  It does not use types bound to the arguments. It uses the star in arguments for completely different purpose, etc. ;)
0
 
LVL 6

Expert Comment

by:LeeeRussell
ID: 35004878
and I think you're going to have to post a more complete code example in order to get an answer to your question.
0
 
LVL 28

Expert Comment

by:pepr
ID: 35024769
Thanks for the points, and have a good time ;)

P.S. There are no "stupid questions".  The following may help to you:

"Learning to program" by Alan Gauld (strong emphasis to Python):
older version for Python 2.3+ http://www.alan-g.me.uk/tutor/index.htm
newer version for Python 3+ http://www.alan-g.me.uk/l2p/index.htm

more advanced

"Dive into Python" by Mark Pilgrim (Python 2.x)
http://diveintopython.org/toc/index.html

"Dive into Python 3" by the same author
http://diveintopython3.org/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visualizing tuple values in Python (or generally) 3 65
How to generate square thumbnail using perl 13 77
Python - ImportError: No module named 'urllib2' 2 154
python question 5 69
Less strange, but still introduction This introduction was added (1st August, 2011) to reflect some reactions.  Firstly, the term basics in the title of the article...  As any other word, it is a symbol with meaning attached to the word by some a…
"The time has come," the Walrus said, "To talk of many things: Of sets--and lists--and dictionaries-- Of variable kinks-- And why you see it changing not-- And why so strange are strings." This part describes how variables and references (see …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now