PYTHON COAD PROGRAMMING পাইথন

<data:view.title.escaped/> <![CDATA[/*! normalize.css v3.0.1 | MIT */ /*!************************************************ * Blogger Template Style * Name: Contempo **************************************************/ body{ overflow-wrap:break-word; word-break:break-word; word-wrap:break-word } .hidden{ display:none } .invisible{ visibility:hidden } .container::after,.float-container::after{ clear:both; content:""; display:table } .clearboth{ clear:both } #comments .comment .comment-actions,.subscribe-popup .FollowByEmail .follow-by-email-submit,.widget.Profile .profile-link,.widget.Profile .profile-link.visit-profile{ background:0 0; border:0; box-shadow:none; color:$(body.link.color); cursor:pointer; font-size:14px; font-weight:700; outline:0; text-decoration:none; text-transform:uppercase; width:auto } .dim-overlay{ background-color:rgba(0,0,0,.54); height:100vh; left:0; position:fixed; top:0; width:100% } #sharing-dim-overlay{ background-color:transparent } input::-ms-clear{ display:none } .blogger-logo,.svg-icon-24.blogger-logo{ fill:#ff9800; opacity:1 } .loading-spinner-large{ -webkit-animation:mspin-rotate 1.568s infinite linear; animation:mspin-rotate 1.568s infinite linear; height:48px; overflow:hidden; position:absolute; width:48px; z-index:200 } .loading-spinner-large>div{ -webkit-animation:mspin-revrot 5332ms infinite steps(4); animation:mspin-revrot 5332ms infinite steps(4) } .loading-spinner-large>div>div{ -webkit-animation:mspin-singlecolor-large-film 1333ms infinite steps(81); animation:mspin-singlecolor-large-film 1333ms infinite steps(81); background-size:100%; height:48px; width:3888px } .mspin-black-large>div>div,.mspin-grey_54-large>div>div{ background-image:url(https://www.blogblog.com/indie/mspin_black_large.svg) } .mspin-white-large>div>div{ background-image:url(https://www.blogblog.com/indie/mspin_white_large.svg) } .mspin-grey_54-large{ opacity:.54 } @-webkit-keyframes mspin-singlecolor-large-film{ from{ -webkit-transform:translateX(0); transform:translateX(0) } to{ -webkit-transform:translateX(-3888px); transform:translateX(-3888px) } } @keyframes mspin-singlecolor-large-film{ from{ -webkit-transform:translateX(0); transform:translateX(0) } to{ -webkit-transform:translateX(-3888px); transform:translateX(-3888px) } } @-webkit-keyframes mspin-rotate{ from{ -webkit-transform:rotate(0); transform:rotate(0) } to{ -webkit-transform:rotate(360deg); transform:rotate(360deg) } } @keyframes mspin-rotate{ from{ -webkit-transform:rotate(0); transform:rotate(0) } to{ -webkit-transform:rotate(360deg); transform:rotate(360deg) } } @-webkit-keyframes mspin-revrot{ from{ -webkit-transform:rotate(0); transform:rotate(0) } to{ -webkit-transform:rotate(-360deg); transform:rotate(-360deg) } } @keyframes mspin-revrot{ from{ -webkit-transform:rotate(0); transform:rotate(0) } to{ -webkit-transform:rotate(-360deg); transform:rotate(-360deg) } } .skip-navigation{ background-color:#fff; box-sizing:border-box; color:#000; display:block; height:0; left:0; line-height:50px; overflow:hidden; padding-top:0; position:fixed; text-align:center; top:0; -webkit-transition:box-shadow .3s,height .3s,padding-top .3s; transition:box-shadow .3s,height .3s,padding-top .3s; width:100%; z-index:900 } .skip-navigation:focus{ box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2); height:50px } #main{ outline:0 } .main-heading{ position:absolute; clip:rect(1px,1px,1px,1px); padding:0; border:0; height:1px; width:1px; overflow:hidden } .Attribution{ margin-top:1em; text-align:center } .Attribution .blogger img,.Attribution .blogger svg{ vertical-align:bottom } .Attribution .blogger img{ margin-$endSide:.5em } .Attribution div{ line-height:24px; margin-top:.5em } .Attribution .copyright,.Attribution .image-attribution{ font-size:.7em; margin-top:1.5em } .BLOG_mobile_video_class{ display:none } .bg-photo{ background-attachment:scroll!important } body .CSS_LIGHTBOX{ z-index:900 } .extendable .show-less,.extendable .show-more{ border-color:$(body.link.color); color:$(body.link.color); margin-top:8px } .extendable .show-less.hidden,.extendable .show-more.hidden{ display:none } .inline-ad{ display:none; max-width:100%; overflow:hidden } .adsbygoogle{ display:block } #cookieChoiceInfo{ bottom:0; top:auto } iframe.b-hbp-video{ border:0 } .post-body img{ max-width:100% } .post-body iframe{ max-width:100% } .post-body a[imageanchor="1"]{ display:inline-block } .byline{ margin-$endSide:1em } .byline:last-child{ margin-$endSide:0 } .link-copied-dialog{ max-width:520px; outline:0 } .link-copied-dialog .modal-dialog-buttons{ margin-top:8px } .link-copied-dialog .goog-buttonset-default{ background:0 0; border:0 } .link-copied-dialog .goog-buttonset-default:focus{ outline:0 } .paging-control-container{ margin-bottom:16px } .paging-control-container .paging-control{ display:inline-block } .paging-control-container .comment-range-text::after,.paging-control-container .paging-control{ color:$(body.link.color) } .paging-control-container .comment-range-text,.paging-control-container .paging-control{ margin-$endSide:8px } .paging-control-container .comment-range-text::after,.paging-control-container .paging-control::after{ content:"\b7"; cursor:default; padding-$startSide:8px; pointer-events:none } .paging-control-container .comment-range-text:last-child::after,.paging-control-container .paging-control:last-child::after{ content:none } .byline.reactions iframe{ height:20px } .b-notification{ color:#000; background-color:#fff; border-bottom:solid 1px #000; box-sizing:border-box; padding:16px 32px; text-align:center } .b-notification.visible{ -webkit-transition:margin-top .3s cubic-bezier(.4,0,.2,1); transition:margin-top .3s cubic-bezier(.4,0,.2,1) } .b-notification.invisible{ position:absolute } .b-notification-close{ position:absolute; right:8px; top:8px } .no-posts-message{ line-height:40px; text-align:center } @media screen and (max-width:800px){ body.item-view .post-body a[imageanchor="1"][style*="float: left;"],body.item-view .post-body a[imageanchor="1"][style*="float: right;"]{ float:none!important; clear:none!important } body.item-view .post-body a[imageanchor="1"] img{ display:block; height:auto; margin:0 auto } body.item-view .post-body>.separator:first-child>a[imageanchor="1"]:first-child{ margin-top:20px } .post-body a[imageanchor]{ display:block } body.item-view .post-body a[imageanchor="1"]{ margin-left:0!important; margin-right:0!important } body.item-view .post-body a[imageanchor="1"]+a[imageanchor="1"]{ margin-top:16px } } .item-control{ display:none } #comments{ border-top:1px dashed rgba(0,0,0,.54); margin-top:20px; padding:20px } #comments .comment-thread ol{ margin:0; padding-left:0; padding-$startSide:0 } #comments .comment .comment-replybox-single,#comments .comment-thread .comment-replies{ margin-left:60px } #comments .comment-thread .thread-count{ display:none } #comments .comment{ list-style-type:none; padding:0 0 30px; position:relative } #comments .comment .comment{ padding-bottom:8px } .comment .avatar-image-container{ position:absolute } .comment .avatar-image-container img{ border-radius:50% } .avatar-image-container svg,.comment .avatar-image-container .avatar-icon{ border-radius:50%; border:solid 1px $(posts.icons.color); box-sizing:border-box; fill:$(posts.icons.color); height:35px; margin:0; padding:7px; width:35px } .comment .comment-block{ margin-top:10px; margin-$startSide:60px; padding-bottom:0 } #comments .comment-author-header-wrapper{ margin-left:40px } #comments .comment .thread-expanded .comment-block{ padding-bottom:20px } #comments .comment .comment-header .user,#comments .comment .comment-header .user a{ color:$(posts.title.color); font-style:normal; font-weight:700 } #comments .comment .comment-actions{ bottom:0; margin-bottom:15px; position:absolute } #comments .comment .comment-actions>*{ margin-right:8px } #comments .comment .comment-header .datetime{ bottom:0; color:rgba($(posts.title.color.red),$(posts.title.color.green),$(posts.title.color.blue),.54); display:inline-block; font-size:13px; font-style:italic; margin-$startSide:8px } #comments .comment .comment-footer .comment-timestamp a,#comments .comment .comment-header .datetime a{ color:rgba($(posts.title.color.red),$(posts.title.color.green),$(posts.title.color.blue),.54) } #comments .comment .comment-content,.comment .comment-body{ margin-top:12px; word-break:break-word } .comment-body{ margin-bottom:12px } #comments.embed[data-num-comments="0"]{ border:0; margin-top:0; padding-top:0 } #comments.embed[data-num-comments="0"] #comment-post-message,#comments.embed[data-num-comments="0"] div.comment-form>p,#comments.embed[data-num-comments="0"] p.comment-footer{ display:none } #comment-editor-src{ display:none } .comments .comments-content .loadmore.loaded{ max-height:0; opacity:0; overflow:hidden } .extendable .remaining-items{ height:0; overflow:hidden; -webkit-transition:height .3s cubic-bezier(.4,0,.2,1); transition:height .3s cubic-bezier(.4,0,.2,1) } .extendable .remaining-items.expanded{ height:auto } .svg-icon-24,.svg-icon-24-button{ cursor:pointer; height:24px; width:24px; min-width:24px } .touch-icon{ margin:-12px; padding:12px } .touch-icon:active,.touch-icon:focus{ background-color:rgba(153,153,153,.4); border-radius:50% } svg:not(:root).touch-icon{ overflow:visible } html[dir=rtl] .rtl-reversible-icon{ -webkit-transform:scaleX(-1); -ms-transform:scaleX(-1); transform:scaleX(-1) } .svg-icon-24-button,.touch-icon-button{ background:0 0; border:0; margin:0; outline:0; padding:0 } .touch-icon-button .touch-icon:active,.touch-icon-button .touch-icon:focus{ background-color:transparent } .touch-icon-button:active .touch-icon,.touch-icon-button:focus .touch-icon{ background-color:rgba(153,153,153,.4); border-radius:50% } .Profile .default-avatar-wrapper .avatar-icon{ border-radius:50%; border:solid 1px $(posts.icons.color); box-sizing:border-box; fill:$(posts.icons.color); margin:0 } .Profile .individual .default-avatar-wrapper .avatar-icon{ padding:25px } .Profile .individual .avatar-icon,.Profile .individual .profile-img{ height:120px; width:120px } .Profile .team .default-avatar-wrapper .avatar-icon{ padding:8px } .Profile .team .avatar-icon,.Profile .team .default-avatar-wrapper,.Profile .team .profile-img{ height:40px; width:40px } .snippet-container{ margin:0; position:relative; overflow:hidden } .snippet-fade{ bottom:0; box-sizing:border-box; position:absolute; width:96px } .snippet-fade{ $endSide:0 } .snippet-fade:after{ content:"\2026" } .snippet-fade:after{ float:$endSide } .post-bottom{ -webkit-box-align:center; -webkit-align-items:center; -ms-flex-align:center; align-items:center; display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap } .post-footer{ -webkit-box-flex:1; -webkit-flex:1 1 auto; -ms-flex:1 1 auto; flex:1 1 auto; -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap; -webkit-box-ordinal-group:2; -webkit-order:1; -ms-flex-order:1; order:1 } .post-footer>*{ -webkit-box-flex:0; -webkit-flex:0 1 auto; -ms-flex:0 1 auto; flex:0 1 auto } .post-footer .byline:last-child{ margin-$endSide:1em } .jump-link{ -webkit-box-flex:0; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto; -webkit-box-ordinal-group:3; -webkit-order:2; -ms-flex-order:2; order:2 } .centered-top-container.sticky{ left:0; position:fixed; right:0; top:0; width:auto; z-index:50; -webkit-transition-property:opacity,-webkit-transform; transition-property:opacity,-webkit-transform; transition-property:transform,opacity; transition-property:transform,opacity,-webkit-transform; -webkit-transition-duration:.2s; transition-duration:.2s; -webkit-transition-timing-function:cubic-bezier(.4,0,.2,1); transition-timing-function:cubic-bezier(.4,0,.2,1) } .centered-top-placeholder{ display:none } .collapsed-header .centered-top-placeholder{ display:block } .centered-top-container .Header .replaced h1,.centered-top-placeholder .Header .replaced h1{ display:none } .centered-top-container.sticky .Header .replaced h1{ display:block } .centered-top-container.sticky .Header .header-widget{ background:0 0 } .centered-top-container.sticky .Header .header-image-wrapper{ display:none } .centered-top-container img,.centered-top-placeholder img{ max-width:100% } .collapsible{ -webkit-transition:height .3s cubic-bezier(.4,0,.2,1); transition:height .3s cubic-bezier(.4,0,.2,1) } .collapsible,.collapsible>summary{ display:block; overflow:hidden } .collapsible>:not(summary){ display:none } .collapsible[open]>:not(summary){ display:block } .collapsible:focus,.collapsible>summary:focus{ outline:0 } .collapsible>summary{ cursor:pointer; display:block; padding:0 } .collapsible:focus>summary,.collapsible>summary:focus{ background-color:transparent } .collapsible>summary::-webkit-details-marker{ display:none } .collapsible-title{ -webkit-box-align:center; -webkit-align-items:center; -ms-flex-align:center; align-items:center; display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex } .collapsible-title .title{ -webkit-box-flex:1; -webkit-flex:1 1 auto; -ms-flex:1 1 auto; flex:1 1 auto; -webkit-box-ordinal-group:1; -webkit-order:0; -ms-flex-order:0; order:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap } .collapsible-title .chevron-down,.collapsible[open] .collapsible-title .chevron-up{ display:block } .collapsible-title .chevron-up,.collapsible[open] .collapsible-title .chevron-down{ display:none } .flat-button{ cursor:pointer; display:inline-block; font-weight:700; text-transform:uppercase; border-radius:2px; padding:8px; margin:-8px } .flat-icon-button{ background:0 0; border:0; margin:0; outline:0; padding:0; margin:-12px; padding:12px; cursor:pointer; box-sizing:content-box; display:inline-block; line-height:0 } .flat-icon-button,.flat-icon-button .splash-wrapper{ border-radius:50% } .flat-icon-button .splash.animate{ -webkit-animation-duration:.3s; animation-duration:.3s } .overflowable-container{ max-height:$(body.text.font.size * 1.2 + 2 * 8px + 2 * 4px + 4px); overflow:hidden; position:relative } .overflow-button{ cursor:pointer } #overflowable-dim-overlay{ background:0 0 } .overflow-popup{ box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); background-color:$(tabs.overflow.background.color); left:0; max-width:calc(100% - 32px); position:absolute; top:0; visibility:hidden; z-index:101 } .overflow-popup ul{ list-style:none } .overflow-popup .tabs li,.overflow-popup li{ display:block; height:auto } .overflow-popup .tabs li{ padding-left:0; padding-right:0 } .overflow-button.hidden,.overflow-popup .tabs li.hidden,.overflow-popup li.hidden{ display:none } .pill-button{ background:0 0; border:1px solid; border-radius:12px; cursor:pointer; display:inline-block; padding:4px 16px; text-transform:uppercase } .ripple{ position:relative } .ripple>*{ z-index:1 } .splash-wrapper{ bottom:0; left:0; overflow:hidden; pointer-events:none; position:absolute; right:0; top:0; z-index:0 } .splash{ background:#ccc; border-radius:100%; display:block; opacity:.6; position:absolute; -webkit-transform:scale(0); -ms-transform:scale(0); transform:scale(0) } .splash.animate{ -webkit-animation:ripple-effect .4s linear; animation:ripple-effect .4s linear } @-webkit-keyframes ripple-effect{ 100%{ opacity:0; -webkit-transform:scale(2.5); transform:scale(2.5) } } @keyframes ripple-effect{ 100%{ opacity:0; -webkit-transform:scale(2.5); transform:scale(2.5) } } .search{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; line-height:24px; width:24px } .search.focused{ width:100% } .search.focused .section{ width:100% } .search form{ z-index:101 } .search h3{ display:none } .search form{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; -webkit-box-flex:1; -webkit-flex:1 0 0; -ms-flex:1 0 0px; flex:1 0 0; border-bottom:solid 1px transparent; padding-bottom:8px } .search form>*{ display:none } .search.focused form>*{ display:block } .search .search-input label{ display:none } .centered-top-placeholder.cloned .search form{ z-index:30 } .search.focused form{ border-color:$(blog.title.color); position:relative; width:auto } .collapsed-header .centered-top-container .search.focused form{ border-bottom-color:transparent } .search-expand{ -webkit-box-flex:0; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto } .search-expand-text{ display:none } .search-close{ display:inline; vertical-align:middle } .search-input{ -webkit-box-flex:1; -webkit-flex:1 0 1px; -ms-flex:1 0 1px; flex:1 0 1px } .search-input input{ background:0 0; border:0; box-sizing:border-box; color:$(blog.title.color); display:inline-block; outline:0; width:calc(100% - 48px) } .search-input input.no-cursor{ color:transparent; text-shadow:0 0 0 $(blog.title.color) } .collapsed-header .centered-top-container .search-action,.collapsed-header .centered-top-container .search-input input{ color:$(posts.title.color) } .collapsed-header .centered-top-container .search-input input.no-cursor{ color:transparent; text-shadow:0 0 0 $(posts.title.color) } .collapsed-header .centered-top-container .search-input input.no-cursor:focus,.search-input input.no-cursor:focus{ outline:0 } .search-focused>*{ visibility:hidden } .search-focused .search,.search-focused .search-icon{ visibility:visible } .search.focused .search-action{ display:block } .search.focused .search-action:disabled{ opacity:.3 } .widget.Sharing .sharing-button{ display:none } .widget.Sharing .sharing-buttons li{ padding:0 } .widget.Sharing .sharing-buttons li span{ display:none } .post-share-buttons{ position:relative } .centered-bottom .share-buttons .svg-icon-24,.share-buttons .svg-icon-24{ fill:$(sharing.icons.color) } .sharing-open.touch-icon-button:active .touch-icon,.sharing-open.touch-icon-button:focus .touch-icon{ background-color:transparent } .share-buttons{ background-color:$(sharing.background.color); border-radius:2px; box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); color:$(sharing.text.color); list-style:none; margin:0; padding:8px 0; position:absolute; top:-11px; min-width:200px; z-index:101 } .share-buttons.hidden{ display:none } .sharing-button{ background:0 0; border:0; margin:0; outline:0; padding:0; cursor:pointer } .share-buttons li{ margin:0; height:48px } .share-buttons li:last-child{ margin-bottom:0 } .share-buttons li .sharing-platform-button{ box-sizing:border-box; cursor:pointer; display:block; height:100%; margin-bottom:0; padding:0 16px; position:relative; width:100% } .share-buttons li .sharing-platform-button:focus,.share-buttons li .sharing-platform-button:hover{ background-color:rgba(128,128,128,.1); outline:0 } .share-buttons li svg[class*=" sharing-"],.share-buttons li svg[class^=sharing-]{ position:absolute; top:10px } .share-buttons li span.sharing-platform-button{ position:relative; top:0 } .share-buttons li .platform-sharing-text{ display:block; font-size:16px; line-height:48px; white-space:nowrap } .share-buttons li .platform-sharing-text{ margin-$startSide:56px } .sidebar-container{ background-color:$(sidebar.backgroundColorBottom); max-width:$(sidebar.width); overflow-y:auto; -webkit-transition-property:-webkit-transform; transition-property:-webkit-transform; transition-property:transform; transition-property:transform,-webkit-transform; -webkit-transition-duration:.3s; transition-duration:.3s; -webkit-transition-timing-function:cubic-bezier(0,0,.2,1); transition-timing-function:cubic-bezier(0,0,.2,1); width:$(sidebar.width); z-index:101; -webkit-overflow-scrolling:touch } .sidebar-container .navigation{ line-height:0; padding:16px } .sidebar-container .sidebar-back{ cursor:pointer } .sidebar-container .widget{ background:0 0; margin:0 16px; padding:16px 0 } .sidebar-container .widget .title{ color:$(widget.title.color); margin:0 } .sidebar-container .widget ul{ list-style:none; margin:0; padding:0 } .sidebar-container .widget ul ul{ margin-$startSide:1em } .sidebar-container .widget li{ font-size:16px; line-height:normal } .sidebar-container .widget+.widget{ border-top:1px dashed $(sidebar.separator.color) } .BlogArchive li{ margin:16px 0 } .BlogArchive li:last-child{ margin-bottom:0 } .Label li a{ display:inline-block } .BlogArchive .post-count,.Label .label-count{ float:$endSide; margin-$startSide:.25em } .BlogArchive .post-count::before,.Label .label-count::before{ content:"(" } .BlogArchive .post-count::after,.Label .label-count::after{ content:")" } .widget.Translate .skiptranslate>div{ display:block!important } .widget.Profile .profile-link{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex } .widget.Profile .team-member .default-avatar-wrapper,.widget.Profile .team-member .profile-img{ -webkit-box-flex:0; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto; margin-$endSide:1em } .widget.Profile .individual .profile-link{ -webkit-box-orient:vertical; -webkit-box-direction:normal; -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column } .widget.Profile .team .profile-link .profile-name{ -webkit-align-self:center; -ms-flex-item-align:center; align-self:center; display:block; -webkit-box-flex:1; -webkit-flex:1 1 auto; -ms-flex:1 1 auto; flex:1 1 auto } .dim-overlay{ background-color:rgba(0,0,0,.54); z-index:100 } body.sidebar-visible{ overflow-y:hidden } @media screen and (max-width:$(sidebar.width + content.width + content.margin * 2 - 1px)){ .sidebar-container{ bottom:0; position:fixed; top:0; left:0; right:auto } .sidebar-container.sidebar-invisible{ -webkit-transition-timing-function:cubic-bezier(.4,0,.6,1); transition-timing-function:cubic-bezier(.4,0,.6,1); -webkit-transform:translateX($(sidebar.width * -1)); -ms-transform:translateX($(sidebar.width * -1)); transform:translateX($(sidebar.width * -1)) } } @media screen and (min-width:$(sidebar.width + content.width + content.margin * 2)){ .sidebar-container{ position:absolute; top:0; left:0; right:auto } .sidebar-container .navigation{ display:none } } .dialog{ box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12); background:$(posts.background.color); box-sizing:border-box; color:$(body.text.color); padding:30px; position:fixed; text-align:center; width:calc(100% - 24px); z-index:101 } .dialog input[type=email],.dialog input[type=text]{ background-color:transparent; border:0; border-bottom:solid 1px rgba($(body.text.color.red),$(body.text.color.green),$(body.text.color.blue),.12); color:$(body.text.color); display:block; font-family:$(body.text.font.family); font-size:16px; line-height:24px; margin:auto; padding-bottom:7px; outline:0; text-align:center; width:100% } .dialog input[type=email]::-webkit-input-placeholder,.dialog input[type=text]::-webkit-input-placeholder{ color:$(body.text.color) } .dialog input[type=email]::-moz-placeholder,.dialog input[type=text]::-moz-placeholder{ color:$(body.text.color) } .dialog input[type=email]:-ms-input-placeholder,.dialog input[type=text]:-ms-input-placeholder{ color:$(body.text.color) } .dialog input[type=email]::-ms-input-placeholder,.dialog input[type=text]::-ms-input-placeholder{ color:$(body.text.color) } .dialog input[type=email]::placeholder,.dialog input[type=text]::placeholder{ color:$(body.text.color) } .dialog input[type=email]:focus,.dialog input[type=text]:focus{ border-bottom:solid 2px $(body.link.color); padding-bottom:6px } .dialog input.no-cursor{ color:transparent; text-shadow:0 0 0 $(body.text.color) } .dialog input.no-cursor:focus{ outline:0 } .dialog input.no-cursor:focus{ outline:0 } .dialog input[type=submit]{ font-family:$(body.text.font.family) } .dialog .goog-buttonset-default{ color:$(body.link.color) } .subscribe-popup{ max-width:364px } .subscribe-popup h3{ color:$(posts.title.color); font-size:1.8em; margin-top:0 } .subscribe-popup .FollowByEmail h3{ display:none } .subscribe-popup .FollowByEmail .follow-by-email-submit{ color:$(body.link.color); display:inline-block; margin:0 auto; margin-top:24px; width:auto; white-space:normal } .subscribe-popup .FollowByEmail .follow-by-email-submit:disabled{ cursor:default; opacity:.3 } @media (max-width:800px){ .blog-name div.widget.Subscribe{ margin-bottom:16px } body.item-view .blog-name div.widget.Subscribe{ margin:8px auto 16px auto; width:100% } } .tabs{ list-style:none } .tabs li{ display:inline-block } .tabs li a{ cursor:pointer; display:inline-block; font-weight:700; text-transform:uppercase; padding:12px 8px } .tabs .selected{ border-bottom:4px solid $(tabs.selected.color) } .tabs .selected a{ color:$(tabs.selected.color) } body#layout .bg-photo,body#layout .bg-photo-overlay{ display:none } body#layout .page_body{ padding:0; position:relative; top:0 } body#layout .page{ display:inline-block; left:inherit; position:relative; vertical-align:top; width:540px } body#layout .centered{ max-width:954px } body#layout .navigation{ display:none } body#layout .sidebar-container{ display:inline-block; width:40% } body#layout .hamburger-menu,body#layout .search{ display:none } .centered-top-container .svg-icon-24,body.collapsed-header .centered-top-placeholder .svg-icon-24{ fill:$(header.icons.color) } .sidebar-container .svg-icon-24{ fill:$(sidebar.icons.color) } .centered-bottom .svg-icon-24,body.collapsed-header .centered-top-container .svg-icon-24{ fill:$(posts.icons.color) } .centered-bottom .share-buttons .svg-icon-24,.share-buttons .svg-icon-24{ fill:$(sharing.icons.color) } body{ background-color:$(body.background.color); color:$(body.text.color); font:$(body.text.font); margin:0; min-height:100vh } img{ max-width:100% } h3{ color:$(body.text.color); font-size:16px } a{ text-decoration:none; color:$(body.link.color) } a:visited{ color:$(body.link.visited.color) } a:hover{ color:$(body.link.hover.color) } blockquote{ color:$(blockquote.color); font:$(blockquote.font); font-size:x-large; text-align:center } .pill-button{ font-size:12px } .bg-photo-container{ height:$(body.background.height); overflow:hidden; position:absolute; width:100%; z-index:1 } .bg-photo{ background:$(body.background); background-attachment:scroll; background-size:cover; -webkit-filter:blur($(body.background.blur)); filter:blur($(body.background.blur)); height:calc(100% + 2 * $(body.background.blur)); left:$(0 - body.background.blur); position:absolute; top:$(0 - body.background.blur); width:calc(100% + 2 * $(body.background.blur)) } .bg-photo-overlay{ background:rgba(0,0,0,.26); background-size:cover; height:$(body.background.height); position:absolute; width:100%; z-index:2 } .hamburger-menu{ float:left; margin-top:0 } .sticky .hamburger-menu{ float:none; position:absolute } .search{ border-bottom:solid 1px $(blog.title.color.transparent); float:right; position:relative; -webkit-transition-property:width; transition-property:width; -webkit-transition-duration:.5s; transition-duration:.5s; -webkit-transition-timing-function:cubic-bezier(.4,0,.2,1); transition-timing-function:cubic-bezier(.4,0,.2,1); z-index:101 } .search .dim-overlay{ background-color:transparent } .search form{ height:36px; -webkit-transition-property:border-color; transition-property:border-color; -webkit-transition-delay:.5s; transition-delay:.5s; -webkit-transition-duration:.2s; transition-duration:.2s; -webkit-transition-timing-function:cubic-bezier(.4,0,.2,1); transition-timing-function:cubic-bezier(.4,0,.2,1) } .search.focused{ width:calc(100% - 48px) } .search.focused form{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; -webkit-box-flex:1; -webkit-flex:1 0 1px; -ms-flex:1 0 1px; flex:1 0 1px; border-color:$(blog.title.color); margin-$startSide:-24px; padding-$startSide:36px; position:relative; width:auto } .item-view .search,.sticky .search{ $endSide:0; float:none; margin-left:0; position:absolute } .item-view .search.focused,.sticky .search.focused{ width:calc(100% - 50px) } .item-view .search.focused form,.sticky .search.focused form{ border-bottom-color:$(posts.text.color) } .centered-top-placeholder.cloned .search form{ z-index:30 } .search_button{ -webkit-box-flex:0; -webkit-flex:0 0 24px; -ms-flex:0 0 24px; flex:0 0 24px; -webkit-box-orient:vertical; -webkit-box-direction:normal; -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column } .search_button svg{ margin-top:0 } .search-input{ height:48px } .search-input input{ display:block; color:$(search.input.color); font:$(search.input.font); height:48px; line-height:48px; padding:0; width:100% } .search-input input::-webkit-input-placeholder{ color:$(search.placeholder.color); opacity:.3 } .search-input input::-moz-placeholder{ color:$(search.placeholder.color); opacity:.3 } .search-input input:-ms-input-placeholder{ color:$(search.placeholder.color); opacity:.3 } .search-input input::-ms-input-placeholder{ color:$(search.placeholder.color); opacity:.3 } .search-input input::placeholder{ color:$(search.placeholder.color); opacity:.3 } .search-action{ background:0 0; border:0; color:$(blog.title.color); cursor:pointer; display:none; height:48px; margin-top:0 } .sticky .search-action{ color:$(posts.text.color) } .search.focused .search-action{ display:block } .search.focused .search-action:disabled{ opacity:.3 } .page_body{ position:relative; z-index:20 } .page_body .widget{ margin-bottom:16px } .page_body .centered{ box-sizing:border-box; display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; -webkit-box-orient:vertical; -webkit-box-direction:normal; -webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column; margin:0 auto; max-width:$(content.width); min-height:100vh; padding:24px 0 } .page_body .centered>*{ -webkit-box-flex:0; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto } .page_body .centered>#footer{ margin-top:auto } .blog-name{ margin:24px 0 16px 0 } .item-view .blog-name,.sticky .blog-name{ box-sizing:border-box; margin-left:36px; min-height:48px; opacity:1; padding-top:12px } .blog-name .subscribe-section-container{ margin-bottom:32px; text-align:center; -webkit-transition-property:opacity; transition-property:opacity; -webkit-transition-duration:.5s; transition-duration:.5s } .item-view .blog-name .subscribe-section-container,.sticky .blog-name .subscribe-section-container{ margin:0 0 8px 0 } .blog-name .PageList{ margin-top:16px; padding-top:8px; text-align:center } .blog-name .PageList .overflowable-contents{ width:100% } .blog-name .PageList h3.title{ color:$(blog.title.color); margin:8px auto; text-align:center; width:100% } .centered-top-container .blog-name{ -webkit-transition-property:opacity; transition-property:opacity; -webkit-transition-duration:.5s; transition-duration:.5s } .item-view .return_link{ margin-bottom:12px; margin-top:12px; position:absolute } .item-view .blog-name{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap; margin:0 48px 27px 48px } .item-view .subscribe-section-container{ -webkit-box-flex:0; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto } .item-view #header,.item-view .Header{ margin-bottom:5px; margin-right:15px } .item-view .sticky .Header{ margin-bottom:0 } .item-view .Header p{ margin:10px 0 0 0; text-align:left } .item-view .post-share-buttons-bottom{ margin-$endSide:16px } .sticky{ background:$(posts.background.color); box-shadow:0 0 20px 0 rgba(0,0,0,.7); box-sizing:border-box; margin-left:0 } .sticky #header{ margin-bottom:8px; margin-$endSide:8px } .sticky .centered-top{ margin:4px auto; max-width:$(content.width - 32px); min-height:48px } .sticky .blog-name{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; margin:0 48px } .sticky .blog-name #header{ -webkit-box-flex:0; -webkit-flex:0 1 auto; -ms-flex:0 1 auto; flex:0 1 auto; -webkit-box-ordinal-group:2; -webkit-order:1; -ms-flex-order:1; order:1; overflow:hidden } .sticky .blog-name .subscribe-section-container{ -webkit-box-flex:0; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto; -webkit-box-ordinal-group:3; -webkit-order:2; -ms-flex-order:2; order:2 } .sticky .Header h1{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin-$endSide:-10px; margin-bottom:-10px; padding-$endSide:10px; padding-bottom:10px } .sticky .Header p{ display:none } .sticky .PageList{ display:none } .search-focused>*{ visibility:visible } .search-focused .hamburger-menu{ visibility:visible } .item-view .search-focused .blog-name,.sticky .search-focused .blog-name{ opacity:0 } .centered-bottom,.centered-top-container,.centered-top-placeholder{ padding:0 16px } .centered-top{ position:relative } .item-view .centered-top.search-focused .subscribe-section-container,.sticky .centered-top.search-focused .subscribe-section-container{ opacity:0 } .page_body.has-vertical-ads .centered .centered-bottom{ display:inline-block; width:calc(100% - 176px) } .Header h1{ color:$(blog.title.color); font:$(blog.title.font); line-height:normal; margin:0 0 13px 0; text-align:center; width:100% } .Header h1 a,.Header h1 a:hover,.Header h1 a:visited{ color:$(blog.title.color) } .item-view .Header h1,.sticky .Header h1{ font-size:24px; line-height:24px; margin:0; text-align:left } .sticky .Header h1{ color:$(posts.text.color) } .sticky .Header h1 a,.sticky .Header h1 a:hover,.sticky .Header h1 a:visited{ color:$(posts.text.color) } .Header p{ color:$(blog.title.color); margin:0 0 13px 0; opacity:.8; text-align:center } .widget .title{ line-height:28px } .BlogArchive li{ font-size:16px } .BlogArchive .post-count{ color:$(posts.text.color) } #page_body .FeaturedPost,.Blog .blog-posts .post-outer-container{ background:$(posts.background.color); min-height:40px; padding:30px 40px; width:auto } .Blog .blog-posts .post-outer-container:last-child{ margin-bottom:0 } .Blog .blog-posts .post-outer-container .post-outer{ border:0; position:relative; padding-bottom:.25em } .post-outer-container{ margin-bottom:16px } .post:first-child{ margin-top:0 } .post .thumb{ float:left; height:20%; width:20% } .post-share-buttons-bottom,.post-share-buttons-top{ float:$(endSide) } .post-share-buttons-bottom{ margin-$endSide:24px } .post-footer,.post-header{ clear:$(startSide); color:$(posts.byline.color); margin:0; width:inherit } .blog-pager{ text-align:center } .blog-pager a{ color:$(posts.navigation.link.color) } .blog-pager a:visited{ color:$(posts.navigation.link.visited.color) } .blog-pager a:hover{ color:$(posts.navigation.link.hover.color) } .post-title{ font:$(posts.title.font); float:$(startSide); margin:0 0 8px 0; max-width:calc(100% - 48px) } .post-title a{ font:$(posts.stream.title.font) } .post-title,.post-title a,.post-title a:hover,.post-title a:visited{ color:$(posts.title.color) } .post-body{ color:$(posts.text.color); font:$(posts.text.font); line-height:1.6em; margin:1.5em 0 2em 0; display:block } .post-body img{ height:inherit } .post-body .snippet-thumbnail{ float:$(startSide); margin:0; margin-$endSide:2em; max-height:128px; max-width:128px } .post-body .snippet-thumbnail img{ max-width:100% } .main .FeaturedPost .widget-content{ border:0; position:relative; padding-bottom:.25em } .FeaturedPost img{ margin-top:2em } .FeaturedPost .snippet-container{ margin:2em 0 } .FeaturedPost .snippet-container p{ margin:0 } .FeaturedPost .snippet-thumbnail{ float:none; height:auto; margin-bottom:2em; margin-$endSide:0; overflow:hidden; max-height:calc(600px + 2em); max-width:100%; text-align:center; width:100% } .FeaturedPost .snippet-thumbnail img{ max-width:100%; width:100% } .byline{ color:$(posts.byline.color); display:inline-block; line-height:24px; margin-top:8px; vertical-align:top } .byline.post-author:first-child{ margin-$endSide:0 } .byline.reactions .reactions-label{ line-height:22px; vertical-align:top } .byline.post-share-buttons{ position:relative; display:inline-block; margin-top:0; width:100% } .byline.post-share-buttons .sharing{ float:$(endSide) } .flat-button.ripple:hover{ background-color:rgba($(body.link.color.red),$(body.link.color.green),$(body.link.color.blue),.12) } .flat-button.ripple .splash{ background-color:rgba($(body.link.color.red),$(body.link.color.green),$(body.link.color.blue),.4) } a.timestamp-link,a:active.timestamp-link,a:visited.timestamp-link{ color:inherit; font:inherit; text-decoration:inherit } .post-share-buttons{ margin-left:0 } .clear-sharing{ min-height:24px } .comment-link{ color:$(body.link.color); position:relative } .comment-link .num_comments{ margin-left:8px; vertical-align:top } #comment-holder .continue{ display:none } #comment-editor{ margin-bottom:20px; margin-top:20px } #comments .comment-form h4,#comments h3.title{ position:absolute; clip:rect(1px,1px,1px,1px); padding:0; border:0; height:1px; width:1px; overflow:hidden } .post-filter-message{ background-color:rgba(0,0,0,.7); color:#fff; display:table; margin-bottom:16px; width:100% } .post-filter-message div{ display:table-cell; padding:15px 28px } .post-filter-message div:last-child{ padding-$startSide:0; text-align:$(endSide) } .post-filter-message a{ white-space:nowrap } .post-filter-message .search-label,.post-filter-message .search-query{ font-weight:700; color:$(body.link.color) } #blog-pager{ margin:2em 0 } #blog-pager a{ color:$(attribution.link.color); font-size:14px } .subscribe-button{ border-color:$(blog.title.color); color:$(blog.title.color) } .sticky .subscribe-button{ border-color:$(posts.text.color); color:$(posts.text.color) } .tabs{ margin:0 auto; padding:0 } .tabs li{ margin:0 8px; vertical-align:top } .tabs .overflow-button a,.tabs li a{ color:$(tabs.color); font:$(tabs.font); line-height:$(body.text.font.size * 1.2) } .tabs .overflow-button a{ padding:12px 8px } .overflow-popup .tabs li{ text-align:left } .overflow-popup li a{ color:$(tabs.overflow.color); display:block; padding:8px 20px } .overflow-popup li.selected a{ color:$(tabs.overflow.selected.color) } a.report_abuse{ font-weight:400 } .Label li,.Label span.label-size,.byline.post-labels a{ background-color:$(labels.background.color); border:1px solid $(labels.background.color); border-radius:15px; display:inline-block; margin:4px 4px 4px 0; padding:3px 8px } .Label a,.byline.post-labels a{ color:$(labels.text.color) } .Label ul{ list-style:none; padding:0 } .PopularPosts{ background-color:$(popularposts.background.color); padding:30px 40px } .PopularPosts .item-content{ color:$(popularposts.text.color); margin-top:24px } .PopularPosts a,.PopularPosts a:hover,.PopularPosts a:visited{ color:$(popularposts.link.color) } .PopularPosts .post-title,.PopularPosts .post-title a,.PopularPosts .post-title a:hover,.PopularPosts .post-title a:visited{ color:$(popularposts.title.color); font-size:18px; font-weight:700; line-height:24px } .PopularPosts,.PopularPosts h3.title a{ color:$(posts.text.color); font:$(posts.text.font) } .main .PopularPosts{ padding:16px 40px } .PopularPosts h3.title{ font-size:14px; margin:0 } .PopularPosts h3.post-title{ margin-bottom:0 } .PopularPosts .byline{ color:$(popularposts.byline.color) } .PopularPosts .jump-link{ float:$(endSide); margin-top:16px } .PopularPosts .post-header .byline{ font-size:.9em; font-style:italic; margin-top:6px } .PopularPosts ul{ list-style:none; padding:0; margin:0 } .PopularPosts .post{ padding:20px 0 } .PopularPosts .post+.post{ border-top:1px dashed $(sidebar.separator.color) } .PopularPosts .item-thumbnail{ float:$(startSide); margin-$endSide:32px } .PopularPosts .item-thumbnail img{ height:88px; padding:0; width:88px } .inline-ad{ margin-bottom:16px } .desktop-ad .inline-ad{ display:block } .adsbygoogle{ overflow:hidden } .vertical-ad-container{ float:$(endSide); margin-$endSide:16px; width:128px } .vertical-ad-container .AdSense+.AdSense{ margin-top:16px } .inline-ad-placeholder,.vertical-ad-placeholder{ background:$(posts.background.color); border:1px solid #000; opacity:.9; vertical-align:middle; text-align:center } .inline-ad-placeholder span,.vertical-ad-placeholder span{ margin-top:290px; display:block; text-transform:uppercase; font-weight:700; color:$(posts.title.color) } .vertical-ad-placeholder{ height:600px } .vertical-ad-placeholder span{ margin-top:290px; padding:0 40px } .inline-ad-placeholder{ height:90px } .inline-ad-placeholder span{ margin-top:36px } .Attribution{ color:$(attribution.text.color) } .Attribution a,.Attribution a:hover,.Attribution a:visited{ color:$(attribution.link.color) } .Attribution svg{ fill:$(attribution.icon.color) } .sidebar-container{ box-shadow:1px 1px 3px rgba(0,0,0,.1) } .sidebar-container,.sidebar-container .sidebar_bottom{ background-color:$(sidebar.backgroundColorBottom) } .sidebar-container .navigation,.sidebar-container .sidebar_top_wrapper{ background-color:$(sidebar.backgroundColorTop) } .sidebar-container .sidebar_top{ overflow:auto } .sidebar-container .sidebar_bottom{ width:100%; padding-top:16px } .sidebar-container .widget:first-child{ padding-top:0 } .sidebar_top .widget.Profile{ padding-bottom:16px } .widget.Profile{ margin:0; width:100% } .widget.Profile h2{ display:none } .widget.Profile h3.title{ color:$(profile.title.color); margin:16px 32px } .widget.Profile .individual{ text-align:center } .widget.Profile .individual .profile-link{ padding:1em } .widget.Profile .individual .default-avatar-wrapper .avatar-icon{ margin:auto } .widget.Profile .team{ margin-bottom:32px; margin-left:32px; margin-right:32px } .widget.Profile ul{ list-style:none; padding:0 } .widget.Profile li{ margin:10px 0 } .widget.Profile .profile-img{ border-radius:50%; float:none } .widget.Profile .profile-link{ color:$(profile.link.color); font-size:.9em; margin-bottom:1em; opacity:.87; overflow:hidden } .widget.Profile .profile-link.visit-profile{ border-style:solid; border-width:1px; border-radius:12px; cursor:pointer; font-size:12px; font-weight:400; padding:5px 20px; display:inline-block; line-height:normal } .widget.Profile dd{ color:$(profile.text.color); margin:0 16px } .widget.Profile location{ margin-bottom:1em } .widget.Profile .profile-textblock{ font-size:14px; line-height:24px; position:relative } body.sidebar-visible .page_body{ overflow-y:scroll } body.sidebar-visible .bg-photo-container{ overflow-y:scroll } @media screen and (min-width:$(sidebar.width + content.width + content.margin * 2)){ .sidebar-container{ margin-top:$(body.background.height); min-height:calc(100% - $(body.background.height)); overflow:visible; z-index:32 } .sidebar-container .sidebar_top_wrapper{ background-color:$(sidebar.backgroundColorTopHD); height:$(body.background.height); margin-top:$(body.background.height * -1) } .sidebar-container .sidebar_top{ display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; height:$(body.background.height); -webkit-box-orient:horizontal; -webkit-box-direction:normal; -webkit-flex-direction:row; -ms-flex-direction:row; flex-direction:row; max-height:$(body.background.height) } .sidebar-container .sidebar_bottom{ max-width:$(sidebar.width); width:$(sidebar.width) } body.collapsed-header .sidebar-container{ z-index:15 } .sidebar-container .sidebar_top:empty{ display:none } .sidebar-container .sidebar_top>:only-child{ -webkit-box-flex:0; -webkit-flex:0 0 auto; -ms-flex:0 0 auto; flex:0 0 auto; -webkit-align-self:center; -ms-flex-item-align:center; align-self:center; width:100% } .sidebar_top_wrapper.no-items{ display:none } } .post-snippet.snippet-container{ max-height:120px } .post-snippet .snippet-item{ line-height:24px } .post-snippet .snippet-fade{ background:-webkit-linear-gradient($startSide,$(posts.background.color) 0,$(posts.background.color) 20%,$(posts.background.color.transparent) 100%); background:linear-gradient(to $startSide,$(posts.background.color) 0,$(posts.background.color) 20%,$(posts.background.color.transparent) 100%); color:$(body.text.color); height:24px } .popular-posts-snippet.snippet-container{ max-height:72px } .popular-posts-snippet .snippet-item{ line-height:24px } .PopularPosts .popular-posts-snippet .snippet-fade{ color:$(body.text.color); height:24px } .main .popular-posts-snippet .snippet-fade{ background:-webkit-linear-gradient($startSide,$(popularposts.background.color) 0,$(popularposts.background.color) 20%,$(popularposts.background.color.transparent) 100%); background:linear-gradient(to $startSide,$(popularposts.background.color) 0,$(popularposts.background.color) 20%,$(popularposts.background.color.transparent) 100%) } .sidebar_bottom .popular-posts-snippet .snippet-fade{ background:-webkit-linear-gradient($startSide,$(sidebar.backgroundColorBottom) 0,$(sidebar.backgroundColorBottom) 20%,$(sidebar.backgroundColorBottom.transparent) 100%); background:linear-gradient(to $startSide,$(sidebar.backgroundColorBottom) 0,$(sidebar.backgroundColorBottom) 20%,$(sidebar.backgroundColorBottom.transparent) 100%) } .profile-snippet.snippet-container{ max-height:192px } .has-location .profile-snippet.snippet-container{ max-height:144px } .profile-snippet .snippet-item{ line-height:24px } .profile-snippet .snippet-fade{ background:-webkit-linear-gradient($startSide,$(sidebar.backgroundColorTop) 0,$(sidebar.backgroundColorTop) 20%,$(sidebar.backgroundColorTop.transparent) 100%); background:linear-gradient(to $startSide,$(sidebar.backgroundColorTop) 0,$(sidebar.backgroundColorTop) 20%,$(sidebar.backgroundColorTop.transparent) 100%); color:$(profile.text.color); height:24px } @media screen and (min-width:$(sidebar.width + content.width + content.margin * 2)){ .profile-snippet .snippet-fade{ background:-webkit-linear-gradient($startSide,$(sidebar.backgroundColorTopHD) 0,$(sidebar.backgroundColorTopHD) 20%,$(sidebar.backgroundColorTopHD.transparent) 100%); background:linear-gradient(to $startSide,$(sidebar.backgroundColorTopHD) 0,$(sidebar.backgroundColorTopHD) 20%,$(sidebar.backgroundColorTopHD.transparent) 100%) } } @media screen and (max-width:800px){ .blog-name{ margin-top:0 } body.item-view .blog-name{ margin:0 48px } .centered-bottom{ padding:8px } body.item-view .centered-bottom{ padding:0 } .page_body .centered{ padding:10px 0 } body.item-view #header,body.item-view .widget.Header{ margin-right:0 } body.collapsed-header .centered-top-container .blog-name{ display:block } body.collapsed-header .centered-top-container .widget.Header h1{ text-align:center } .widget.Header header{ padding:0 } .widget.Header h1{ font-size:$(blog.title.font.size * 24 / 45); line-height:$(blog.title.font.size * 24 / 45); margin-bottom:13px } body.item-view .widget.Header h1{ text-align:center } body.item-view .widget.Header p{ text-align:center } .blog-name .widget.PageList{ padding:0 } body.item-view .centered-top{ margin-bottom:5px } .search-action,.search-input{ margin-bottom:-8px } .search form{ margin-bottom:8px } body.item-view .subscribe-section-container{ margin:5px 0 0 0; width:100% } #page_body.section div.widget.FeaturedPost,div.widget.PopularPosts{ padding:16px } div.widget.Blog .blog-posts .post-outer-container{ padding:16px } div.widget.Blog .blog-posts .post-outer-container .post-outer{ padding:0 } .post:first-child{ margin:0 } .post-body .snippet-thumbnail{ margin:0 3vw 3vw 0 } .post-body .snippet-thumbnail img{ height:20vw; width:20vw; max-height:128px; max-width:128px } div.widget.PopularPosts div.item-thumbnail{ margin:0 3vw 3vw 0 } div.widget.PopularPosts div.item-thumbnail img{ height:20vw; width:20vw; max-height:88px; max-width:88px } .post-title{ line-height:1 } .post-title,.post-title a{ font-size:20px } #page_body.section div.widget.FeaturedPost h3 a{ font-size:22px } .mobile-ad .inline-ad{ display:block } .page_body.has-vertical-ads .vertical-ad-container,.page_body.has-vertical-ads .vertical-ad-container ins{ display:none } .page_body.has-vertical-ads .centered .centered-bottom,.page_body.has-vertical-ads .centered .centered-top{ display:block; width:auto } div.post-filter-message div{ padding:8px 16px } } @media screen and (min-width:$(sidebar.width + content.width + content.margin * 2)){ body{ position:relative } body.item-view .blog-name{ margin-left:48px } .page_body{ margin-left:$(sidebar.width) } .search{ margin-left:0 } .search.focused{ width:100% } .sticky{ padding-left:$(sidebar.width) } .hamburger-menu{ display:none } body.collapsed-header .page_body .centered-top-container{ padding-left:$(sidebar.width); padding-right:0; width:100% } body.collapsed-header .centered-top-container .search.focused{ width:100% } body.collapsed-header .centered-top-container .blog-name{ margin-left:0 } body.collapsed-header.item-view .centered-top-container .search.focused{ width:calc(100% - 50px) } body.collapsed-header.item-view .centered-top-container .blog-name{ margin-left:40px } } ]]> <![CDATA[ body#layout .hidden, body#layout .invisible { display: inherit; } body#layout .navigation { display: none; } body#layout .page, body#layout .sidebar_top, body#layout .sidebar_bottom { display: inline-block; left: inherit; position: relative; vertical-align: top; } body#layout .page { float: right; margin-left: 20px; width: 55%; } body#layout .sidebar-container { float: right; width: 40%; } body#layout .hamburger-menu { display: none; } ]]>

Clear out style (needs to be a non-empty string) We don't display labels on the home page. We call super.postShareButtons from the migrated positions. Overridden, and migrated to postFooter. Called as postFooterJumpLink. Ripple, and show 'keep reading' as the default.
Cap the total number of ads (widgets and inline ads). Filter out the featured post, but only on the homepage. Don't show feed links.
Don't show Don't show
Re-order the thumbnail before the snippet, add 'Keep reading' link.
If we are replacing the title, force it to render anyway, and it'll be hidden in CSS.
Default the title to 'Popular posts from this blog'. Add a 'keep reading' link to the item-content.
No title for single profiles. Default to 'Blog authors' for team.
Change link to 'visit profile'


LEARN PYTHON.

Read more:<ahttps://textflode.blogspot.com/2025/01/python.html

The world of Python programming with our comprehensive resources. Learn coding techniques, best practices, and enhance your skills.

 Elevate your coding abilities and unlock new opportunities in the tech industry.

Master Python code programming with our in-depth articles and tutorial.


<a https://textflode.blogspot.com




পাইথন।


Read more:https://mdaindvtech.blogspot.com/2024/09/httpsmdaindvtech.blogspot.com202409stock-market-investmentbengali.html.html








পাইথনের পরিচিতি


1989 সালে Guido van Rossum দ্বারা বিকশিত, Python একটি বহুমুখী এবং উচ্চ-স্তরের প্রোগ্রামিং ভাষা। 

এটি আনুষ্ঠানিকভাবে 1991 সালে প্রকাশিত হয়েছিল এবং তখন থেকে এটির পাঠযোগ্যতা, সরলতা এবং ব্যাপক সম্প্রদায়ের সমর্থনের জন্য ব্যাপকভাবে জনপ্রিয় হয়ে উঠেছে। 


Your choice:<ahttps://amzn.to/47MrFOB


পাইথন কেন শিখবেন?


পাইথন বিশ্বব্যাপী একটি অত্যন্ত পছন্দের প্রোগ্রামিং ভাষা হিসাবে দাঁড়িয়েছে, এটির ইউটিলিটি, অ্যাক্সেসিবিলিটি এবং ওয়েব ডেভেলপমেন্ট, ডেটা বিশ্লেষণ এবং কৃত্রিম বুদ্ধিমত্তার মতো বিভিন্ন ক্ষেত্রে ব্যাপক প্রযোজ্যতার জন্য মূল্যবান। 


 স্ক্র্যাচ থেকে শুরু করছেন বা একজন দক্ষ কোডার যা আপনার দক্ষতা বাড়াতে চাইছেন, পাইথনকে আলিঙ্গন করা অগণিত সুযোগের একটি গেটওয়ে।


এর সরলতা এবং পাঠযোগ্যতার কারণে নতুনরা এতে আগ্রহী। এর সিনট্যাক্স ভালভাবে সংজ্ঞায়িত করা হয়েছে প্রোগ্রামিং নতুনদের জন্য এত দ্রুত পরিচিত হওয়ার জন্য। 

ঐতিহ্যগত কোঁকড়া ধনুর্বন্ধনী বা সেমিকোলনের পরিবর্তে হোয়াইটস্পেস ইন্ডেন্টেশনের উপর নির্ভরতা পরিষ্কার এবং সহজে বোধগম্য কোড তৈরিতে অবদান রাখে।

একটি বিস্তৃত লাইব্রেরি ইকোসিস্টেম পাইথনের আবেদনকে আরও বাড়িয়ে তোলে। ব্যবহারকারীদের বৈজ্ঞানিক কম্পিউটিং, ডেটা বিশ্লেষণ এবং ওয়েব ডেভেলপমেন্টের কাজগুলির জন্য পূর্ব-নির্মিত সরঞ্জামগুলির একটি সম্পদ দিয়ে সজ্জিত করে৷পাইথনের সম্পদশালীতা ওয়েব অ্যাপ্লিকেশনের বিকাশ, টাস্ক অটোমেশন, ডেটা বিশ্লেষণ এবং মেশিন লার্নিং মডেল তৈরি সহ বিভিন্ন অ্যাপ্লিকেশন পরিচালনা করার ক্ষমতার মধ্যে স্পষ্ট। এর ক্রস-প্ল্যাটফর্ম সামঞ্জস্যতা বিভিন্ন অপারেটিং সিস্টেম জুড়ে মসৃণ কোড সম্পাদনকে সক্ষম করে।

শক্তিশালী পাইথন  তার সহযোগী নীতির একটি প্রমাণ। 

এর অন্তর্ভুক্তির জন্য পরিচিত, এই সম্প্রদায়টি ফোরাম, টিউটোরিয়াল এবং সংস্থানগুলির মাধ্যমে প্রচুর সমর্থন প্রদান করে, শেখার এবং ব্যক্তিগত বিকাশের জন্য একটি আদর্শ পরিবেশ তৈরি করে। বিস্তারিত ডকুমেন্টেশন ব্যবহারকারীদের আরও সহায়তা করে, পাইথনের মডিউল এবং ফাংশনগুলির ব্যাপক অন্তর্দৃষ্টি প্রদান করে।ওয়েব ডেভেলপমেন্ট, ডেটা সায়েন্স, মেশিন লার্নিং এবং অটোমেশনে ব্যাপকভাবে ব্যবহৃত একটি ভাষা পাইথন দক্ষতা অর্জনের মাধ্যমে আপনার কর্মজীবনে অগ্রসর হওয়া সম্ভব। 


পাইথন ডেভেলপারদের জন্য ক্রমাগত উচ্চ থাকে, কোম্পানিগুলি সক্রিয়ভাবে এই বহুমুখী ভাষায় দক্ষ পেশাদারদের সন্ধান করে। 

পাইথন আয়ত্ত করা শুধুমাত্র উত্তেজনাপূর্ণ কাজের সুযোগের দরজা খুলে দেয় না বরং আরও লাভজনক বেতনের সম্ভাবনার দিকে নিয়ে যাওয়ার সম্ভাবনাও রয়েছে।


প্রোগ্রামিং করার মাধ্যমে সবচেয়ে ভালোভাবে শেখা যায়, এবং এইভাবে ব্যবহারিক অনুশীলন এবং বাস্তব-বিশ্বের প্রকল্প অন্তর্ভুক্ত করা । 

এই প্রকল্পগুলি ক্রমবর্ধমান জটিলতায় বৃদ্ধি পায়, অর্জিত ধারণাগুলি প্রয়োগ করার জন্য একটি প্ল্যাটফর্ম প্রদান করে। এবং মূল্যবান হ্যান্ডস-অন অভিজ্ঞতা অর্জন। এই প্রকল্পগুলিতে সক্রিয় অংশগ্রহণের মাধ্যমে, পাঠকরা শুধুমাত্র পাইথন সম্পর্কে তাদের বোধগম্যতাকে শক্তিশালী করে না বরং বাস্তব-বিশ্বের প্রোগ্রামিং চ্যালেঞ্জের জন্য অত্যাবশ্যক সমস্যা সমাধানের দক্ষতাও গড়ে তোলে।



পাইথনের শীর্ষ বৈশিষ্ট্যসহজ কাঠামো এবং স্পষ্টভাবে সংজ্ঞায়িত সিনট্যাক্স: পাইথনের সিনট্যাক্স ডিজাইন করা হয়েছেপঠনযোগ্যতা, নতুন এবং অভিজ্ঞ বিকাশকারী উভয়ের জন্যই দক্ষতার সাথে কোড বোঝা এবং লিখতে সহজ করে তোলে।

ক্রস-প্ল্যাটফর্ম সামঞ্জস্যতা: 

পাইথনের বিভিন্ন অপারেটিং চালানোর ক্ষমতাWindows, Linux, এবং macOS সহ সিস্টেমগুলি এটিকে একটি পোর্টেবল ভাষা করে তোলে। এই বৈশিষ্ট্যটি বিকাশকারীদের এমন সফ্টওয়্যার তৈরি করতে দেয় যা নির্বিঘ্নে বিভিন্ন প্ল্যাটফর্ম জুড়ে কাজ করতে পারে।


ওপেন সোর্স:

 পাইথনের ওপেন সোর্স প্রকৃতির মানে হল যে এর সোর্স কোড জনসাধারণের জন্য অবাধে উপলব্ধ। এটি সহযোগিতা এবং সম্প্রদায়-চালিত উন্নতিকে উৎসাহিত করে।


অবজেক্ট-ওরিয়েন্টেড অ্যাপ্রোচ: 

পাইথনের অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং প্যারাডাইম বস্তুর মধ্যে কোডের সংগঠনকে উৎসাহিত করে, মডুলারিটি, পুনঃব্যবহারযোগ্যতা এবং রক্ষণাবেক্ষণযোগ্যতা প্রচার করে।


 পাইথনের বিস্তৃত স্ট্যান্ডার্ড লাইব্রেরি এবং অতিরিক্ত

তৃতীয় পক্ষের লাইব্রেরিগুলো ওয়েব ডেভেলপমেন্ট থেকে শুরু করে বৈজ্ঞানিক কম্পিউটিং পর্যন্ত বিভিন্ন কাজের জন্য পূর্ব-নির্মিত মডিউল সরবরাহ করে।

ডায়নামিক টাইপিং: 

পাইথন ডায়নামিক টাইপিং ব্যবহার করে, যেখানে রানটাইমে ভেরিয়েবল টাইপ নির্ধারণ করা হয়, স্পষ্ট ধরনের ঘোষণার প্রয়োজনীয়তা দূর করে।

পাইথন প্রোগ্রামিং এর ব্যবহার পাইথন বিভিন্ন ডোমেনে অ্যাপ্লিকেশন খুঁজে পায়, যার মধ্যে রয়েছে, ডেস্কটপ অ্যাপ্লিকেশন, গ্রাফিক্যাল ইউজার ইন্টারফেস (GUIs) সহ ডেস্কটপ অ্যাপ্লিকেশন তৈরি করতে পাইথন ব্যবহার করা হয়।

ওয়েব ডেভেলপমেন্ট: 

জ্যাঙ্গো এবং ফ্লাস্কের মতো ফ্রেমওয়ার্ক ওয়েব অ্যাপ্লিকেশন ডেভেলপমেন্টকে সহজতর করে।ডেটা সায়েন্স এবং মেশিন লার্নিং: 


পাইথন হল ডেটা বিশ্লেষণ, মেশিন লার্নিং এবং কৃত্রিম বুদ্ধিমত্তার জন্য একটি গো-টু ভাষা, যা NumPy, Pandas, TensorFlow এবং PyTorch-এর মতো লাইব্রেরি দ্বারা সমর্থিত৷

গেম ডেভেলপমেন্ট:

 Python স্ক্রিপ্টিং এর জন্য গেমিং শিল্পে নিযুক্ত হয়.. AI, এবং Pygame এর মত ফ্রেমওয়ার্ক ব্যবহার করে ডেভেলপমেন্ট।


জনপ্রিয় পাইথন ফ্রেমওয়ার্ক এবং লাইব্রেরি




 *ওয়েব ডেভেলপমেন্ট: 

জ্যাঙ্গো, ফ্লাস্ক, পিরামিড এবং চেরিপাই ব্যাপকভাবে ব্যবহৃত ফ্রেমওয়ার্ক।


*GUI ডেভেলপমেন্ট: Tkinter, PyQt, Kivy, এবং PyGTK গ্রাফিকাল ইউজার ইন্টারফেস তৈরির জন্য টুল অফার করে।


*মেশিন লার্নিং এবং ডেটা সায়েন্স: TensorFlow, PyTorch, scikit-learn, Matplotlib এবং SciPy হল মেশিন লার্নিং এবং বৈজ্ঞানিক কম্পিউটিং এর জন্য প্রয়োজনীয় লাইব্রেরি।


* গাণিতিক গণনা: NumPy এবং পান্ডাগুলি সংখ্যাসূচক এবং ডেটা বিশ্লেষণের কাজে ব্যাপকভাবে ব্যবহৃত হয়।



* পাইথনে জুপিটার নোটবুক ইন্টারেক্টিভ কম্পিউটিং এবং ডেটা ভিজ্যুয়ালাইজেশনের জন্য ব্যাপকভাবে ব্যবহৃত হয়।


*ভিজ্যুয়াল স্টুডিও কোড (VSCode): মাইক্রোসফ্ট দ্বারা তৈরি, VSCode হল একটি জনপ্রিয়, বিনামূল্যের এবং ওপেন-সোর্স কোড এডিটর যার বৈশিষ্ট্য এবং এক্সটেনশনের একটি সমৃদ্ধ সেট রয়েছে।


* সাব্লাইম টেক্সট এডিটর: 

সাব্লাইম টেক্সট হল একটি হালকা ওজনের, কিন্তু শক্তিশালী টেক্সট এডিটর যা তার গতি এবং বহুমুখীতার জন্য পরিচিত।


* PyCharm: 

JetBrains দ্বারা বিকাশিত, PyCharm হল পাইথন বিকাশের জন্য উন্নত বৈশিষ্ট্য সহ একটি শক্তিশালী সমন্বিত উন্নয়ন পরিবেশ (IDE)।


* পাইথন আইডিএল: 

পাইথনের ডিফল্ট ইন্টিগ্রেটেড ডেভেলপমেন্ট এবং শেখার পরিবেশ।


স্পাইডার: একটি শক্তিশালী IDE বিশেষভাবে বৈজ্ঞানিক কম্পিউটিং এবং ডেটা বিশ্লেষণের জন্য ডিজাইন করা হয়েছে।

-----------------------------------_--


একটি নির্দিষ্ট কম্পিউটিং ফলাফল বা একটি নির্দিষ্ট কাজ সম্পাদন করার জন্য একটি এক্সিকিউটেবল কম্পিউটার প্রোগ্রাম ডিজাইন এবং নির্মাণের প্রক্রিয়া।

 প্রোগ্রামিং এর মধ্যে কাজগুলি অন্তর্ভুক্ত থাকে।


 যেমন: বিশ্লেষণ, অ্যালগরিদম তৈরি করা, প্রোফাইলিং অ্যালগরিদমের নির্ভুলতা এবং সম্পদের ব্যবহার এবং এর বাস্তবায়ন একটি নির্বাচিত প্রোগ্রামিং ভাষায় অ্যালগরিদম (সাধারণত কোডিং হিসাবে উল্লেখ করা হয়)।"(https://en.wikipedia.org/wiki/Co mputer programming)সংক্ষেপে, কম্পিউটার প্রোগ্রামিং বা কোডিং, যেমনটি কখনও কখনও পরিচিত , একটি কম্পিউটারকে সে বোঝে এমন ভাষা ব্যবহার করে কিছু করতে বলছে৷

কম্পিউটার খুবই শক্তিশালী টুল, কিন্তু দুর্ভাগ্যবশত, তারা নিজেদের জন্য চিন্তা করতে পারে না।

 তাদের সবকিছু বলা দরকার: কীভাবে একটি কাজ সম্পাদন করতে হয়; 

কোন পথ অনুসরণ করতে হবে তা সিদ্ধান্ত নিতে একটি শর্ত মূল্যায়ন কিভাবে; 

নেটওয়ার্ক বা ডিস্কের মতো ডিভাইস থেকে আসা ডেটা কীভাবে পরিচালনা করবেন; 

এবং অপ্রত্যাশিত কিছু ঘটলে, কিছু ভেঙ্গে বা অনুপস্থিত হওয়ার ক্ষেত্রে কীভাবে প্রতিক্রিয়া দেখাবে।

আপনি বিভিন্ন শৈলী এবং ভাষায় কোড করতে পারেন। 

 এটা অনেকটা লেখার মত- এটা এমন কিছু যা সবাই শিখতে পারে। 


শুধু লেখাই যথেষ্ট নয়। আপনাকে একটি সম্পূর্ণ অন্য সেট দক্ষতা অর্জন করতে হবে, এবং এটি একটি দীর্ঘ এবং বৃহত্তর প্রচেষ্টা জড়িত ।

শেষ পর্যন্ত, আপনি রাস্তায় কতদূর যেতে চান তা নির্ভর করে আপনার উপর। 


কোডিং শুধু কাজ করে এমন কিছু নির্দেশনা একত্রিত করা নয়। 

এটা অনেক ভাল কোড সংক্ষিপ্ত, দ্রুত, মার্জিত, পড়তে এবং বোঝা সহজ, সহজ, পরিবর্তন করা এবং প্রসারিত করা সহজ, স্কেল এবং রিফ্যাক্টর করা সহজ এবং পরীক্ষা করা সহজ। 

একই সময়ে এই সমস্ত গুণাবলী রয়েছে এমন কোড লিখতে সক্ষম হতে সময় লাগে, 



পাইথনে ? 


পাইথন হল Guido Van Rossum, একজন ডাচ কম্পিউটার বিজ্ঞানী এবং গণিতজ্ঞের অসাধারণ সৃষ্টি, যিনি 1989 সালের ক্রিসমাসে একটি প্রকল্প নিয়ে বিশ্বকে উপহার দেওয়ার সিদ্ধান্ত নিয়েছিলেন। 

ভাষাটি 1991 সালের কাছাকাছি কোথাও জনসাধারণের কাছে উন্মুক্ত হয়েছিল, এবং তারপর থেকে এটি বিকশিত হয়েছে। 

আজ বিশ্বব্যাপী ব্যবহৃত নেতৃস্থানীয় প্রোগ্রামিং ভাষাগুলির মধ্যে একটি ।


 এটি যে ভাষা ব্যবহার করেছিল তা ছিল বেসিক। হাইনরিচ যখন উচ্চ বিদ্যালয়ে পাসকেল শিখেছিলেন তখন শুরু করেছিলেন।আমাদের মধ্যে, আমরা প্যাসকেল, অ্যাসেম্বলি, সি, সি++, জাভা, জাভাস্ক্রিপ্ট, ভিজ্যুয়াল বেসিক, পিএইচপি, এএসপি, এএসপি .নেট, 

সি# এবং আরও অনেক ।

 এর সিনট্যাক্সটি কিছুটা আলাদা।


পাইথন সম্পর্কে।


 আসুন জেনে নেওয়া যাক কেন কেউ পাইথন ব্যবহার করতে চায়।

আমাদের মতে, পাইথন নিম্নলিখিত গুণাবলীর প্রতিফলন করে।বহনযোগ্যতা পাইথন সর্বত্র চলে, এবং লিনাক্স থেকে উইন্ডোজ বা ম্যাকে একটি প্রোগ্রাম পোর্ট করা সাধারণত পাথ এবং সেটিংস ঠিক করার বিষয়। 

পাইথন বহনযোগ্যতার জন্য ডিজাইন করা হয়েছে ।


অপারেটিং সিস্টেম (ওএস) ইন্টারফেসের পিছনে আপনাকে একটি নির্দিষ্ট প্ল্যাটফর্মের জন্য তৈরি কোড লেখার যন্ত্রণা থেকে রক্ষা করে।




পাইথন অত্যন্ত যৌক্তিক এবং সুসঙ্গত। 

আপনি এটি একটি  কম্পিউটার বিজ্ঞানী দ্বারা ডিজাইন করা হয়েছে দেখতে পারেন. বেশিরভাগ সময় আপনি অনুমান করতে পারেন কিভাবে একটি পদ্ধতি বলা হয় যদি আপনি এটি জানেন না।

আপনি হয়তো বুঝতে পারবেন না যে এটি এখন কতটা গুরুত্বপূর্ণ, বিশেষ করে যদি আপনি একজন প্রোগ্রামার হিসাবে অভিজ্ঞ না হন তবে এটি একটি প্রধান বৈশিষ্ট্য।

  সেইসাথে ডকুমেন্টেশনের মাধ্যমে কম স্কিমিং, এবং আপনি কোড করার সময় আপনার মস্তিষ্কে ম্যাপিংয়ের কম প্রয়োজন।


বিকাশকারীর উত্পাদনশীলতা


একটি পাইথন প্রোগ্রাম সাধারণত সমতুল্য জাভা বা C++ কোডের আকারের এক-পঞ্চমাংশ থেকে এক-তৃতীয়াংশ।


reverse that trend and are dropping support for Python 2. According to PEP 373 (https://legacy.pytho n.org/dev/peps/pep- 0373/), the EOL of Python 2.7 was set to 2020. The last version is 2.7.18; there will not be a Python 2.8. On Fabrizio's machine (MacBook Pro), this is the latest Python version:

 >>> import sys >>> print(sys.version) 3.9.2 (default, Mar 1 2021, 23:29:21) [Clang 12.0.0 (clang- 1200.0.32.29)]



 So, you can see that the version is 3.9.2, which was out on the 1st of March 2021. The preceding text is a little bit of Python code that was typed into a console. We'll talk about this in a moment.


কনসোল, উইন্ডোজ কমান্ড প্রম্পট এবং ম্যাকিনটোশ টার্মিনাল। আমরা লিনাক্স ডিফল্ট ফর্ম্যাটের সাথে কমান্ড-লাইন প্রম্পটও নির্দেশ করব, যেমন:$ sudo apt- আপডেট পান আপনি যদি এটির সাথে পরিচিত না হন তবে একটি কনসোল কীভাবে কাজ করে তার মূল বিষয়গুলি শিখতে অনুগ্রহ করে কিছু সময় নিন। 


সংক্ষেপে, $ চিহ্নের পরে, আপনি সাধারণত একটি নির্দেশ পাবেন যা আপনাকে টাইপ করতে হবে। 

ক্যাপিটালাইজেশন এবং স্পেসগুলিতে মনোযোগ দিন, কারণ সেগুলি খুব গুরুত্বপূর্ণ।আপনি যে কনসোলটি খুলুন না কেন, প্রম্পটে পাইথন টাইপ করুন এবং নিশ্চিত করুন যে পাইথন ইন্টারেক্টিভ শেল দেখা যাচ্ছে। 

প্রস্থান করতে exit() টাইপ করুন। 

মনে রাখবেন যে আপনার OS যদি Python 2 পূর্বেই ইনস্টল করা থাকে তাহলে আপনাকে python3 নির্দিষ্ট করতে হতে পারে।

আপনি পাইথন চালানোর সময় এটি মোটামুটিভাবে দেখতে হবে (এটি সংস্করণ এবং ওএস অনুযায়ী কিছু বিবরণে পরিবর্তিত হবে):fab $ python3

2021, 23:29:21) [Clang 12.0.0 (clang- 1200.0.32.29)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>



 Now that Python is set up and you can run it, it is time to make sure you have the other tool that will be indispensable to follow the examples in the book: a virtual environment.


 About virtual environments 


When working with Python, it is very common to use virtual environments. Let's see what they are and why we need them by means of a simple example. You install Python on your system and you start working on a website for Client X Vou create a project folder and start Along the way, you also install raries; for example, the Django rk, which we'll explore in 4, Introduction to API nent Let's say the Django < ফোল্ডার অদৃশ্য।


এই পদক্ষেপগুলি আপনার একটি প্রকল্প শুরু করতে হবে।আমরা উইন্ডোজের একটি উদাহরণ দিয়ে শুরু করতে যাচ্ছি (মনে রাখবেন যে আপনি আপনার ওএস, পাইথন সংস্করণ এবং আরও কিছু অনুসারে কিছুটা ভিন্ন ফলাফল পেতে পারেন)। এই তালিকায়, হ্যাশ, #, দিয়ে শুরু হওয়া লাইনগুলি হল মন্তব্য, পাঠযোগ্যতার জন্য স্পেস চালু করা হয়েছে এবং একটি তীর, স্থানের অভাবের কারণে লাইনটি কোথায় মোড়ানো হয়েছে তা নির্দেশ করে:C:\Users\Fab\srv>mkdir my-প্রকল্প # ধাপ 1C:\Users\Fab\srv>cd my-projectC:\ব্যবহারকারী\Fab\srv\my-প্রকল্প> যেখানে পাইথন # চেক করুনসিস্টেম পাইথনC:\Users\Fab\AppData\Local\Prog rams\Python\Python39\python.exeC:\Users\Fab\AppData\Local\Micr osoft\WindowsApps\python.exeC:\ব্যবহারকারী\Fab\srv\my-প্রকল্প>পাইথন -এম ভেনভ 1pp3ed# ধাপ 2C:\ব্যবহারকারী\Fab\srv\my- 

project>1pp3ed\Scripts\activate # step 3 # check python again, now virtual env python is listed first (1pp3ed) C:\Users\Fab\srv\my- project>where python C:\Users\Fab\srv\my- project\lpp3ed\Scripts\python.e xe C:\Users\Fab\AppData\Local\Prog rams\Python\Python39\python.exe C:\Users\Fab\AppData\Local\Micr osoft\WindowsApps\python.exe (1pp3ed) C:\Users\Fab\srv\my- project>python # step 4 Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> exit() (1pp3ed) C:\Users\Fab\srv\my- project>deactivate # step 5 C:\Users\Fab\srv\my-project>


প্রতিটি পদক্ষেপ একটি মন্তব্যের সাথে চিহ্নিত করা হয়েছে, তাই আপনি বেশ সহজে অনুসরণ করতে সক্ষম হবেন।একটি লিনাক্স মেশিনে, পদক্ষেপগুলি একই, তবে কমান্ডগুলি কিছুটা আলাদাভাবে গঠন করা হয়। তাছাড়া, ভার্চুয়াল পরিবেশ তৈরি করতে venv মডিউল ব্যবহার করতে সক্ষম হওয়ার জন্য আপনাকে কিছু অতিরিক্ত সেটআপ পদক্ষেপ চালাতে হতে পারে। সেখানে সমস্ত লিনাক্স ডিস্ট্রিবিউশনের জন্য নির্দেশনা দেওয়া অসম্ভব, 

তাই আপনার ডিস্ট্রিবিউশনের জন্য উপযুক্ত কি তা খুঁজে পেতে অনুগ্রহ করে অনলাইনে দেখুন।একবার আপনি সেট আপ হয়ে গেলে, একটি ভার্চুয়াল পরিবেশ তৈরি করার জন্য প্রয়োজনীয় নির্দেশাবলী হল:fab@fvm:~/srv$ mkdir আমার-প্রকল্প# ধাপ 1


fab@fvm:~/srv$ cd আমার-প্রকল্পfab@fvm:~/srv/my-project$ যাpython3.9 # চেক সিস্টেমঅজগর/usr/bin/python3.9 # <--সিস্টেম পাইথন3.9fab@fvm:~/srv/my-project$python3.9 -m venv 1pp3ed #ধাপ 2

fab@fvm:~/srv/my-project$source./1pp3ed/bin/activate #ধাপ 3# আবার পাইথন চেক করুন: এখন ভার্চুয়াল পরিবেশের একটি (1pp3ed) fab@fvm:~/srv/my-project$ ব্যবহার করে যা পাইথন /home/fab/srv/my-project/1pp3ed/bin/python (1pp3ed) fab@fvm :~/srv/my- প্রকল্প$ পাইথন # ধাপ 4 পাইথন 3.9.2 (ডিফল্ট, 20 ফেব্রুয়ারী 2021, 20:56:08)লিনাক্সে [GCC 9.3.0] আরও তথ্যের জন্য "হেল্প", "কপিরাইট", "ক্রেডিট" বা "লাইসেন্স" টাইপ করুন।>>> প্রস্থান()(1pp3ed) fab@fvm:~/srv/my-প্রকল্প$ নিষ্ক্রিয় করুন # ধাপ 5fab@fvm:~/srv/my-project$এখানে লক্ষ্য করার মতো কিছু হল যে ভার্চুয়াল পরিবেশ সক্রিয় করার জন্য, আমাদের 1pp3ed/bin/activate স্ক্রিপ্টটি চালাতে হবে, যার উৎস হতে হবে। যখন একটি স্ক্রিপ্ট সোর্স করা হয়, এর মানে হল যে এটি বর্তমান শেলে কার্যকর করা হয়, এবং তাই এর প্রভাবগুলি পরবর্তীতে স্থায়ী হয়।


1pp3ed/bin/activate(1pp3ed) mpro:my-project fab$cat requirements.txtজ্যাঙ্গো==3.1.7অনুরোধ==2.25.1# নিম্নলিখিত নির্দেশনাএকটি ফাইল (1pp3ed) mpro:my-project fab$ থেকে # প্রয়োজনীয়তা ইনস্টল করতে পিপ কীভাবে ব্যবহার করবেন তা দেখায়pip install -r requirements.txtজ্যাঙ্গো সংগ্রহ করা হচ্ছে==3.1.7ক্যাশে করা জ্যাঙ্গো-3.1.7- ব্যবহার করা হচ্ছেpy3-none-any.whl (7.8 MB) এখানে আরও অনেক সংগ্রহঅনুরোধ সংগ্রহ করা ==2.25.1 ক্যাশে করা অনুরোধ-2.25.1- ব্যবহার করেpy2.py3-none-any.whl (61 kB)সংগৃহীত প্যাকেজ ইনস্টল করা হচ্ছে: Django, অনুরোধ, Django- 3.1.7 অনুরোধ-2.25.1 (1pp3ed) mpro:my-project fab$ ।



আমাদের কনসোলের কমান্ড লাইনে পাইথন টাইপ করা হয়েছে।

সুতরাং, একটি কনসোল খুলুন, আপনার ভার্চুয়াল পরিবেশ সক্রিয় করুন এবং পাইথন টাইপ করুন। আপনাকে কয়েকটি লাইনের সাথে উপস্থাপন করা হবে যা দেখতে এইরকম ।


(1pp3ed) mpro:my-project fab$python Python 3.9.2 (ডিফল্ট, মার্চ 1 2021, 23:29:21) [ক্ল্যাং 12.0.0 (ক্ল্যাং- 1200.0.32.29)] >>>''''''' >>> 


আপনি যদি একটি সহজ নির্দেশনা টাইপ করেন, এমন কিছু যা এক লাইনে ফিট করে, আপনি  দেখতে পাবেন। 

আপনি যদি এমন কিছু টাইপ করেন যার জন্য একাধিক লাইন কোডের প্রয়োজন হয়, তাহলে শেল আপনাকে একটি ভিজ্যুয়াল ক্লু দেওয়ার জন্য প্রম্পট পরিবর্তন করবে যে আপনি.  


একটি মাল্টিলাইন স্টেটমেন্ট টাইপ করা (অথবা যেকোন কিছুর জন্য একাধিক লাইনের কোড প্রয়োজন।


:>>> 3 + 710>>> 10/42.5>>> 2 ** 12041......

 


'age': 45, 'role': 'CТО', 'SSN': 'AB1234567', } >>> # let's print them >>> n 3 >>> address '221b Baker Street, NW1 6XE, London' >>> employee {'age': 45, 'role': 'CТO', 'SSN': 'AB1234567'} >>>


 other_name Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'other_name' is not defined >>> Remember that each Python object has an identity, a type, and a value. We defined three objects in the preceding code; let's now examine their types and values: • An integer number n (type: int,


looking into the next enclosing scope. #m is finally found in the global scope print(m, 'printing from the local scope') m = 5 print(m, 'printing from the global scope') local() Running scopes2.py will print this: $ python scopes2.py 5 printing from the global scope 5 printing from the local scope As expected, Python prints m the first time, then when the function local is called, mis not found in its scope, so Python looks for it following the LEGB chain until m is found in the global scope. Let's see an example with an extra layer, the enclosing scope: # scopes3.py # Local, Enclosing and Global def enclosing_func():


m = 13 def local(): #m doesn't belong to the scope defined by the local # function so Python will keep looking into the next # enclosing scope. This time m is found in the enclosing # scope print(m, 'printing from the local scope') # calling the function local local() m = 5 print(m, 'printing from the global scope') enclosing_func() Running scopes3.py will print on the console: $ python scopes3.py 5, 'printing from the global scope' 13, 'printing from the local scope'


the code very simple, but don't fret if everything is not clear; all you need to care about at this moment is to understand the difference between a class and an object (or instance of a class): #bike.py #let's define the class Bike class Bike: def __init__(self, colour, frame_material): self.colour = colour self.frame_material = frame_material def brake(self): print("Braking!") #let's create a couple of instances red_bike Bike('Red', 'Carbon fiber') blue_bike = Bike('Blue', 'Steel') # let's inspect the objects we have, instances of the Bike class. print(red_bike.colour) # prints: Red print(red_bike.frame_material)


প্রতিবার ফাইলটি চালানোর জন্য আমাদের বলার দরকার নেই, 

ফাইলের নাম প্রতিটি কোড ব্লকের প্রথম লাইনে নির্দেশিত হয়। পাইথন মডিউলের মধ্যে কোডটি কার্যকর করতে, শুধুমাত্র $ python filename.py ।

আপনার ভার্চুয়াল পরিবেশ সক্রিয় আছে মনে রাখবেন এখানে লক্ষ্য করার মতো অনেক আকর্ষণীয় বিষয়। প্রথমত, ক্লাস স্টেটমেন্টের সাথে ক্লাসের সংজ্ঞা ঘটে। ক্লাস স্টেটমেন্টের পরে যে কোডটি আসে এবং ইন্ডেন্ট করা হয়।


যা পাইথনিক হওয়ার ধারণাকে ঘিরে। পাইথন আপনাকে এমন কিছু বাগধারা ব্যবহার করতে দেয় যা অন্য কোথাও পাওয়া যায় না, অন্তত একই আকারে নয় বা ব্যবহার করা সহজ নয়।

Continue....


 


Comments

https://mdaindvtech.blogspot.com/p/java-script.html

HISTORY QUESTION FOR COMPETITIVE EXAM.

OLD QUESTION PAPER:M.P YEAR -1994-95

G . K for competitive exams. : https://mdaindvtech.blogspot.com.

About great Galileo.

The Qur'an is the solution of humanity? : https://mdaindvtech.bloggpost.com