Kernel Yenileri
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Kurcalama(Hacking)

  • Kernel Yenilerine Giriş_Sayfası

  • Kernel Kurcalama

  • Kernel Terimler_Sözlüğü

  • Kernel Belgeleme

  • Bir hata(bug) mı buldunuz?

  • Kernel Safari

  • SSS

Projeler

  • Kernel Değişim Kayıtları

  • Kernel Janitor

  • Kernel Danışman

Diğer Sayfalar

  • Bölgesel KernelNewbies

  • Kişisel Sayfalar

  • Gelişmesi eklenen Olaylar

Tercihler

  • E-posta Listeleri

  • Programlama Bağlantıları

  • Eski kernelnewbies sitesi

WikiWall Şablon

  • Giriş Sayfası

  • WikiSandBox

Wiki Bitleri

  • En son değişiklikler

  • Yardım İçerikleri

  • Bulma Sayfası

  • Statistics

  • Seyir Menusu

  • WikiWall

  • WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

KernelYenileri:
  • AjudaNaActualizaçãoDePython

Actualizar Python

Se quiser alterar o Python que utiliza na sua instalação de MoinMoin, há algumas questões a ter em mente:

Localização da directoria do MoinMoin

Por omissão, o processo de instalação (setup.py) instalou os ficheiros do MoinMoin na directoria site-packages da instalação de Python actual (por exemplo /usr/lib/python2.2/site-packages). Se mudar para outro interpretador de Python, terá de re-instalar os ficheiros do MoinMoin para a nova directoria lib/pythonX.X/site-packeges. Se instalou os ficheiros do MoinMoin noutro local e tiver ajustado o sys.path, isto não será problema.

Os ficheiros Python pré-compilados (.pyc)

O Python não garante que os ficheiros .pyc sejam compatíveis entre versões de Python. Se mudar para outro interpretador de Python terá de recompilar os scripts de Python. Pode utilizar

python -c "import compileall; compileall.compile_dir('/path/to/MoinMoin')"

para este efeito. Se re-instalar o MoinMoin para o novo interpretador, o passo não é necessário/executado pelo setup.py.

Limpar a Cache da Página

A cache da página utiliza o código byte do Python para uma apresentação mais rápida da página. Para evitar problemas de compatibilidade, deve limpar a cache manualmente, eliminando todos os ficheiros existentes em data/pages/*/cache/ e underlay/pages/*/cache/.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01