황병희 writes:
> usally i write python code in gnu emacs on ubuntu 18.04 sometimes i
> re-edit the code vim in same machine so often when i do run the code in
> shell like as ./test.py i meet consol error -- which line wrong!
>
> so i am considering how can i replace all tab to space 4 within python
>
> The source code is here:
> https://github.com/python/cpython/blob/master/Lib/socketserver.py . You
> should find all the technical details you are looking for in it.
>
>
# poll/select have the advantage of not requiring any extra file
> descriptor,# contrarily to epoll/kqueue (also, they requi
On 11/28/19 8:46 PM, lampahome wrote:
> As title,
>
> I want to use socketserver to replace my own server code to
> maintain ealsier.
>
> But I don't found any info about tech. detail of socketserver, epoll is
> important.
>
> Can anyone tell me?
The source code is here:
https://github.com/pyth
As title,
I want to use socketserver to replace my own server code to
maintain ealsier.
But I don't found any info about tech. detail of socketserver, epoll is
important.
Can anyone tell me?
--
https://mail.python.org/mailman/listinfo/python-list
> On 28. Nov 2019, at 12:05, Ulrich Goebel wrote:
>
> Hi,
>
> I have to call commands from inside a python skript. These commands are in
> fact other python scripts. So I made
>
>os.system('\.Test.py')
>
> That works.
>
> Now I tried to use
>
>supprocess.call(['.\', 'test.py'])
[
On 2019-11-28 15:35, Dennis Lee Bieber wrote:
On Thu, 28 Nov 2019 12:45:27 +, Ben Bacarisse
declaimed the following:
Madhavan Bomidi writes:
print,'Column ',J,' of product matrix A*AINV:',format='(1X,A7,I3,A27)'
I don't know what the 1X format does. The A7 and A27 formats just see
> On Nov 28, 2019, at 9:35 AM, Dennis Lee Bieber wrote:
>
> Channeling ancient FORTRAN, I'd interpret it as
>
> 1XSkip one space
> A7Seven character alpha
> I3Three digit integer
> A2727 character alpha
>
> and it is rather painful when the arguments are litera
Hi,
I'm trying to install a python source
https://github.com/peteboyd/lammps_interface
when I run the example test I receive this error
AttributeError: 'NoneType' object has no attribute 'copy'
How could I fix it?
regards
lammps-interface
/home/alberto/Scaricati/lammps_interface-master/te
Madhavan Bomidi writes:
> I have the following IDL program lines. I want to write equivalent
> Python program lines. Can anyone suggest me equivalent Pythons program
> lines?
>
> # --- 1 --- #
> How to handle the format in IDL to Python?
>
> IDL program line:
>
Hi,
I have the following IDL program lines. I want to write equivalent Python
program lines. Can anyone suggest me equivalent Pythons program lines?
# --- 1 --- #
How to handle the format in IDL to Python?
IDL program line:
print,'Column ',J,' of product mat
Ulrich Goebel writes:
> Hi,
>
> I have to call commands from inside a python skript. These commands are
> in fact other python scripts. So I made
>
> os.system('\.Test.py')
>
> That works.
In a string \. is the same as . So this should execute the command '.Test.py'.
Is that really what you
Sorry for the wrong spelling. In fact
subprocess.call('./Test.py')
works.
The raising error was my error too, using ['./', 'Test.py'] instead of
'./Test.py'
Sorry...
Am 28.11.19 um 11:05 schrieb Ulrich Goebel:
Hi,
I have to call commands from inside a python skript. These commands are
Ulrich Goebel wrote:
> Hi,
>
> I have to call commands from inside a python skript. These commands are
> in fact other python scripts. So I made
>
> os.system('\.Test.py')
>
> That works.
>
> Now I tried to use
>
> supprocess.call(['.\', 'test.py'])
Remember to use cut and paste fo
Hi,
I have to call commands from inside a python skript. These commands are
in fact other python scripts. So I made
os.system('\.Test.py')
That works.
Now I tried to use
supprocess.call(['.\', 'test.py'])
That doesn't work but ends in an error:
Traceback (most recent call last):
14 matches
Mail list logo