Login
Discover
Waves
Communities
Login
Signup
Topics
#steempython
Global
Trending
Hot
New
Top
#steempython
New
Top communities
Create your community
latest #steempython created topics | Ecency
june0620
mini.topia
6y
[Python #17] [Django #10] 검색 기능에 UI 추가
pixabay 검색 기능에 UI를 추가한다. HTML의 form으로 우선 먼저 가볍게 구현해 보자. (깊게 구현할 능력도 안됨ㅎㅎ) form 추가 먼저 django의 templates 폴더의 base.html 에 form 을 넣는다. action은 일단 하드코딩으로 /@june0620/search로 한다. 계정명은 변수로 처리하고 싶은데 안된다. ㅠ (#연구필요#장고초자)
$ 3.048
69
1
1
june0620
mini.topia
6y
[Python #16] [Django #9] 7일전 보상 0으로 노출되는 문제 해결
pixabay 이 글에서도 언급했던 7일 전 포스팅 보상이 0으로 노출되는 문제를 해결해 본다. pending_payout_value 값을 썼는데 7일전 포스팅은 이미 보상이 완료됐기때문에 해당 키값이 0으로 되면서 발생한 문제였다. get_blog 함수 리스폰스 값을 확인 결과 7일전 보상은 total_payout_value 를 쓰면 될 것 같다.
$ 1.552
57
1
june0620
HIVE CN 中文社区
6y
[Python #15] [Django #8] 开发完,需测试
pixabay 开发完功能应该要做什么?继续开发下一个功能?不~ 应需要测试,测试是必须的。 上期开发的搜索功能也需要我测试。 幸好python提供一个库叫unittest,django也具备了基于unittest的库。 django默认创建的文件里也存在着一个叫tests.py的文件。 在这里我需要添加些测试代码。 组合用例 最麻烦也最重要的就是组合测试用例。 三个选项 tags, titles,
june0620
HIVE CN 中文社区
6y
[Python #13] [Django #6] 搜索我的文章
pixabay 今天解决一下我最需要的搜索我的文章功能。 先简单的实现搜索标签,标题,内容。 关键词定义为 dict,里面装tags,titles,texts三个条件,并都设置为list。 query = { 'tags': [], 'titles': [], 'texts': [] } 初步逻辑是,1)创建空list 2)从我的文章列表抽取包含关键词的文章并保存到这个list。
oadissin
SlothBuzz
3d
Published via Ecency
Promoted
Slothly Saving club / Play & Stack Tokens
Chilling before the next power-up event. Stay safe in this volatile market. Stack & Earn.
june0620
mini.topia
6y
[Python #11] [Django #4] Bootstrap 으로 페이지 예쁘게 꾸미기
pixabay Bootstrap을 사용하여 지난번에 구현한 스팀 포스팅 목록을 예쁘게 꾸며보자. html, css 초급 레벨인 나에게 Bootstrap은 아주 좋은 템플릿으로 사용될 것 같다. html 파일 생성 및 설정 👇 지난번과 마찬가지로 templates폴더에 album.html과 base.html을 생성 후 views.py에서 template_name을
thatsabingo
steempython
8y
I'm testing some stuff - don't worry about it
testing autopost stuffffff
thatsabingo
script
8y
I'm testing some stuff - aint no thang
testing testing test post baby! HOLY BALLS IT'S STILL WORKING?!?!
thatsabingo
steempy
8y
I'm testing some stuff -- don't worry about it
testing testing test post baby! checking to make sure that I diidn't break it again!!
jongolson
The Kingdom
1d
Promoted
Renew Your Mind [Podcast]
I'm going to link to the podcast where I got the idea for this short talk.... => Heritage & Hope Podcast It's absolutely fantastic stuff and whether or not you agree with the science behind it all,
thatsabingo
python
8y
I'm testing some stuff -- don't worry about it
testing testing test post baby!
anthonyadavisii
python
8y
Python to Convert String Representation of JSON (On Reblogs) to Dictionary
This might just help you if you are dealing with custom_json account history IE resteems Let's say you have obtained custom_json from account history using the get_account_history method of a Steem Account
iamredbar
steemdev
8y
Starting a Programming Journey (Python & Steemit)
It all begins with a single step... Usually in the wrong direction. Over the past five days or so, I have done many hours of reading, formatting, more reading, downloading, reformatting, installing, wrecking
amosbastian
utopian-io
9y
AttributeError: 'Steemd' object has no attribute 'commit' in steem-python
When using the functions buy(), sell() and cancel() from dex.py / the Dex class it returns the following error AttributeError: 'Steemd' object has no attribute 'commit' Expected behavior When executing
gungunkrishu
Olio di Balena
12h
Promoted
Bought More #HIVE via the P2P Trade - Invested Another $425 Dollars - My Strategy Ahead...
Hey All, Exactly one month ago I had invested in #HIVE i.e. bought HIVE via the P2P trade and had powered all the HIVE UP to reach the 350K+ HP mark. And here we are today again where I have invested another
emrebeyler
steempython
9y
List of steem-python tutorials
2 months ago, I have started writing steem-python tutorials on Utopian. As today, I feel I have covered the most important topics and decided to finish the series. Full List steem-python for dummies #1
emrebeyler
steempython
9y
Note to steem-python users, your application may be broken at the moment
A couple of months ago -with the jussi onboarding- steemit devs announced that steemd.steemit.com will be deprecated at some point in favor of jussi (api.steemit.com) (Default node selection on steem-python)
anthonyadavisii
steemdev
9y
Steem Python BIP38 Wallet Error with Fix
Good evening Steem Scripters, I had recently exercised what I like to call the nuclear option regarding my Ubuntu virtual machine when I began receiving NoneType errors. In other words, I completely blew
emrebeyler
utopian-io
9y
steem-python for dummies #11 - Listening new blocks
Hello, This is the 11. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. (Just realizing we have already completed 10 posts!) steem-python
tonyz
Photography Lovers
4d
Promoted
The Club.
In daylight. Skatecafe, Amsterdam Noord.
emrebeyler
steempython
9y
Exploring sndbox members with a little bit over-engineering
Hello, I have joined to @sndbox this month. I am very excited to be a part of this community. However, one thing I didn't do well yet -due to my limited time lately- exploring the people in the @sndbox.
emrebeyler
utopian-io
9y
steem-python for dummies #10 - Listening specific accounts
Hello, This is the 10. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. steem-python for dummies #1 - Introduction and Basic Operations
emrebeyler
utopian-io
9y
steem-python for dummies #9 - Creating orders in the market
Hello, This is the 9. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. steem-python for dummies #1 - Introduction and Basic Operations
emrebeyler
utopian-io
9y
steem-python for dummies #8 - Calculating post rewards
Hello, This is the 8. post of "steem-python for dummies" series. If you didn't read the older ones take your time and have a look. steem-python for dummies #1 - Introduction and Basic Operations
Older →