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
kuchiyo

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
techtitan100

Windows 7 Home Premium SP1 64bit
 
 

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
kuchiyo

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
Thread Forum
error loading python DLL
wasn't sure where to post... please move it if this is not the right place At the start of windows an error window appear saying: "Error loading Python DLL: c:\use\admin\appdata\local\temp\_mei42443\python27.dll (error code 5)" Also when ever i want to install something a similar error appera...
Software
Different python is executed in cmd and win+R
Hi, I have two versions of python installed: c:\Python26_x64 c:\Python27_x64 The c:\Python27_x64 is in %path% and there's nothing in the 'set' command that mentions 26. When I run python from cmd.exe the 27 version is executed as expected. On the other hand, when I run python from win+R...
General Discussion
BSOD Using Python 2.7, error 0x000000f4
Hello sevenforums, I have been having a BSOD problem on my Asus laptop running Windows 7, processor is core-i5. The BSOD occurs somewhat randomly when attempting to run python scripts using VIDLE for Python 2.7. The problem usually occurs after around 2 - 10 times of running a script, and it...
BSOD Help and Support
python software
Not sure where to post this. I am trying to learn using python. ( I know absolutely nothing about computer language other than Basic Language about 30 years ago.) I have googled and found python tutorials. My question is... I need to install the python software first. Is that correct ? I saw...
Chillout Room
Python and Blender
I'm having a problem installing python and blender. I install python for windows through the MSI file provided by Python.org (2.6.1 and 3.0). I then install Blender (2.48). When i fire up blender it gives me this mesege. Checking for installed Python... No installed Python Found. Only...
Software
Monty Python
Who likes "Monty Python" Nudge nudge wink wink, say no more....... ;) Oh I just remembered, I'm English. Didn't tell anyone that.........I didn't just remember I'm English, but you know what I mean.......lol
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 02:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App