![]() |
2010-02-19
, 19:33
|
Posts: 3,428 |
Thanked: 2,856 times |
Joined on Jul 2008
|
#62
|
for line in j.split("\n"): self.listWidget.addItem(line)
The Following 2 Users Say Thank You to fatalsaint For This Useful Post: | ||
![]() |
2010-02-19
, 19:36
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#63
|
Maybe?Code:for line in j.split("\n"): self.listWidget.addItem(line)
![]() |
2010-02-20
, 16:02
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#64
|
The Following 2 Users Say Thank You to noobmonkey For This Useful Post: | ||
![]() |
2010-02-20
, 17:29
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#65
|
The Following User Says Thank You to noobmonkey For This Useful Post: | ||
![]() |
2010-02-20
, 17:59
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#66
|
Waiting on liblocation to get some decent pymaemo calls, device.cell_info would be great! (Although could be a long wait?!)
The Following 3 Users Say Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-02-20
, 19:05
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#67
|
![]() |
2010-02-20
, 22:52
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#68
|
ERROR:dbus.proxies:Introspect error on :1.17:/com/nokia/phone/net: dbus.exceptions.DBusException: rpc.Error: object /com/nokia/phone/net doesn't have interface org.freedesktop.DBus.Introspectable
The Following User Says Thank You to noobmonkey For This Useful Post: | ||
![]() |
2010-02-20
, 23:38
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#69
|
![]() |
2010-02-21
, 01:22
|
|
Posts: 354 |
Thanked: 151 times |
Joined on Mar 2008
@ London (UK) / Zielona Góra (PL)
|
#70
|
I don't know dbus-python, but http://repository.maemo.org/extras-d...urce/n/netmon/ could probably help in that regard.
The Following 2 Users Say Thank You to evad For This Useful Post: | ||
![]() |
Tags |
code, health check, n900, python |
Thread Tools | |
|
Trying each of them, but onto the next bit
I have a string full of lots of words (for example apt-cache pkgnames)
So my String looks like:
entry1
entry2
entry 3....
entry 200
etc..
Trying to add these to a QT listwidget, but guessing readlines and xreadlines are only for reading files. Is there a python code to read lines within a string? or is it a bit more complicated then that?
Tried with this:
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -