Re: [Tutor] GUI development with Python 3.4.1

2014-09-18 Thread Juan Christian
On Wed, Sep 17, 2014 at 2:01 PM, Juan Christian juan0christ...@gmail.com wrote: I need to develop a GUI for my Python pogram, I already read the GuiProgramming page (https://wiki.python.org/moin/GuiProgramming). For me, the best so far was 'gui2py'. The problem is that I need a simple

Re: [Tutor] GUI development with Python 3.4.1

2014-09-18 Thread Joel Goldstick
On Thu, Sep 18, 2014 at 9:07 AM, Juan Christian juan0christ...@gmail.com wrote: On Wed, Sep 17, 2014 at 2:01 PM, Juan Christian juan0christ...@gmail.com wrote: I need to develop a GUI for my Python pogram, I already read the GuiProgramming page (https://wiki.python.org/moin/GuiProgramming).

Re: [Tutor] GUI development with Python 3.4.1

2014-09-18 Thread Juan Christian
On Thu, Sep 18, 2014 at 10:12 AM, Joel Goldstick joel.goldst...@gmail.com wrote: I've not used it but Tkinter seems to be well used. I'm not sure what a C#/Java-ish thing is, but python isn't that. C#/Java-ish in terms of GUI Builder, drag and drop, like Glade and gui2py.

Re: [Tutor] GUI development with Python 3.4.1

2014-09-18 Thread Matthew Ngaha
PyQt or PySide offers QtDesigner. Which is a drag and drop builder. They are both quite complex GUI toolkits so you will need some basic knowledge on them first, but I Imagine there are good guides on using QtDesigner if it's your last option. On Thu, Sep 18, 2014 at 2:14 PM, Juan Christian

Re: [Tutor] GUI development with Python 3.4.1

2014-09-18 Thread Laszlo Z. Antal
Hi, I used to use wxPython.com Comes with a ton of examples and has many different drag and drop tools. Laszlo http://twitter.com/LZAntal On Sep 18, 2014, at 6:27, Matthew Ngaha chigga...@gmail.com wrote: PyQt or PySide offers QtDesigner. Which is a drag and drop builder. They are both

Re: [Tutor] GUI development with Python 3.4.1

2014-09-18 Thread john
On 09/18/2014 06:07 AM, Juan Christian wrote: On Wed, Sep 17, 2014 at 2:01 PM, Juan Christian juan0christ...@gmail.com mailto:juan0christ...@gmail.com wrote: I need to develop a GUI for my Python pogram, I already read the GuiProgramming page

[Tutor] Problem getting data using beautifulsoup4 + python 3.4.1

2014-09-18 Thread Juan Christian
My code: import requests import bs4 FORUM_ID = 440 response = requests.get(' http://steamcommunity.com/app/{id}/tradingforum'.format(id = FORUM_ID)) soup = bs4.BeautifulSoup(response.text) topics = [a.attrs.get('href') for a in soup.select('a.forum_topic_overlay')] for topic in topics: r =

Re: [Tutor] Problem getting data using beautifulsoup4 + python 3.4.1

2014-09-18 Thread Peter Otten
Juan Christian wrote: My code: import requests import bs4 FORUM_ID = 440 response = requests.get(' http://steamcommunity.com/app/{id}/tradingforum'.format(id = FORUM_ID)) soup = bs4.BeautifulSoup(response.text) topics = [a.attrs.get('href') for a in

Re: [Tutor] Problem getting data using beautifulsoup4 + python 3.4.1

2014-09-18 Thread Juan Christian
On Thu, Sep 18, 2014 at 6:10 PM, Peter Otten __pete...@web.de wrote: The div ... doesn't have an href attribute, its child a ... has. Try [a.attrs[href] for a in s.select(div.authorline a)] OMG, I completely forgot about the 'a'... http://goo.gl/A8sRLT Thanks! 100% Working.

[Tutor] Is there any XML lib like the default json lib in terms of usability?

2014-09-18 Thread Juan Christian
Using the default json lib is easy and straightforward: import json info = json.loads('file.json') # Use dict and list to navigate through 'info' Sadly, I'm working in a script and the only format the server gives is XML, I searched for a good alternative and didn't find anything as easy as the

[Tutor] Help

2014-09-18 Thread Art Pelletier
I am a beginner with pythons programming I would like to see if their is a site that has samples programs that I can practice on. Sent from my iPad ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] GUI development with Python 3.4.1

2014-09-18 Thread Sebastian Silva
El jue, 18 de sep 2014 a las 8:07 AM, Juan Christian juan0christ...@gmail.com escribió: On Wed, Sep 17, 2014 at 2:01 PM, Juan Christian juan0christ...@gmail.com wrote: I need to develop a GUI for my Python pogram, I already read the GuiProgramming page

[Tutor] Python Assignment Expression and Callable Expression

2014-09-18 Thread Wang Lei (ERIAN)
Hi, everyone: I really believe that python is a great language but assignment and callable are not flexible: I wish that I can do this: class matrixArray(list): bla bla bla def __call__(self, rid, cid): return self.head[rid][cid] Once I call mat(1,1), I can get a result. but

Re: [Tutor] Help

2014-09-18 Thread C Smith
Check this guy's youtube channel. He has very basic examples. His username is thenewboston On Wed, Sep 17, 2014 at 4:36 PM, Art Pelletier artp...@gmail.com wrote: I am a beginner with pythons programming I would like to see if their is a site that has samples programs that I can practice

Re: [Tutor] Python Assignment Expression and Callable Expression

2014-09-18 Thread Cameron Simpson
On 19Sep2014 02:41, Wang Lei (ERIAN) l.w...@ntu.edu.sg wrote: I really believe that python is a great language but assignment and callable are not flexible: Some flexibilities are too much. But there are ways to do what you ask... I wish that I can do this: class matrixArray(list): bla

Re: [Tutor] Help

2014-09-18 Thread Danny Yoo
On Wed, Sep 17, 2014 at 4:36 PM, Art Pelletier artp...@gmail.com wrote: I am a beginner with pythons programming I would like to see if their is a site that has samples programs that I can practice on. Hi Art, Yes, there are some good resources you can check out. Here's a link to some of

Re: [Tutor] Python Assignment Expression and Callable Expression

2014-09-18 Thread Danny Yoo
I wish python developers could think of an idea to update the lexical parsing method or simply provide us a tool to modify it in python context. Hi Lei, This is unfortunately out of scope for Python-tutor. We don't have direct influence over the future direction of the language. If you