Laman Utama Tanya Wiki English Artikel Komuniti E-Mel Ringtones Search

Bantuan | Carian | Ahli | Kalendar

Google

Selamat Datang ( Log In | Daftar )

 
Reply to this topicStart new topic
Saper Terror Tlg Check... Kan Syntax Error Nih.., ** ish.. ish... never touch python b4 this.. HeLP me....!!
LINUXnewbie888
post Dec 14 2007, 12:29 PM
Kiriman #1


Ahli
*

Grup: Learning
Kiriman: 23
Penyertaan: 30-October 07
Dari: Kuala Lumpur
Ahli ke- 37,614



unsure.gif

During debug time....
The error occurred as below :


File "DCAMgr.py", line 140, in ?
import DCARulesEngine
File "/home/r32813/genesis/Product/DCAMgr/DCARulesEngine.py", line 167
methods = filter( lambda f, a=attr : type(a[f])==types.FunctionType and f[0] != '_' , attr.keys() )
^
SyntaxError: invalid syntax



---------- Form source file --------------

methods = filter( lambda f, a=attr : type(a[f])==types.FunctionType and f[0] != '_' , attr.keys() )



**** tolong beri tunjuk ajar... Makacih bro(s) ...................


blush.gif
Go to the top of the page
 
+Quote Post
LINUXnewbie888
post Dec 14 2007, 12:43 PM
Kiriman #2


Ahli
*

Grup: Learning
Kiriman: 23
Penyertaan: 30-October 07
Dari: Kuala Lumpur
Ahli ke- 37,614



QUOTE(LINUXnewbie888 @ Dec 14 2007, 12:37 PM) [snapback]620397[/snapback]
unsure.gif

During debug time....
The error occurred as below :
File "DCAMgr.py", line 140, in ?
import DCARulesEngine
File "/home/r32813/genesis/Product/DCAMgr/DCARulesEngine.py", line 167
methods = filter( lambda f, a=attr : type(a[f])==types.FunctionType and f[0] != '_' , attr.keys() )
^
SyntaxError: invalid syntax

---------- Form source file --------------

methods = filter( lambda f, a=attr : type(a[f])==types.FunctionType and f[0] != '_' , attr.keys() )
**** tolong beri tunjuk ajar... Makacih bro(s) ...................
blush.gif



*** TAKPE LA BRO.. dah OK dah... indentation error je .. hehehehhe tongue.gif
Go to the top of the page
 
+Quote Post
mchammer
post Feb 17 2008, 10:00 AM
Kiriman #3


Ahli
***

Grup: Members
Kiriman: 144
Penyertaan: 11-April 04
Dari: Penang
Ahli ke- 24



Erm, saya tak pernah guna phython ni.
Soalan: Adakah pyhton indentation sensitive?
Go to the top of the page
 
+Quote Post
Paralys3r
post Feb 17 2008, 02:25 PM
Kiriman #4


Ahli
***

Grup: Members
Kiriman: 193
Penyertaan: 10-December 06
Ahli ke- 21,764



yup..


--------------------
USE="lawa alim terer-masak anak-dara -mulut-murai" LANGUAGES="all" emerge isteri
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 

RSS Lo-Fi Version Time is now: 11th October 2008 - 07:57 AM

© 1998-2008 Khazanah Maya Computer Systems