Seite 1 von 1

[gelöst] SciTE-python.properties

Verfasst: Samstag 11. Februar 2006, 12:28
von Ubuntuuser
hi,
habe SciTE unter Ubuntu installiert nun habe in den python.properties die Einstellung verändert damit man mit SciTE über F5 scripte ausführen kann.
leider findet SciTE trotz einstellungen nicht den python-Interpreter,was mache ich falsch?weiß jemand einen tip.

hier mal meine einstellungen:;

Code: Alles auswählen

if PLAT_GTK
   command.go.*.py=usr/bin/python -u $(FileNameExt)
   command.go.*.pyw=usr/bin/python -u $(FileNameExt)
   command.build.SConscript=scons --up .
   command.build.SConstruct=scons .

command.name.1.*.py=Syntax Check
command.1.*.py=usr/bin/python -c "import py_compile; py_compile.compile(r'$(FilePath)')" 
wäre dankbar für ein tip

Gruß

Ubuntuuser

Verfasst: Samstag 11. Februar 2006, 13:17
von Mr_Snede
Bitte nicht schlagen,
aber hast du Python auch installiert?
Liegt es in dem Angegebenen Pfad?

Verfasst: Samstag 11. Februar 2006, 13:32
von Ubuntuuser
Mr_Snede hat geschrieben:Bitte nicht schlagen,
aber hast du Python auch installiert?
Liegt es in dem Angegebenen Pfad?
Python 2.3 und Python 2.4 sind installiert werden mit Ubuntuinstallation gleich mitinstalliert.;mit IDLE funktionieren ja scripte.

Gruß Ubuntuuser

problem gelöst!

Verfasst: Samstag 11. Februar 2006, 14:59
von Ubuntuuser
so das problem ist gelöst.habe einen Querstrich vergessen deswegen ging nichts..es muss heißen

/usr/lib/python


ich hatte usr/lib/python--dies war der fehler


so stimmt es jetzt

Code: Alles auswählen

if PLAT_GTK
   command.go.*.py=/usr/bin/python -u $(FileNameExt)
   command.go.*.pyw=/usr/bin/python -u $(FileNameExt)
   command.build.SConscript=scons --up .
   command.build.SConstruct=scons .

command.name.1.*.py=Syntax Check
command.1.*.py=/usr/bin/python -c "import py_compile; py_compile.compile(r'$(FilePath)')" 



Ubuntuuser

:D