You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"payload":{"allShortcutsEnabled":false,"path":"chapter5","repo":{"id":137051352,"defaultBranch":"master","name":"Learn-Robotics-Programming","ownerLogin":"PacktPublishing","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-06-12T09:48:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10974906?v=4","public":true,"private":false,"isOrgOwned":true},"currentUser":null,"refInfo":{"name":"python3","listCacheKey":"v0:1626042720.810682","canEdit":false,"refType":"branch","currentOid":"46d5d0d65364d38043515c6b0c700291e775f0ba"},"tree":{"items":[{"name":"hello.py","path":"chapter5/hello.py","contentType":"file"},{"name":"readme.md","path":"chapter5/readme.md","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"readme.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eUsing sftp to Upload Files From Your PC\u003c/h1\u003e\u003ca id=\"user-content-using-sftp-to-upload-files-from-your-pc\" class=\"anchor\" aria-label=\"Permalink: Using sftp to Upload Files From Your PC\" href=\"#using-sftp-to-upload-files-from-your-pc\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis hello.py is just a sample file, to upload to the Pi using SFTP and then run using python.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eUse Filezilla, or a preferred SFTP client to link to the Pi and send this file to it to get comfortable with SFTP file transfers.\u003c/p\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"Using sftp to Upload Files From Your PC","anchor":"using-sftp-to-upload-files-from-your-pc","htmlText":"Using sftp to Upload Files From Your PC"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FPacktPublishing%2FLearn-Robotics-Programming%2Ftree%2Fpython3%2Fchapter5"}},"totalCount":2,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":"chapter10","path":"chapter10","contentType":"directory"},{"name":"chapter11","path":"chapter11","contentType":"directory"},{"name":"chapter12","path":"chapter12","contentType":"directory"},{"name":"chapter13","path":"chapter13","contentType":"directory"},{"name":"chapter14","path":"chapter14","contentType":"directory"},{"name":"chapter15","path":"chapter15","contentType":"directory"},{"name":"chapter4","path":"chapter4","contentType":"directory"},{"name":"chapter5","path":"chapter5","contentType":"directory"},{"name":"chapter7","path":"chapter7","contentType":"directory"},{"name":"chapter8","path":"chapter8","contentType":"directory"},{"name":"chapter9","path":"chapter9","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".pylintrc","path":".pylintrc","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"}],"totalCount":15}},"fileTreeProcessingTime":8.922447,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/PacktPublishing/Learn-Robotics-Programming/branches":{"post":"fiXe5XgPy7t-bTn2RqPDMb5L7tnOE1co4yuKue1WDsAk_2-O8urJHnuzLr5a2e9ITmXl_CV-QNO03NpD2J-gIw"},"/PacktPublishing/Learn-Robotics-Programming/branches/fetch_and_merge/python3":{"post":"0igkfVLgQRfqPfBaUmvFsQYYlUI_wvWp6UJgRMJ5yOUsvehoUnrWzKydgTRS40V2GdXtvM5ESb1EniK1WCqa3g"},"/PacktPublishing/Learn-Robotics-Programming/branches/fetch_and_merge/python3?discard_changes=true":{"post":"wiEIJsQdzbS5p_tVs3oxfwrVEdcuy35LIz1pAFSPwmg8tMQzxIdab_8Hijuz8rG4FRhpKd9Nwl-O4SvxztyQUw"}}},"title":"Learn-Robotics-Programming/chapter5 at python3 · PacktPublishing/Learn-Robotics-Programming","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}