473,320 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Help Installing smartypants.py

I just got Python 2.4 setup locally (Mac OS X) and am trying to extend
it by installing both the markdown and smartypants plugins. Ultimately
I'd like to be able use both in a custom CMS I'm building with Django.

Installing markdown was a snap by following the instructions at
http://www.freewisdom.org/projects/python-markdown/, but I cannot
figure out what to do for smartypants. I have found:
http://web.chad.org/projects/smartypants.py/, but cannot make any sense
of it. After reading Jeff Croft's wonderful site, I know it's possible
- and when I asked him in one of his posts he gave me the following
response:
As for SmartyPants -- there is a Python port. I've found it to be not quite as perfect as the original >Perl version, but it basically works. Just Google for it. You'd install it the same way (drop >smartypants.py in your Python path).


Does anyone know what port he's talking about? Is it the smartypants.py
file referenced above? And if so, any quick tips for a clueless UNIX
user on how to drop smartypants.py in my Python path? Many thanks in
advance!

Jun 28 '06 #1
1 1518
"Scott McCracken" <sc*************@gmail.com> wrote in message
news:11*********************@d56g2000cwd.googlegro ups.com...
I just got Python 2.4 setup locally (Mac OS X) and am trying to extend
it by installing both the markdown and smartypants plugins. Ultimately
I'd like to be able use both in a custom CMS I'm building with Django.

Installing markdown was a snap by following the instructions at
http://www.freewisdom.org/projects/python-markdown/, but I cannot
figure out what to do for smartypants. I have found:
http://web.chad.org/projects/smartypants.py/, but cannot make any sense
of it. After reading Jeff Croft's wonderful site, I know it's possible
- and when I asked him in one of his posts he gave me the following
response:
As for SmartyPants -- there is a Python port. I've found it to be not
quite as perfect as the original >Perl version, but it basically works.
Just Google for it. You'd install it the same way (drop >smartypants.py in
your Python path).
Does anyone know what port he's talking about? Is it the smartypants.py
file referenced above? And if so, any quick tips for a clueless UNIX
user on how to drop smartypants.py in my Python path? Many thanks in
advance!


Go to the bottom of http://web.chad.org/projects/smartypants.py/ and you
will see a number of links to various versions of this .py module. If you
right-click/Save As to smartypants.py, and then save this file to a
directory in your Pythonpath, then this will make this module accessible to
you.

-- Paul
Jun 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
8
by: JKJr | last post by:
I have an hp printer that im trying to hookup to my dell comp. I talked to hp and they said, "It does not work because you have to have Microsoft .Net." Well I tried installing Microsoft .Net and I...
3
by: jaggi | last post by:
Hi all, I downloaded DB2 enterprise edition from partnerworld on ibm.com and unzipped and untarred it and copied it to CD and tried installing on AIX using SMIT. I am getting errors while...
3
by: Scott | last post by:
I am trying to convert a RTF File to a Post Script file to be sent to the printer. I can write this program in either C# or VB.NET. Please help.. Thank you, Scott.
15
by: DavidS | last post by:
Have Visual Studio.NET installed on MS 2000 Professional OS laptop. No issue ever with web development and SQL connections. Purchased new laptop with XP Professional SP2!!!!!!!! & Visual...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
5
by: greenflame | last post by:
hello all, I have installed apache and php following the instructions on this link which was very helpful: http://www.tanguay.at/installPhp5.php5 problem: OS: Windows XP
0
by: Jack Wu | last post by:
Hi I've spent a good majority of my day trying to figure out how to have PIL 1.1.5 working on my OSX 10.3.9_PPC machine. I'm still stuck and I have not gotten anywhere. Could somebody please...
62
by: vubaboota | last post by:
I HAVE SOME SERIOUS PROBLEM , HOW TO MAKE A PROGRAM IN C Q1: Write a program using malloc function. In which you take input from user and allocate memory equal to square of this number. Which...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.