Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Python sytax error problem


18 May 2013   #1

Windows 7 Enterprise 64 Bit
 
 
Python sytax error problem

Hi, i have a problem with this python file.

Its f-secure's ASCII World map. I dont know how to fix it. The part that has error is this:

formats = [
u"{name} / {country} {city}",
u"{name} / {country}",
u"{name}",
u"{type}",
]

Attached file below.



Attached Files
File Type: zip wm3con-master.zip (99.4 KB, 1 views)
My System SpecsSystem Spec
.

18 May 2013   #2

Windows 7 Pro SP1 x64
 
 

I am no good at this prgram my High School Physics teacher makes us do this a lot
My System SpecsSystem Spec
18 May 2013   #3

Windows 7 Enterprise 64 Bit
 
 

Error im getting:

Code:
Traceback (most recent call last):
  File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 277,
in <module>
    sys.exit(main())
  File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 274,
in main
    return curses.wrapper(app.run_curses_app)
  File "C:\Python32\lib\curses\wrapper.py", line 43, in wrapper
    return func(stdscr, *args, **kwds)
  File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 230,
in run_curses_app
    m.set_data(self.data)
  File "C:\Users\koti\Desktop\wm3con-master\wm3con-master\wm3con.py", line 114,
in set_data
    dets = data.get('detections', [])
AttributeError: 'NoneType' object has no attribute 'get'
My System SpecsSystem Spec
.


Reply

 Python sytax error problem




Thread Tools



Similar help and support threads for2: Python sytax error problem
Thread Forum
error loading python DLL Software
BSOD Using Python 2.7, error 0x000000f4 BSOD Help and Support
Raw Drive access from a Python program Hardware & Devices
Solved python software Chillout Room
Anyone know of theming app for Python and PyGTK Software
Python and Blender Software
Monty Python Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 10:19 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33