Differences between revisions 45 and 51 (spanning 6 versions)
Revision 45 as of 2005-12-18 04:18:32
Size: 3175
Editor: adsl-69-210-245-150
Comment:
Revision 51 as of 2006-01-18 11:13:04
Size: 3744
Editor: 217
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
See also ["Code"], ["How to publish Python modules"], ["Wanted..."]. See also ["Code"], PublishingPythonModules, ["Wanted..."].
Line 6: Line 6:

 *["I wish to generate graphics and images directly into a file, but I'm confused as to just what i need to do this with python"]

 *["How can I run an untrusted Python script safely (i.e. Sandbox)"]
Line 18: Line 22:
 *[:MultiLineStringsInDocTest:How do I write multi-line strings in doctest tests?]
Line 37: Line 43:
    - it is possible to enter python commands into a text file, rather than entering them directly into the pyhton shell. Simply create a text file containing your python instructions and save it as scriptname.py, you can then import it into a python shell session or execute it directly.

This page was created as a place for people to ask questions. It is intended that the question be the WikiName of the page containing the answer. As answers are provided, this will develop naturaly into a FAQ Answers page.

See also ["Code"], PublishingPythonModules, ["Wanted..."].

Not yet answered

  • ["I wish to generate graphics and images directly into a file, but I'm confused as to just what i need to do this with python"]
  • ["How can I run an untrusted Python script safely (i.e. Sandbox)"]
  • ["Why do I get permission denied errors when using macostools.copy"]
  • ["When I import Tkinter, Python exits. Why?"]
  • This is an actual question. I have have a prototype for a python related website. Right now I am just running it off old PC (http://66.32.187.134). Where could I host this site & and do you think this site would be helpful to the advancement of Python programming knowledge? Thanks. Father Jack

  • ["How can I truly "protect" the python source code we create for a commercial product?"]
  • ["Where can I find a tiny python installation (under 2 MB) for an embedded linux system?"]

Answered (fully or partially)

  • [:MultiLineStringsInDocTest:How do I write multi-line strings in doctest tests?]

  • ["How do I get / set the modification date of a file?"]
  • ["How do I use gzip module with pickle?"]
  • ["How can "normal" users report bugs in Python or the documentation?"]
  • ["How can I convert a hex representation to an integer?"]
  • SubtractionQuestion

  • Does anyone know why msOffice products (using win32com return) u'dana\u2019s best' rather than u'dana's best'?
    • Microsoft Office replaces apostrophes (U+0027) with "Right Single Quotation Marks" (U+2019) automatically. While this looks correct typograpphically, it might cause some problems. -- IanBollinger

  • I'm a total Python newbie. How do I get Python started on a Palm handheld ( http://c2.com/cgi/wiki?PalmPython ) ? Or should I focus on learning Python on a desktop PC first ? -- DavidCary

    • I would recommend learning Python on a normal desktop system, with a recent version, a full suite of libraries, and [http://ipython.scipy.org/ IPython] (Interactive Python) installed. After you've learned the basics then you can probably adapt more readily to the limitations of the Palm Pilot interface, implementation, version (older), and libraries (reduced subset). ["JimD"]

  • How do you save python code and use it for anything? --elpenmaster
    • Save it as "scriptName.py" and then execute it with the Python interpreter. As for choosing a purpose for the code, that's entirely up to you. -- PeytonMcCullough

      • How do I save it as scriptname.py? --elpenmaster
        • - it is possible to enter python commands into a text file, rather than entering them directly into the pyhton shell. Simply create a text file containing your python instructions and save it as scriptname.py, you can then import it into a python shell session or execute it directly.
  • TestHarnessDesign -- I've been assigned the task of designing a test harness for embedded systems, servers and software. -- ["JimD"]

  • How do I publish Python modules?
    • See PublishingPythonModules - ["Philip"], 2005-09-19

      [lwickjr]: My question, "my" page. I created that page, empty, in hopes that someone would populate it. They have, and I've read it. They hadn`t yet when I created *this* page for posting how-to questions, at about the same time, so I included the question here in the seed page. See the attachments to ["my page" "lwickjr"] for my final solution to the problem. ;) By the way, "How to publish Python modules" has been renamed "PublishingPythonModules", to be more Wiki-style. [Me, again.] 2005-11-24.

Asking for Help (last edited 2019-11-04 14:47:35 by ChrisM)

Unable to edit the page? See the FrontPage for instructions.