PS D:\\pmj\\study> git init
Initialized empty Git repository in D:/pmj/study/.git/
PS D:\\pmj\\study> git status
On branch master

No commits yet

nothing to commit (create/copy files and use "git add" to track)
PS D:\\pmj\\study> git add .
PS D:\\pmj\\study> git commit -m "first commit"
On branch master

Initial commit

nothing to commit (create/copy files and use "git add" to track)
PS D:\\pmj\\study> git add README.md
fatal: pathspec 'README.md' did not match any files
PS D:\\pmj\\study> git commit -m "first commit"
On branch master

Initial commit

nothing to commit (create/copy files and use "git add" to track)
PS D:\\pmj\\study> git branch -M main
PS D:\\pmj\\study> git remote add origin <https://github.com/pmj8298/team_study.git>
PS D:\\pmj\\study> git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to '<https://github.com/pmj8298/team_study.git>'
PS D:\\pmj\\study> git init
Reinitialized existing Git repository in D:/pmj/study/.git/
PS D:\\pmj\\study> git commit -m "first commit"
On branch main

Initial commit

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        "\\354\\203\\210 \\355\\205\\215\\354\\212\\244\\355\\212\\270 \\353\\254\\270\\354\\204\\234.txt"

nothing added to commit but untracked files present (use "git add" to track)
PS D:\\pmj\\study> git branch -M main
PS D:\\pmj\\study> git remote add origin <https://github.com/pmj8298/team_study.git>
error: remote origin already exists.
PS D:\\pmj\\study> git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to '<https://github.com/pmj8298/team_study.git>'
PS D:\\pmj\\study> git add .
PS D:\\pmj\\study> git commit -m "first commit"
[main (root-commit) 2f29f4c] first commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 "\\354\\203\\210 \\355\\205\\215\\354\\212\\244\\355\\212\\270 \\353\\254\\270\\354\\204\\234.txt"
PS D:\\pmj\\study> git status
On branch main
nothing to commit, working tree clean
PS D:\\pmj\\study> git branch -M main
PS D:\\pmj\\study>
PS D:\\pmj\\study> git remote add origin <https://github.com/pmj8298/team_study.git>
error: remote origin already exists.
PS D:\\pmj\\study> git push -u origin main
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 16 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 223 bytes | 223.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To <https://github.com/pmj8298/team_study.git>
 * [new branch]      main -> main
branch 'main' set up to track 'origin/main'.
PS D:\\pmj\\study> git status
On branch main
Your branch and 'origin/main' have diverged,
and have 1 and 9 different commits each, respectively.
  (use "git pull" if you want to integrate the remote branch with yours)

All conflicts fixed but you are still merging.
  (use "git commit" to conclude merge)

Changes to be committed:
        new file:   README.md
        new file:   "\\354\\236\\230\\355\\225\\264\\353\\264\\205\\354\\213\\234\\353\\213\\244.txt"

PS D:\\pmj\\study> git add .
PS D:\\pmj\\study> git commit -m "민주푸시"
[main 555b5d9] 민주푸시
PS D:\\pmj\\study> git remote -v
origin  <https://github.com/pmj8298/team_study.git> (fetch)
origin  <https://github.com/pmj8298/team_study.git> (push)
PS D:\\pmj\\study> git push
To <https://github.com/pmj8298/team_study.git>
 ! [rejected]        main -> main (fetch first)
error: failed to push some refs to '<https://github.com/pmj8298/team_study.git>'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
PS D:\\pmj\\study> git push -u origin main
To <https://github.com/pmj8298/team_study.git>
 ! [rejected]        main -> main (fetch first)
error: failed to push some refs to '<https://github.com/pmj8298/team_study.git>'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
PS D:\\pmj\\study> git push
To <https://github.com/pmj8298/team_study.git>
 ! [rejected]        main -> main (fetch first)
error: failed to push some refs to '<https://github.com/pmj8298/team_study.git>'
hint: Updates were rejected because the remote contains work that you do not
hint: have locally. This is usually caused by another repository pushing to
hint: the same ref. If you want to integrate the remote changes, use
hint: 'git pull' before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
PS D:\\pmj\\study> git pull
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 5 (delta 2), reused 2 (delta 1), pack-reused 0 (from 0)
Unpacking objects: 100% (5/5), 1.16 KiB | 169.00 KiB/s, done.
From <https://github.com/pmj8298/team_study>
   96991db..9b27ddd  main       -> origin/main
error: there was a problem with the editor 'vi'
Not committing merge; use 'git commit' to complete the merge.
PS D:\\pmj\\study> git commit -m "민주푸시"
[main 39ff6e4] 민주푸시
PS D:\\pmj\\study> git push
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 16 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 732 bytes | 732.00 KiB/s, done.
Total 6 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (2/2), completed with 1 local object.
To <https://github.com/pmj8298/team_study.git>
   9b27ddd..39ff6e4  main -> main

영화 api: 3e3468b3a00e205420356deb20548cde

study01.ipynb


!pip install qrcode

import qrcode

def qrcode_maker(text,filename='qr.png'):
    qr = qrcode.make(text)
    qr.save(filename)

qrcode_maker('안녕')
# qrcode_maker('<https://github.com/pmj8298/team_study','team_study.png>')

from IPython.display import display ,HTML
from PIL import Image

# image_path = 'team_study.png'
image_path = 'qr.png'
img = Image.open(image_path)
# htmlcode = '<img src ="<https://github.com/pmj8298/team_study>" width=100>'
htmlcode = '<img src ="qr.png" width=100>'
display(HTML(htmlcode))
# display(img)

image.png

이렇게 큐알코드가 생성된다