Comments (3)
But, if we treat on space at begin/end it is not going to be general.
The user could put a tab or more than one space. Thats why we have the update function. If you enter a wrong name, you can correct it by updating the entry.
from sci-corpus.
I don't know. I would prefer that it correct this kind of thing auto. We need to discuss. If the blank space is at begin you can see easily, but if is at the end, in the list you will never see.
from sci-corpus.
This topic has the answer, just use .strip() will remove all unnecessary chars from beginning and end of a string.
http://stackoverflow.com/questions/761804/trimming-a-string-in-python
from sci-corpus.
Related Issues (20)
- Better collor for selected categories
- Optional auto clear for reference field HOT 2
- Tools for text edit
- Shortcuts for actions
- Auto formatting text inside text edit
- Save as don't change the current file HOT 2
- Close and save, it rewrite the last path HOT 4
- Disable save after save it
- Auto save option
- Show error messages in log view and pop up if critical HOT 5
- Total number of section/component/strategy/sentence
- Printing empty categories in PDF export HOT 8
- Adjust sentence - dim and replace modes HOT 17
- Workspace dialog when first open software
- Internal doc and Wiki
- New fields for preferences and pdf - auto clear sentence/reference HOT 1
- Choose markers automatically HOT 2
- Two modes: writing and insertion
- Select categories to show in writing mode
- Keep the highlighted sentences on top
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sci-corpus.