tcl

Can't find package from application written in Tcl

社会主义新天地 提交于 2020-05-17 06:22:06
问题 Thanks to the comments, better understand the problem a bit. The variables: thufir@dur:~/tcl/packages$ thufir@dur:~/tcl/packages$ echo 'puts $auto_path' | tclsh /usr/share/tcltk/tcl8.6 /usr/share/tcltk /usr/lib /usr/local/lib/tcltk /usr/local/share/tcltk /usr/lib/tcltk/x86_64-linux-gnu /usr/lib/tcltk /usr/lib/tcltk/tcl8.6 thufir@dur:~/tcl/packages$ thufir@dur:~/tcl/packages$ echo 'puts $tcl_pkgPath' | tclsh /usr/local/lib/tcltk /usr/local/share/tcltk /usr/lib/tcltk/x86_64-linux-gnu /usr/lib

running TCL through python by subprocess, but not giving any output

主宰稳场 提交于 2020-05-16 09:49:41
问题 I am trying to run my tcl script through python subprocess as follow: import subprocess >>> subprocess.Popen(["tclsh", "tcltest.tcl"]) <subprocess.Popen object at 0x0000000001DD4DD8> >>> subprocess.Popen(["tclsh", "tcltest.tcl"], shell=True ) <subprocess.Popen object at 0x0000000002B34550> I don't know if it is working or not, since I don't see any anything from it! my tcl script also has some packages from my company that causes errors when I use Tkinter, Tk, and eval, import Tkinter import

running TCL through python by subprocess, but not giving any output

Deadly 提交于 2020-05-16 09:48:30
问题 I am trying to run my tcl script through python subprocess as follow: import subprocess >>> subprocess.Popen(["tclsh", "tcltest.tcl"]) <subprocess.Popen object at 0x0000000001DD4DD8> >>> subprocess.Popen(["tclsh", "tcltest.tcl"], shell=True ) <subprocess.Popen object at 0x0000000002B34550> I don't know if it is working or not, since I don't see any anything from it! my tcl script also has some packages from my company that causes errors when I use Tkinter, Tk, and eval, import Tkinter import

running TCL through python by subprocess, but not giving any output

回眸只為那壹抹淺笑 提交于 2020-05-16 09:46:06
问题 I am trying to run my tcl script through python subprocess as follow: import subprocess >>> subprocess.Popen(["tclsh", "tcltest.tcl"]) <subprocess.Popen object at 0x0000000001DD4DD8> >>> subprocess.Popen(["tclsh", "tcltest.tcl"], shell=True ) <subprocess.Popen object at 0x0000000002B34550> I don't know if it is working or not, since I don't see any anything from it! my tcl script also has some packages from my company that causes errors when I use Tkinter, Tk, and eval, import Tkinter import

How to catch the maximize signal in Tk?

大城市里の小女人 提交于 2020-03-22 07:54:13
问题 You can bind a command with the X button of the window by this: wm protocol $windowPath WM_DELETE_WINDOW $command How can I do the same for the maximize button of the window? 回答1: There's no standard protocol for it, either among the X11 ICCCM set or the FreeDesktop set. As such, wm protocol cannot possibly be used for it. However, you can use the <Configure> event to track all size changes for a window. Note that if you set it on a toplevel, you will also get notifications for all widgets

linux下expect安装

為{幸葍}努か 提交于 2020-03-11 04:29:15
expect据说是交互性很强的脚本语言,想安装了玩玩试试,没想到竟然让我纠结两天才安装上,只是因为expect依赖于tcl,但linux系统里一般不自带安装tcl,需要手动安装 expect版本 5.43 http://download.chinaunix.net/download/0003000/2845.shtml tcl版本 8.4.19 http://sourceforge.net/projects/tcl/files/Tcl/8.4.19/tcl8.4.19-src.tar.gz/download 下载两个包,分别解压 1。先安装tcl   进入tcl解压目录,然后进入unix目录   #./configure   #make   #make install 2.后安装expect   进入expect解压目录   #./configure --with-tclinclude= /usr/src/tcl8.4.19/generic/ --with-tclconfig =/usr/local/lib/   #make   #make install 完成,测试   #expect   expect1.1>   expect1.1> 一切OK 来源: https://www.cnblogs.com/evilloop/archive/2011/09/23/2185950

1. Vivado 常用 tcl 命令 &GUI

自古美人都是妖i 提交于 2020-03-07 04:00:08
在 Vivado 中用 tcl 命令非常强大。 例如可以把整个工程导出到.tcl文件,非常方便分发、备份。 1(a).把工程保持成.tcl文件 tcl: write_project_tcl c:/vivado_project/pro.tcl gui: File->Project->Write tcl...,然后选择tcl路径即可。 注意:最好把.tcl中列出的依赖文件(.v, .sdc, .wcfg等)拷贝到.tcl文件的目录下,然后在.tcl文件中修改这些文件的路径,这样整个工程就可以分发了,无需依赖原工程。 # The following source(s) files that were local or imported into the original project. # (Please see the '$orig_proj_dir' and '$origin_dir' variable setting below at the start of the script) # "C:/emac_pcs_pma_udp_test-2019-02-19_final/emac_pcs_pma_udp_test/emac_pcs_pma_udp_test.srcs/sources_1/new/pxi_interface.v" # "C:/emac_pcs_pma_udp

Linux安装Redis,在测试阶段即make test出现“You need tcl 8.5 or newer in order to run the Redis test”问题解决方案

天大地大妈咪最大 提交于 2020-02-27 14:55:01
Linux安装Redis,在测试阶段即make test出现“You need tcl 8.5 or newer in order to run the Redis test”问题解决方案 1 问题分析 You need tcl 8 . 5 or newer in order to run the Redis test 解读:您需要tcl 8.5或更高版本才能运行Redis测试; 言下之意就是您没有安装tcl,要不就是您安装的tcl版本过低。这就需要我们进行tcl新版本的安装。 2 安装tcl(linux系统下) 2.1 下载文件 下载tcl网址 http://www.tcl.tk/software/tcltk/download.html 编译说明网址 http://www.tcl.tk/doc/howto/compile.html#unix 2.2 安装tcl (1)解压文件 sudo tar xzvf tcl8 . 6 . 10 - src . tar . gz - C / usr / local / # 解压你所下载版本(本人下载的是8.6.10)的tcl文件到指定的文件中,本人是解压到usr/local中与redis放在同一目录下 (2)进入指定目录下操作 cd / usr / local / tcl8 . 6 . 10 / unix / (3)依次进行下属终端操作即可

Linux安装Redis,在测试阶段即make test出现“You need tcl 8.5 or newer in order to run the Redis test”问题解决方案

风流意气都作罢 提交于 2020-02-27 14:19:58
Linux安装Redis,在测试阶段即make test出现“You need tcl 8.5 or newer in order to run the Redis test”问题解决方案 1 问题分析 You need tcl 8.5 or newer in order to run the Redis test 解读:您需要tcl 8.5或更高版本才能运行Redis测试; 言下之意就是您没有安装tcl,要不就是您安装的tcl版本过低。这就需要我们进行tcl新版本的安装。 2 安装tcl(linux系统下) 2.1 下载文件 下载tcl网址 http://www.tcl.tk/software/tcltk/download.html 编译说明网址 http://www.tcl.tk/doc/howto/compile.html#unix 2.2 安装tcl (1)解压文件 sudo tar xzvf tcl8.6.10-src.tar.gz -C /usr/local/ # 解压你所下载版本(本人下载的是8.6.10)的tcl文件到指定的文件中,本人是解压到usr/local中与redis放在同一目录下 (2)进入指定目录下操作 cd /usr/local/tcl8.6.10/unix/ (3)依次进行下属终端操作即可,笔者强调一下一定要家 sudo ,否则没有权限进行操作

Tcl与Design Compiler

依然范特西╮ 提交于 2020-02-11 12:39:53
Tcl与Design Compiler (一)——前言 Tcl与Design Compiler (二)——DC综合与Tcl语法结构概述 Tcl与Design Compiler (三)——DC综合的流程 Tcl与Design Compiler (四)——DC启动环境的设置 Tcl与Design Compiler (五)——综合库(时序库)和DC的设计对象 Tcl与Design Compiler (六)——基本的时序路径约束 Tcl与Design Compiler (七)——环境、设计规则和面积约束 Tcl与Design Compiler (八)——DC的逻辑综合与优化 Tcl与Design Compiler (十)——其他的时序约束选项(一) Tcl与Design Compiler (十一)——其他的时序约束选项(二) Tcl与Design Compiler (十二)——综合后处理 Tcl与Design Compiler (十三)——Design Compliler中常用到的命令(示例)总结 来源: CSDN 作者: lionsde 链接: https://blog.csdn.net/lionsde/article/details/104259991