34 Respostas
+ 13
Mobile Apps:
I can honestly recommend PyDroid3, it works splendid, for a mobile app, that is.
PyDroid can be accessed here:
https://play.google.com/store/apps/details?id=ru.iiec.pydroid3
Thanks to an external Ministro II library (has to be installed separately) it supports PyQt5 and so matplotlib, seaborn and alike :)
Kuba Siekierzyński
➡️Youtube tutorials:
basic to advanced (full python tutorial)
https://www.youtube.com/playlist?list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M
Best for learning Python(Top websites):
https://www.programiz.com
https://www.datacamp.com
https://www.makeuseof.com/tag/5-websites-learn-python-programming/
https://www.udemy.com
https://www.codeacademy.com
http://www.geeksforgeeks.org/python/
http://www.geeksforgeeks.org/python-language-introduction/
Index of es Python
http://index-of.es/Python/
🔻Python is a high-level programming language, with applications in numerous areas, including web programming, scripting, scientific computing, and artificial intelligence.
It is very popular and used by organizations such as Google, NASA, the CIA, and Disney.
https://www.sololearn.com/learn/Python/2269/?ref=app
🔷Here are a lot of examples of using Python:
https://en.wikipedia.org/wiki/List_of_Python_software?wprov=sfla1
To improve coding skills:
https://www.sololearn.com/Discuss/437973/?ref=app
Python for Game Developer:
https://www.sololearn.com/Discuss/1136841/?ref=app
-a solid book also suitable for beginner is "Think Phyton" first edition for version until v2 (http://greenteapress.com/wp/think-python/), second edition for v3
http://greenteapress.com/wp/think-python-2e/
Book
http://www.diveintopython3.net
+ 8
Very helpful Resources:
http://thonny.org
https://code.sololearn.com/WLERR0KIgB86/?ref=app
https://code.sololearn.com/W1dgaelo4Yxa/?ref=app
https://code.sololearn.com/WLERR0KIgB86/?ref=app
https://code.sololearn.com/WLERR0KIgB86/?ref=app
https://www.sololearn.com/Discuss/510275/?ref=app
https://www.sololearn.com/Discuss/208039/?ref=app
https://www.sololearn.com/Discuss/636195/?ref=app
https://www.sololearn.com/Discuss/844148/?ref=app
https://www.sololearn.com/Discuss/923664/?ref=app
https://www.sololearn.com/Discuss/204501/?ref=app
https://www.sololearn.com/Discuss/476426/?ref=app
https://code.sololearn.com/W053FGMMcFME/?ref=app
https://www.sololearn.com/Discuss/510018/?ref=app
https://code.sololearn.com/WBHiShj1ublU/?ref=app
https://www.sololearn.com/Discuss/821134/?ref=app
https://www.sololearn.com/Discuss/204501/?ref=app
https://www.sololearn.com/Discuss/444755/?ref=app
https://www.sololearn.com/Discuss/875707/?ref=app
https://www.sololearn.com/Discuss/871973/?ref=app
https://www.sololearn.com/Discuss/1081014/?ref=app
What is the Best Python IDE?
https://www.sololearn.com/Discuss/1145128/?ref=app
Great free series of books
http://inventwithpython.com
+ 8
[DUPLICATE] what is indentation? give me clear idea about that:
Other languages use { } signs in statement parts of functions, Python uses space / spaces instead of using signs.
Normally after conditional part or after a colon (:) next part is starts with indentation (by using 1/2/4 spaces,standard way is using 2 space)
https://www.sololearn.com/discuss/582896/?ref=app
https://www.sololearn.com/discuss/746501/?ref=app
+ 5
https://www.sololearn.com/Discuss/821134/?ref=app
+ 4
YouTube tutorials on Python:
http://www.youtube.com/playlist?list=PL-J2q3Ga50oMjIbufBm0Xpz2gjCWDGimv
+ 4
What is the future of Python?
https://www.quora.com/What-is-the-future-of-Python
+ 4
Typically, programming languages on numerical computing are split into two groups: static languages such as C, C++ and Fortran, which are fast for execution but slow for development, and dynamic languages such as Python, R and Matlab, which are often slow in their execution but enable rapid development.
+ 3
try to build something that will test what you've learned in here
+ 2
A Float is expressed a number as fractional value as 1.00, 2.00, 3.00, 1.5, 1.50, 1.75, 1.83, 1.333333333333 etc.
An integer means full value,it has no fraction,so it's expressed as 1, 2, 3, 4, 5, 6, 7 8, ...100 etc.
A integer can convert into float and this float is expressed as 1 to 1.0, or 1.00
A float can convert into integer by omitting It's fractional part as 1.333333 to 1, 2.75 to 2
More about Float
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2272/
[Prabhat Thakir ]
A floating point number is a extension of an older format ,called fixed point numbers.A fixed point number. would store a fixed number of digits before and after the decimal point (in binary).for example ,+1110101.00001000 is an example of a 16 bit fixed point number in 7.8 format(one bit is spent on sign).
The term double is short for "double precision floating point number ".it literally means that twice as many as bits are used in storing it as a regular floating point number.on a typical modern machines,floats are 32 bits( 1 but for sign,8bits for exponent,23 bits for value),while doubles are 64 bits(1 for the sign,11 bits for exponent and 52 bits for the value).
+ 2
If we divide 1.25 by .5 than, we can write:
1.25= .5*2(here .5*2=1)+.25 (here .25 is remainder, here further division approaches not followed as normal mathematical process follows, in normal mathematical process, we can write 1.25/.5 = 2.5)
hence,
1.25 divided by .5, quotient is 2 and .25 isn't divided by .5 so it is remainder.
above term is expressed by modulus sign (%),where % shows only remainder,not shows quotient.
it is expressed by
5%2 = 1
11%4 = 3
5%3 = 2
3%5 = 3
6%5 = 1
12%7 = 5
2%2 = 0
1.25%.5 = .25
+ 2
[Courtesy: Allen Smith]
A string is created by entering text between two single or double quotation marks.
Usually text are expressed as string, but a number is also expressed as string by using quotation marks.
Example -
"My birthday was 28 02" or
'It was awesome'
When the Python console displays a string, it generally uses single quotes. The delimiter used for a string doesn't affect how it behaves in any way.
https://www.sololearn.com/learn/Python/2274/
+ 2
They're 5000+ Programming languages active all over the world.Different languages use for different purposes.
🐍Coding in Python is brief and easy, in USA academic Institutes first teach Python to all beginners for its simplicity and easy to learn.
🎯⛳Python is mostly used Programming language and present trend is on Python, because it's as simple as human language. It's simple and brief coding systems and usability with most of the operating systems makes it most popular.
Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types, and classes. Python combines remarkable power with very clear syntax. It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++. It is also usable as an extension language for applications that need a programmable interface. Finally, Python is portable: it runs on many Unix variants, on the Mac, and on Windows 2000 and later.
https://www.sololearn.com/learn/Python/2269/
+ 2
Python is easy. It's simple and brief coding makes it more attractive to a Programmer.
Actually if you try to understand, memorize basic syntaxes (such as strings,lists,while,if,for, return,else, functions) then it comes very easy to establish logic for solving problems.
All the best wishes for you and enjoy learning 🐍.
Python is a high-level programming language, with applications in numerous areas, including web programming, scripting, scientific computing, and artificial intelligence.
It is very popular and used by organizations such as Google, NASA, the CIA, and Disney.
https://www.sololearn.com/discuss/914940/?ref=app
https://www.sololearn.com/discuss/875954/?ref=app
+ 2
Python
Python is a general purpose language which you can find almost anywhere today. You’ll find it in web applications, desktop apps, network servers, machine learning, media tools and more.
It’s used by big players like NASA or Google, where the Python creator Guido van Rossum was employed for about 8 years writing mostly…Python.
Python code is neat, readable, and well-structured. Proper indentation is not just for beauty here — it determines code execution.
Python-based web development frameworks like Django and Flask have been gaining more and more popularity. Also, the language is heavily equipped with quality machine learning and data analysis libraries like Scikit-learn and Pandas.
On the whole, career paths with Python are various and here to stay. It’s a good choice for beginner developers, as it’s high-level and easy to read and comprehend.
+ 2
https://www.sololearn.com/Discuss/1171394/?ref=app
Difference between Statement & Expression
Statements represent an action or command e.g print statements, assignment statements.
print 'hello', x = 1
Expression is a combination of variables, operations and values that yields a result value.
5 * 5 # yields 25
Lastly, expression statements
print 5*5
For details:
https://stackoverflow.com/questions/4728073/what-is-the-difference-between-an-expression-and-a-statement-in-JUMP_LINK__&&__python__&&__JUMP_LINK
+ 2
https://www.sololearn.com/Discuss/1184007/?ref=app
What is the output of this code and why?
a=[1,2,3,4,5]
for n in a :
a.remove(n)
print (a)
+ 1
Why compiler is faster than interpreter?
The answer comes from the difference in both.
Interpreting code is slower than running the compiled code because the interpreter must analyze each statement in the program each time it is executed, and then perform the desired action,
whereas the compiled code just performs the action within a fixed context determined by the compilation.
But, in case of debugging, interpreter wins over compiler.
An edit-interpret-debug cycle could be much faster than an edit-compile-run-debug cycle!
Source:
https://www.sololearn.com/Discuss/1134817/?ref=app
+ 1
4. Map, Filter and Reduce Functions
4.1. Map
Map applies a function to all the items in an input_list. Here is the blueprint:
Blueprint
map(function_to_apply, list_of_inputs)
Most of the times we want to pass all the list elements to a function one-by-one and then collect the output. For instance:
items = [1, 2, 3, 4, 5]
squared = [] for i in items: squared.append(i**2)
Map allows us to implement this in a much simpler and nicer way. Here you go:
items = [1, 2, 3, 4, 5]
squared = list(map(lambda x: x**2, items))
Most of the times we use lambdas with map so I did the same. Instead of a list of inputs we can even have a list of functions!
def multiply(x): return (x*x) def add(x):
return (x+x)
funcs = [multiply, add] for i in range(5):
value = list(map(lambda x: x(i), funcs)) print(value) # Output: # [0, 0] # [1, 2] # [4, 4] # [9, 6] # [16, 8]
http://book.pythontips.com/en/latest/map_filter.html
+ 1
Python was developed by a Dutch programmer, Guido van Rossum.
He described why he developed Python, "My original motivation for creating Python was the perceived need for a higher level language in the Amoeba project.
I realized that the development of system administration utilities in C was taking too long.
Moreover, doing these in the Bourne shell wouldn’t work for a variety of reasons.
The most important one was that as a distributed micro-kernel system with a radically new design, Amoeba’s primitive operations were very different (and finer-grain) than the traditional primitive in operations available in the Bourne shell.
So there was a need for a language that would 'bridge the gap between C and the shell'. For a long time, this was Python’s main catchphrase."
Hence, Python was conceived to let users program more easily for building applications as compared to other languages, say, like Java or C/C++.
http://python-history.blogspot.com/2009/01/personal-history-part-1-cwi.html
+ 1
In a live Python shell, it is supposed to display a line which prompts you to input something. However, Code Playground does not provide a live console, and hence it would seem redundant. In reality, it isn't.
CPython vs IronPython
I use PyCharm, personally to program in Python, but if you plan to use .Net, you should use IronPython, while if you don't have to use it, maybe CPython is the best choice, as it's the implementation that is actively developed...