Die Suche ergab 5 Treffer
- Montag 15. Dezember 2014, 09:16
- Forum: Offtopic
- Thema: Python programmer looks for a job in Berlin
- Antworten: 2
- Zugriffe: 2266
Re: Python programmer looks for a job in Berlin
Yes, all the time! In Berlin or any other place.
- Dienstag 28. Oktober 2014, 23:48
- Forum: Allgemeine Fragen
- Thema: Datenaustausch zwischen 2 laufenden Programmen
- Antworten: 22
- Zugriffe: 9340
Re: Datenaustausch zwischen 2 laufenden Programmen
Von `execfile()` würde ich ja dringend abraten. Wenn das eine Option wäre könnte man das andere Modul auch einfach importieren.
Na ja, aber in usere Beispiel das Skript Prg1.py beginnt mit:
import os
Also mit import in Prg2.py :
>>> import Prg1
>>> os
Traceback (most recent call last ...
Na ja, aber in usere Beispiel das Skript Prg1.py beginnt mit:
import os
Also mit import in Prg2.py :
>>> import Prg1
>>> os
Traceback (most recent call last ...
- Dienstag 28. Oktober 2014, 21:38
- Forum: Allgemeine Fragen
- Thema: Datenaustausch zwischen 2 laufenden Programmen
- Antworten: 22
- Zugriffe: 9340
Re: Datenaustausch zwischen 2 laufenden Programmen
Du muss ausführen deine skript/You have to execute your script:
Prg2.py:
und dann diese variablen sind in deine Namensraum/ namespace
Prg2.py:
Code: Alles auswählen
>>> execfile('/full/path/to/Prg1.py')
>>> y
12345678- Sonntag 26. Oktober 2014, 22:15
- Forum: Allgemeine Fragen
- Thema: Parallelität/IO Error
- Antworten: 5
- Zugriffe: 1781
Re: Parallelität/IO Error
BlackJack has recht ueber dein Skript, aber das ist nicht die Quelle deines Problems.
Ich denke dass das Problem ist nicht in dein Skript. Die Funktion write_byte nimmt andere funktion - i2c_smbus_write_byte,
@validate(addr=int, val=int)
def write_byte(self, addr, val):
"""write_byte(addr, val ...
Ich denke dass das Problem ist nicht in dein Skript. Die Funktion write_byte nimmt andere funktion - i2c_smbus_write_byte,
@validate(addr=int, val=int)
def write_byte(self, addr, val):
"""write_byte(addr, val ...
- Montag 20. Oktober 2014, 20:35
- Forum: Offtopic
- Thema: Python programmer looks for a job in Berlin
- Antworten: 2
- Zugriffe: 2266
Python programmer looks for a job in Berlin
English-speaking Python coder (m, 32) looks for a full-time, permanent job in Berlin.
My skills:
- Python, IPython, Cython;
- Django, Flask + MongoDB with Pymongo/ SQL;
- NLTK, Numpy, Pandas, Matplotlib;
- ASP.NET MVC + C#;
- jQuery, HTML and all that what's usually on the front-end;
- moderate ...
My skills:
- Python, IPython, Cython;
- Django, Flask + MongoDB with Pymongo/ SQL;
- NLTK, Numpy, Pandas, Matplotlib;
- ASP.NET MVC + C#;
- jQuery, HTML and all that what's usually on the front-end;
- moderate ...
