name = "plex1.txt"
f = open(filename, "r")
scanner = Scanner(lexicon, f, filename)
while 1:
token = scanner.read()
print token
if token[0] is None:
break
The error was removed when I used the following code in Transitions.py
def get_epsilon(self,
n
To the best of my knowledge ftplib does not support SFTP or FTPS.
I hope Paramiko (http://www.lag.net/paramiko/) serves your purpose.
Paramiko supports POSIX, Windows and MacOSX
Regards,
/Srijit
Peter A. Schott wrote:
> Does the ftplib support SFTP or FTPS? Is that part of a different
mod
efficient sharing of data between separate
processes using mmapfile.
Regards,
/Srijit
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Here are code snippets to create and access shared memory in Python
with and without ctypes module.
With regards,
Srijit
Filename : SharedMemCreate.py
import msvcrt, mmap
from ctypes import *
FILE_MAP_ALL_ACCESS = 0xF001F
INVALID_HANDLE_VALUE = 0x
SHMEMSIZE = 256
PAGE_READWRITE
Hello,
I have posted a similar message in SciPy mailing list. I hope it is ok
to also post it here.
I am looking for Python 2.4 Binaries (Windows)of SciPy. Are there any
plans to upload Python 2.4 binaries?
Best Regards,
/Srijit
--
http://mail.python.org/mailman/listinfo/python-list
/en-us/ipc/base/named_pipe_client.asp
Best Regards,
Srijit
Named Pipe Server Source Code:
from ctypes import *
PIPE_ACCESS_DUPLEX = 0x3
PIPE_TYPE_MESSAGE = 0x4
PIPE_READMODE_MESSAGE = 0x2
PIPE_WAIT = 0
PIPE_UNLIMITED_INSTANCES = 255
BUFSIZE = 4096
NMPWAIT_USE_DEFAULT_WAIT = 0
Hello,
I am quite familiar with Mark Hammond's win32all. It is excellent.
However, I wish that there was more documentation of win32all beyond
existing PyWin32.chm. I am aware of "Python Programming on Win32" but I
do not have access to it at present.
Best Regards,
/S
Hello,
Here is some sample code with pywin32 build 203 and ctypes 0.9.6.
Best regards,
/Srijit
File: SharedMemCreate_Mutex_win32all.py
# This application should be used with SharedMemAccess_Mutex_ctypes.py
or SharedMemAccess_Mutex_win32all.py
#~ a) Creates a shared memory
#~ b) Creates or Opens
I am looking for possible options to interface Modelica
(http://www.modelica.org/) with Python (scipy and numpy). Any
suggestions?
Best Regards,
Srijit
--
http://mail.python.org/mailman/listinfo/python-list
,
Srijit
[EMAIL PROTECTED] wrote:
> Srijit Kumar Bhadra wrote:
> > I am looking for possible options to interface Modelica
> > (http://www.modelica.org/) with Python (scipy and numpy). Any
> > suggestions?
>
> When you say "interface", what do you mean?
>
>
;, "this is a paragraph")
w.start("p")
w.data("this is ")
w.element("b", "bold")
w.data(" and ")
w.element("i", "italic")
w.data(".")
w.end("p")
w.close(html)
Best Regards,
Srijit
--
http://mail.python.org/mailman/listinfo/python-list
uring installation of .egg files?
Best Regards,
Srijit
--
http://mail.python.org/mailman/listinfo/python-list
is always sufficient to have only MinGW GCC installation
on my Win XP machine and not MS Visual Studio.
Best Regards,
Srijit
Srijit Kumar Bhadra wrote:
> I have browsed the following links
> 1) http://peak.telecommunity.com/DevCenter/EasyInstall
> 2) When Python *Eggs* better than Python *d
Was it IronPython 0.7.x or standard Python 2.4.1?
Regards,
/Srijit
--
http://mail.python.org/mailman/listinfo/python-list
can I get examples for SIP 4.7?
Regards,
/Srijit
--
http://mail.python.org/mailman/listinfo/python-list
Is there any specific reason for not using MinGW to build the official
distribution of Python for Win32?
A quick Google search did not reveal the answer to my question. If a
link is available, please post it.
Best Regards,
Srijit
--
http://mail.python.org/mailman/listinfo/python-list
I am looking for the file Python Wrapper Tools; a Performance Study
(http://people.web.psi.ch/geus/talks/europython2004_geus.pdf). The
link seems to be no longer valid.
If someone has a local copy, I request him/her to share it.
/Srijit
--
http://mail.python.org/mailman/listinfo/python-list
]
compiler=mingw32
/Srijit
--
http://mail.python.org/mailman/listinfo/python-list
Is there any reason why lxml-2.2.4-py2.6-win32.egg (md5) or
lxml-2.2.4.win32-py2.6.exe is not available?
Best regards,
/Srijit
--
http://mail.python.org/mailman/listinfo/python-list
19 matches
Mail list logo