Category Archives: Python

‘cryptography’ package is required for sha256_password or caching_sha2_password auth methods

AWS EC2 上に、MySQLをインストールして、Lambda関数(pytho … Continue reading

Posted in AWS, CDK, Linux, Mac, MySQL, Python, 技術情報 | Leave a comment

Amazon Linux 2023へのpyenv インストール方法

1. インストーラをダウンロードする。 2. ~/.bashrc へPathを設 … Continue reading

Posted in Linux, Python, 技術情報 | Leave a comment

Mac へ Pythonをインストールする方法

MacにPythonをインストールする方法はいくつかあるが、自分はpyenv を … Continue reading

Posted in Linux, Mac, Python, 技術情報 | Leave a comment

cx_Oracle でOracle接続

開発環境が、Windowsで、データベースの文字コードはSJIS。 cx_Ora … Continue reading

Posted in Oracle, Python, 技術情報 | Leave a comment

Ruby と Python と Elixir と。

除算の違い。 [bash] # Ruby puts 3.to_f / 2 #=& … Continue reading

Posted in Elixir, Python, Ruby, 技術情報 | Leave a comment

SVNバックアップスクリプト

[bash] #!/bin/sh # # SVN Repo backup scr … Continue reading

Posted in Python, 技術情報 | Leave a comment

Pythonでシンプルな暗号化

オリジナルの値に適当な数値を足して、16進数にする単純な暗号化と復号化処理。 [ … Continue reading

Posted in Python, 技術情報 | Leave a comment

Windows7でPython3.5環境で cx_Oracleを使う

pythonでOracleへ接続したい。 [python] import cx_ … Continue reading

Posted in Python, 技術情報 | Leave a comment

Windows7でPython3.5環境で python-docxを使う

python-docxを使用しようと思ったが、ライブラリがなくエラー。 http … Continue reading

Posted in Python, 技術情報 | Leave a comment

Windows環境で、pipのプロキシ設定

社内環境のネットワーク内から、pipを試したがうまく行かない。 proxy設定し … Continue reading

Posted in Python, 技術情報 | Leave a comment