First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
DjangoCon 2010
This is a reminder that DjangoCon US 2010 is now under a month away! The third such conference, DjangoCon returns this year to the green Doubletree Hotel in Portland, OR from September 7-9, with a three day sprint hosted by Urban Airship from September 10-12. The program schedule is at http://djangocon.us/... 8 Aug 2010 12:18
Class initialization
Hi there. I'm kind of a beginner with Python (and programming in general). My problem is with initializing a class. Let's say I've defined it like this: class foo: a = 0 b = 0 and later I'm trying to initialize two different classes like this: c1 = foo() c2 = foo() The problem I have is that c1 an... 8 Aug 2010 21:06
Renaming of files in OS directory
Hi, all, I am writing a program that renames files inside OS directories the user provides. I am at the early stage of writing it and I encountered some problems. Below is my code. There is an error i received when i run this code. The error is, WindowsError: [Error 123] The filename, directory name, or volume l... 8 Aug 2010 10:08
I need a starter ptr writing python embedded in html.
I'm ok in python but I haven't done too much with web pages. I have a web page that is hand written in html that has about 1000 entries in a table and I want to convert the table from entries like this <tr> <td> Some Date String </td> <td> SomeTag </td> <td> <a href="localSubdir"> A Titl... 9 Aug 2010 22:18
Replace and inserting strings within .txt files with the use of regex
# rename ALL php files to html in every subfolder of the folder 'data' os.rename('*.php', '*.html') # how to tell python to rename ALL php files to html to ALL subfolder under 'data' ? # current path of the file to be processed path = './data' # this must be somehow in a loop i feel th... 11 Aug 2010 06:00
Replace and inserting strings within .txt files with the useof regex
rantingrick wrote: On Aug 7, 7:20 pm, ����� <nikos.the.gr...(a)gmail.com> wrote: Hello dear Pythoneers, I prefer Pythonista, but anywho.. I have over 500 .php web pages in various subfolders under 'data' folder that i have to rename to .html import os os.rename(old, new) and an... 10 Aug 2010 11:20
Replace and inserting strings within .txt files with the use of regex
Hello dear Pythoneers, I have over 500 .php web pages in various subfolders under 'data' folder that i have to rename to .html and and ditch the '<?' and '?>' tages from within and also insert a very first line of <!-- id --> where id must be an identification unique number of every page for counter tracking pur... 10 Aug 2010 08:00
Need Translation library
On Sat, Aug 7, 2010 at 5:04 AM, siva moorthy <gnusiva(a)gmail.com> wrote: hi all, i wish to code for translation in python i want to parse a python program itself and make some keyword changes (replacement) tell me any library to parse python source code Depending on you needs, one of: http://docs.p... 7 Aug 2010 15:49
cscope like source code navigation for python code
Hi, I'm using g?vim and its c-scope plugin for browsing C-code. What would be a good way of navigating larger python projects with vim? thanks for any suggestions ... 8 Aug 2010 12:18
How to grab a number from inside a .html file using regex
Hello guys! Need your precious help again! In every html file i have in the very first line a page_id fro counetr countign purpsoes like in a format of a comment like this: <!-- 1 --> <!-- 2 --> <!-- 3 --> and so on. every html file has its one page_id How can i grab that string representaion of a number... 7 Aug 2010 16:54
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21