LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-03-2002, 02:06 PM   #1
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
Converting Text To HTML


I'm trying to convert some python code to HTML. I have found some utilities that will do it, however, for easier reading I would like something that will convert the color of the text as well....any suggestions?
 
Old 07-03-2002, 02:21 PM   #2
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
How are you storing colors in plain text?
 
Old 07-03-2002, 02:22 PM   #3
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
Could alway post this to the python mail list or news group
 
Old 07-03-2002, 03:30 PM   #4
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
I'm not storing it as plain text, just copying it out of a python shell which has the text formatted in color....
 
Old 07-03-2002, 05:10 PM   #5
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
Do you mean you want to display you python code in html with color syntax high lighting? Kind of like with PHP
when we use the phps extension?
 
Old 07-03-2002, 05:21 PM   #6
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
iI'm not familiar with php but yes, I want the color coding of the python syntax to be carried over when converting the text to html
 
Old 07-03-2002, 06:08 PM   #7
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 32
My suggestion would be post a message to one of the Python mailing list info can be found at this link:

http://python.org/psa/MailingLists.html

The python-help@python.org and python-tutor are very helpfull.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
converting DOC to HTML using PHP Xing Programming 3 02-17-2009 06:32 AM
converting Windows text to Linux text joshknape Linux - Software 3 09-11-2005 12:52 PM
how to convert text(html) back to html. d1l2w3 Linux - Software 4 04-08-2005 08:16 PM
Converting pdf to Html linuxeagle Linux - General 1 04-23-2004 08:03 AM
Converting html files to pdf saurya_s Linux - Software 1 01-12-2004 06:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration