15,190 Topics
![]() | |
I am completely new user of Python and I am supposed to develop a GUI for an old Fotran program. In this I would like to use what I think is called "tabs" although I would prefer to call them "folders" to avoid mixing with the TAB character. What I … | |
hi i have made a blackjack code and need a some help on it. it seems to work overall but there are a few bits here and there that need sorting out, and im kinda stuck on it so was wondering if i could get some help? (Would be HUGELY … | |
Hi all! I have started using pydoc and can not figure it all out... I have made packages in a structure like: pkg1 -__init__.py -pkg2 --__init__.py --module1 --module2 (supposed to look like a dir structure, hope you see what I mean) If my working dir is dir that contains pkg1 … | |
hi everyone i would be thankful if anyone could post a simple example where you continuously create a new oval after a random period of time( e.g A new moving oval is created after every 10 -15 seconds), and is destroyed when it reaches a particular X or Y coordinate. … | |
I found on net this: "Mixins are classes that further enhance the functionality of a wx.ListCtrl. Mixin classes are so called helper classes. They are located in wx.lib.mixins.listctrl module. In order to use them, the programmer has to inherit from these classes. " Please someone explain me the way this … | |
so, what is python and what is good about it? | |
Hello everyone, I've been learning python since the past few days. I have tried several ways but nothing seems to work!! All I want to do is, randomly generate some moving ovals after some regular or irregular interval of time. I have tried canvas.after but it didn’t worked. The ovals … | |
Hello i just started learning about python and am beginning a hangman program. I'm trying to read the word from the document then output _ for each letter in it. so far it runs but outputs nothing I'm not sure if I'm formatting it incorrectly or am forgetting something any … | |
hello there, well im back;) with a few more questions that i would like clarification with. I have completed up to data structures in python and my next topic is 'object oriented programming':| . Just wanted to clear up some things first:) [CODE]guess=int (input ('enter a number:')) [/CODE] Q1. in … | |
python script reading config file and then zipping files after X days from directories. dir contains dynamic files. i have specified the extension and the "startswith" in the config. problem i have is it [B]zips up everything[/B]. (if i can get this work will add a delete too). i also … | |
Hi there. Nice forum you got here. I am coding strictly as a hobist since 1988. But I more keen on studying computer languages. I have studied, GWBASIC, DBASE, CLIPPER,C,C++,ASSEMBLY,DELPHI,C#,JAVA. Imade some decent programs with C++ and Delphi. Now I am more interested in making programms . 3d graphics and … | |
I've written some code that will download a web page and extract all the links from that page into a list. Then I want to make a second pass down the list and repeat the process for each on the links found on the first page. But for some reason, … | |
This code from Vegasseat worked when I made my own bitmap image to count red pixels. I now want to count green pixels so I changed the code. Again, when I make my own bitmap it will count the green pixels but why won't it count them in an image … | |
Hi, I'm new to this forum. I need a python test script to open 100 client connections for a web server, say "www.example.com/test/test" without invoking browser. I am trying out this for load testing to create 100 virtual connections to a web server. I have tried with urllib.urlopen(). It fetches … | |
This is a basic Mash program assignment I have to do but I have a few problems, and I don't know how to edit it. It is suppose to look like this: [url]http://i43.tinypic.com/inv0gj.jpg[/url] but mine look slightly different: (copy and paste the code to ur python to check if you … | |
My problem is that I do not see cookies being captured with this forum submission that I have setup. Does anyone know what I am doing wrong? Any help is appreciated, thanks. [CODE]def main(): # Request post page dev_null = StringIO.StringIO() pycurlConnect = pycurl.Curl() pycurlConnect.setopt(pycurl.USERAGENT, USER_AGENT) pycurlConnect.setopt(pycurl.URL, LOGIN_URL) pycurlConnect.setopt(pycurl.REFERER, REFERER) … | |
Hi From using java and BlueJ i have found it quite easy to make your own api using inbuilt things in BlueJ. So i was wondering if there was anything in python that would take a python program and find all of the definitions and make an API from that, … | |
Hello all, I've written a piece of code that lets me generate or read a grid where all cells have a value. The grid stands for a simple 2d visualisation of an area where types of housing are to be build. The values of a cell stand for some different … | |
Hello, I have a text-based program (non-GUI) that would run solely inside the workspace terminal. Within this program there are hundreds of "print statements" showing really long texts. e.g. print "This is a really really really really really really really really really really really really really really really really really … | |
I've been writing a script that will check google for pages that meet certain criteria at my web site. For example, excel spreadsheets that contain data that should not be on the web. So far, so good. When we find something and take it down, it can take a while … | |
Ok, I am writing a program to find the root of f(x)= x - cos(x) using Newton-Raphson method. I implemented a loop and have calculated the root with no problems. However I want to break the loop when the difference between iterations = 10^-8. how exactly can I do this. … | |
Hi all, I have a file which have ip's of three servers say servers.txt. I am opening the file for every request. Instead I want to load the file for the first request and from the next time onwards. I have to avoid file I/O. How can I achieve this … | |
| |
Hello Dev, I have good news which lasts some hours to come. There are these guys called giveawayoftheday. I enjoy their giving away of commercial software for free with limited valid download time. WHY I WRITE HERE? Not to promote them, but to tell you that today's giveaway is Edraw … | |
Question about gathering search results for a phrase with Python. I wrote a simple script for my personal SEO purposes that would go out and collect the top 30 search results on Google and then return a list of those URL's. The trouble is everytime I try to run my … | |
I think I have several questions before I post my code. [LIST=1] [*]How do I change the attributes? Everything looks the same and I was basically looking at one of the examples in my book for this problem. The book always has the arguments and attributes as being the same … | |
First post so thanks in advance for any help. I am looking to pull the anchor text from a series of links in some html. I am doing this with find() and rfind(): linkend=users.find("</a>:") linkstart=users.rfind(">",0,linkend) My question is that once I have found the first link, how do I then … | |
I've been programming on and off as a hobby for some time, but I've never done anything with networking, and since I can't get the docs to work with Ubuntu I've been rather stumped. Could someone offer an example of a program that would send a package of data (say … | |
Hello all, I was looking for simple application to keep my record. I have explored many app on net but are too complex, and have decided o make my own. However, I don't know if I should use wxGrid or just text controls in displaying data. If suggesting wxgrid, where … | |
hello there, i started learning python yesterday and im having quite a bit of difficulty following tutorials... I was following this[URL="http://en.wikibooks.org/wiki/Python_Programming/Variables_and_Strings"] tutorial [/URL] but most of what i wrote did not work. How do i make the code compatible with python 3.0?. for instance it says [CODE]lucky=7 print lucky [/CODE] … |
The End.