Differences between revisions 52 and 53
Revision 52 as of 2006-01-19 21:54:14
Size: 3802
Editor: 84
Comment: *["How to have a mutable buffer with python 2.3?" ]
Revision 53 as of 2006-02-04 13:32:21
Size: 3802
Comment:
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
    - 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.     - it is possible to enter python commands into a text file, rather than entering them directly into the python 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

  • ["How to have a mutable buffer with python 2.3?" ]
  • ["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 python 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.