はツイルはまだウェブの自動化ツールなどの関連ですか?はいの場合、現在維持されていないのはなぜですか?そうでなければ、MechanizeはTwillスタイルのシンプルなスクリプティングをサポートするために成熟しましたか?あるいは、ギャップを埋めるために歩いた別のパッケージがありますか?
Twillを使用してPythonでいくつかのテストスイートを非常に迅速にセットアップできましたが、PythonプログラムでTwillが吐き出す情報にアクセスする方法について少し混乱します。つまり、私はshowforms()を実行し、フォームの値がきれいに表示されていることを確認し、fvを使用してフォームの値を更新して送信することができます。しかし、これらのフォーム値の1つにPython varとしてアクセスするにはどうすればよいですか?
someField1Value = fv("1","someField1")
5
A
答えて
1
ツイルthin shell around the mechanize packageです:どのように私は何かを言うことができます。あなたはそれが積極的に維持されているようには見えないので、私はMechanizeに固執します。
しかし、Mechanizeは、後に続く単純なインターフェイスをサポートしていません。そのためにはChickenfootをお勧めします。
0
この質問は古いですが、Googleで高い評価を受けています。
2014年の正式な綾は、メーリングリストでもかなり死んでいるようです。
https://github.com/zenoss/twill
:はgithubの上のフォークがあります
関連する問題
- 1. 、XHTML <a href="http://validator.w3.org/" rel="nofollow noreferrer">this</a>によると
- 2. 城ウィンザー:<a href="http://mef.codeplex.com/" rel="nofollow">MEF</a>では既存のオブジェクト
- 3. <a href="http://codeforces.com/contest/659/problem/B" rel="nofollow">Problem</a>の配列
- 4. <a href="http://www.sislands.com/coin70/week6/encoder.htm" rel="nofollow">this</a>ページ内のURLパーセントエンコーディング
- 5. <a href="http://www.exampleSite.com/aPage.php" rel="nofollow">http://www.exampleSite.com/aPage.php</a>に正しく
- 6. フラスコ-ログインパッケージは<a href="http://flask.pocoo.org/" rel="nofollow">Flask</a> 0.8で
- 7. <a href="http://www.iol.ie/~murtaghd/stef/service.html" rel="nofollow noreferrer">this page</a>で
- 8. は<a href="http://www.pygame.org/docs/ref/rect.html" rel="nofollow">documentation</a>から何か
- 9. QtWebKit、QWebElement :: setPlainText()問題オンライン<a href="http://doc.trolltech.com/4.6-snapshot/qwebelement.html#setPlainText" rel="nofollow noreferrer">help</a>のQtから
- 10. は、Java用<a href="http://www.magnolia-cms.com/" rel="nofollow">MAGNOLIA</a></p> <p>CMSを使用する
- 11. $アヤックスからstatusCode機能が<a href="http://api.jquery.com/jQuery.ajax/" rel="nofollow">official jQuery doc</a>によるパラメータ
- 12. HybriAuth - Hybriauthライブラリを約<strong><a href="http://hybridauth.sourceforge.net/" rel="nofollow">HybridAuth</a></strong>を話す
- 13. <a href="http://www.yiiframework.com/" rel="nofollow noreferrer">Yii framework</a>とYii <a href="http://www.yiiframework.com/extension/egmap" rel="nofollow noreferrer">egmap extension</a>を使用してインタラクティブマップを作成しています.YYとEGMapの拡張機能(Googleマップ)の更新マップは
- 14. チェック一つのオブジェクトがCodeIgniterのと<a href="http://datamapper.wanwizard.eu/" rel="nofollow">Datamapper</a>を使用してDataMapperの
- 15. plistの欠点? <a href="http://en.wikipedia.org/wiki/Windows_Registry#Criticism" rel="nofollow">Wiki</a>によると
- 16. <a href="http://developer.apple.com/library/mac/#documentation/DeveloperTools/gdb/gdb/gdb_11.html" rel="nofollow">documentation for gdb</a>でGDB
- 17. 私はターミナルで<a href="http://beginrescueend.com/rvm/install/" rel="nofollow">http://beginrescueend.com/rvm/install/</a>と<a href="http://beginrescueend.com/rvm/basics/" rel="nofollow">http://beginrescueend.com/rvm/basics/</a></p> <p>上のすべての指示に従ってきたルビー
- 18. 私は、次の必要とする<a href="https://www.freecodecamp.com" rel="nofollow">FCC</a>でJavaScript
- 19. jqueryのは<a href="http://upload.foobar.com/cgi-bin/upload.cgi" rel="nofollow">http://upload.foobar.com/cgi-bin/upload.cgi</a></p> <p>upload.cgiリターンに<a href="http://foobar.com" rel="nofollow">http://foobar.com</a>アップロードに
- 20. ORMとPHPのアクティブレコードパターン? <a href="http://codeigniter.com/user_guide/database/active_record.html" rel="nofollow noreferrer">http://codeigniter.com/user_guide/database/active_record.html</a>:
- 21. AfxBeginThreadは安全ですか? <a href="http://members.cox.net/doug_web/threads.htm" rel="nofollow">this webpage</a>によると
- 22. モジュロとゼッド・ショーの<a href="http://learnpythonthehardway.org" rel="nofollow">Learn Python the Hard Way</a>(ページ15-16)でPythonの
- 23. <a href="http://www.mysite.com/eblasts/_ire" rel="nofollow">http://www.mysite.com/eblasts/_ire</a></p> <p>からでRewriteBase
- 24. 親URL(「<a href="http://dir.yahoo.com/News_and_Media/" rel="nofollow">http://dir.yahoo.com/News_and_Media/</a>」と言う)を考えると、親URL
- 25. は、私は<a href="http://en.wikipedia.org/wiki/Microsoft_Blend" rel="nofollow noreferrer">Expression Blend</a> 4(<a href="https://en.wikipedia.org/wiki/Windows_Phone" rel="nofollow noreferrer">Windows Phone</a> 7のために)、私は(資産)のすべての行動がロードされている起動すると
- 26. は<a href="http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin_slsqp.html#scipy.optimize.fmin_slsqp" rel="nofollow noreferrer">fmin_slsqp</a>を使ってPython
- 27. ハイライトは、私は次のコードを持っている<a href="https://github.com/mojombo/jekyll" rel="nofollow">jekyll</a></p> <p>で<a href="http://pygments.org/" rel="nofollow">pygments</a>を使用したい
- 28. ハッシュをプリセットするのはいつですか? <a href="http://perldoc.perl.org/perldata.html" rel="nofollow">perldata</a>から
- 29. IE6 - jQueryのUIダイアログ - 次<a href="http://jqueryui.com/demos/dialog/" rel="nofollow">http://jqueryui.com/demos/dialog/</a>状態でのデモオーバーレイ
- 30. Textbelt SMSのAPI - インポッシブル私は "Textbelt" API(<a href="https://github.com/typpo/textbelt" rel="nofollow noreferrer">https://github.com/typpo/textbelt</a>と<a href="http://textbelt.com/" rel="nofollow noreferrer">http://textbelt.com/</a>の詳細情報)にSMSの感謝を送りたいSMS