No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
Re: An example of how to make your program skin capable, using a configuration file and images to draw the interface. File program.py [CODE] #!/usr/bin/env python # -*- coding: utf-8 -*- # program.py # Thanks to http://zetcode.com/wxpython/ #Load necessary modules import os import sys import wx import ConfigParser #Read configuration and … | |
Re: Hi. If installation_task() is a function that terminates fast, you will probably not see the label change, because it's very fast. | |
Re: Hi. I use apache for Django 1.1.1 deployment under Debian, but Ubuntu must be all the same. This could be an example: 1-Install an activate python module for apache: sudo apt-get install libapache2-mod-python sudo a2enmod python sudo /etc/init.d/apache2 restart 2-Guess you have your project located at /srv/my_site cd /srv/ sudo … | |
Re: Hi. This could be a solution: [1] [url]http://rg3.github.com/youtube-dl/[/url] | |
![]() | Re: Hi. Think this could be helpfull to you: http://showmedo.com/videotutorials/video?name=1100000 |
Re: Yes, of course it´s possible. Try this link, it´s something like what you want: [url]http://fpp.alwaysdata.net/media/ficheros/base02.zip[/url] Cheers. | |
Re: Hi. Notepad is on your PATH, inside Windows directory. For other programs to be launched, i guess you should call them with the complete path, like c:/Program\ files/Program/My_program.exe I don't use Windows, so I'm guessing. | |
Re: Hi. Why not to use UTF8? [CODE] # -*- coding: utf-8 -*- import os targ = u"/tmp/testTarget/Beyoncé/B'Day [Deluxe Edition]" os.access(targ.encode('utf8'), os.F_OK) os.access(os.readlink(targ.encode('utf8')), os.F_OK) [/CODE] felix@theway:~$ python prueba.py Traceback (most recent call last): File "prueba.py", line 7, in <module> os.access(os.readlink(targ.encode('utf8')), os.F_OK) OSError: [Errno 2] No such file or directory: "/tmp/testTarget/Beyonc\xc3\xa9/B'Day [Deluxe … | |
Re: Hi. Guess this is what you need: [CODE] import urllib params = urllib.urlencode({'username': 'myuser', 'password': 'mypassword'}) site = "http://www.mysite.com/login.html" urllib.urlopen(site, params) [/CODE] | |
Re: Hi. I have always used wx, but if you can't use it for any reason, you'll always have tkinter. If your project is simple, you can use easygui, really easy to use an tkinter based. For wx gui design, you can use Boa Constructor or wx-glade. Have some options that … | |
Re: Hi. You can try installing apache, python, apaches´modpython and python-mysqldb, that´s all what you need. But for Python web programming, I use Django, a Python´s web framework tha makes your live easy, give it a try and you´ll never look back to php or something else. cheers. | |
Re: Hi. You have to install MySQL module: MySQLdb On Debian, I install it this way: aptitude install python-mysqldb That shoul be the problem. | |
Re: Hi. Try adding this at top of your .py file: # -*- coding: utf-8 -*- Cheers. > Hi, > It must be a simple issue, but couldn't find any answer googling. > Here is the problem: > I have a simple test application with a TextCtrl, Button and StaticText. When … |
The End.