[過去ログ]
【まず1嫁】くだすれPython(超初心者用) その53 (1002レス)
【まず1嫁】くだすれPython(超初心者用) その53 http://mevius.5ch.net/test/read.cgi/tech/1615846784/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
143: デフォルトの名無しさん [] 2021/03/27(土) 11:59:14.14 ID:tPWOTzAz 以下の辞書内包表記がエラーになります。 どうすればいいでしょうか? import math def normalize_coefficients(n, D): return {(s, i):0.5*math.sqrt(n/s) if s != 0 else (s, i):math.sqrt(n) for (s, i) in D.keys()} http://mevius.5ch.net/test/read.cgi/tech/1615846784/143
191: デフォルトの名無しさん [sage] 2021/04/03(土) 10:03:56.14 ID:6fy7iE1I スクリプト言語はどれもそんなかんじやで! これからもおしあわせに〜 http://mevius.5ch.net/test/read.cgi/tech/1615846784/191
212: デフォルトの名無しさん [sage] 2021/04/04(日) 07:42:27.14 ID:DYzzbk5J >>209 「pngの自動文字起こしアプリ」でファイルアップロードしないの? http://mevius.5ch.net/test/read.cgi/tech/1615846784/212
489: デフォルトの名無しさん [sage] 2021/05/01(土) 07:41:58.14 ID:PUOqmJZW >>483 >488だで うちはtkinterじゃなくてWXつかってるが、>488だで 自分で子孫まるっとあぼんする関数つくって積んでる http://mevius.5ch.net/test/read.cgi/tech/1615846784/489
493: デフォルトの名無しさん [sage] 2021/05/01(土) 13:22:27.14 ID:qiYKVwJr >>492 ありがとうございました。 *.pyでソースを指定したら全部.pycが出来上がり、ノーエラーでした。 試しにwhileの:を削除してみたらSyntaxErrorの指摘が表示されました。 これで安心です。 http://mevius.5ch.net/test/read.cgi/tech/1615846784/493
643: デフォルトの名無しさん [sage] 2021/05/15(土) 11:59:29.14 ID:MlX8dqv4 >>640って>>619なの?なんなの??? http://mevius.5ch.net/test/read.cgi/tech/1615846784/643
782: デフォルトの名無しさん [sage] 2021/05/28(金) 19:36:12.14 ID:OhqLeUvs c=c+1 って書けよ その方が実行速度早いし、つまりセンスある http://mevius.5ch.net/test/read.cgi/tech/1615846784/782
881: デフォルトの名無しさん [] 2021/06/03(木) 22:55:09.14 ID:yQsEsK9g pyenv initが出来ないのですがどうしたらよいかわかりますか? macにpyenvをインストールして.bashrcと.bash_profileに パスを通す書き込みも終えています。 pyenv initをすると下記のエラーが出ます。 # (The below instructions are intended for common # shell setups. See the README for more guidance # if they don't apply and/or don't work for you.) # Add pyenv executable to PATH and # enable shims by adding the following # to ~/.profile: export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" # If your ~/.profile sources ~/.bashrc, # the lines need to be inserted before the part # that does that. See the README for another option. # If you have ~/.bash_profile, make sure that it # also executes the above lines -- e.g. by # copying them there or by sourcing ~/.profile # Load pyenv into the shell by adding # the following to ~/.bashrc: eval "$(pyenv init -)" # Make sure to restart your entire logon session # for changes to profile files to take effect. http://mevius.5ch.net/test/read.cgi/tech/1615846784/881
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.036s