Coding text editor for remote server ?
Hi,
I am looking for a text editor to write python code on an amazon server that is not VI/VIM/Nano. I am currently using vim , but I find Komodo much easier to read from. To get to this server I must pass an intermediary server if that makes a diff. I want to be able to edit the scripts I have on the server using a text editor like Komodo Edit or something - without having to upload the changes to the server from my local machine each time.
Hope that makes sense.
Thanks
EDIT:
Didn't realise I could make VIM 'nicer' - Ill just use this : https://realpython.com/blog/python/vim-and-python-a-match-made-in-heaven/#vim-extensions
/r/Python
https://redd.it/7bkb5q
Hi,
I am looking for a text editor to write python code on an amazon server that is not VI/VIM/Nano. I am currently using vim , but I find Komodo much easier to read from. To get to this server I must pass an intermediary server if that makes a diff. I want to be able to edit the scripts I have on the server using a text editor like Komodo Edit or something - without having to upload the changes to the server from my local machine each time.
Hope that makes sense.
Thanks
EDIT:
Didn't realise I could make VIM 'nicer' - Ill just use this : https://realpython.com/blog/python/vim-and-python-a-match-made-in-heaven/#vim-extensions
/r/Python
https://redd.it/7bkb5q
Realpython
VIM and Python – A Match Made in Heaven – Real Python
This article details how to set up a powerful VIM environment for Python development.
[N] SpaCy 2.0 released (Natural Language Processing with Python)
https://github.com/explosion/spaCy/releases/tag/v2.0.0
/r/MachineLearning
https://redd.it/7bn8e8
https://github.com/explosion/spaCy/releases/tag/v2.0.0
/r/MachineLearning
https://redd.it/7bn8e8
GitHub
explosion/spaCy
💫 Industrial-strength Natural Language Processing (NLP) with Python and Cython - explosion/spaCy
Jinja 2.10 released with support for namespaces across scopes and rendering Python types
https://twitter.com/davidism/status/928359324904169473
/r/flask
https://redd.it/7boeun
https://twitter.com/davidism/status/928359324904169473
/r/flask
https://redd.it/7boeun
Twitter
David Lord
Just released Jinja 2.10! More info here: https://t.co/LeCqk4gxw3
JQuery/Ajax to call a server side function?
I am having some difficulty with the syntax to actually call a python(server side) function from a button on my html page.
I have an html table with a button on each row. I understand the concept of making a call back to the python application to run
def somefunction(someVarFromTable):
Which is located on my app.py file for now.
But the syntax of JS is throwing me off. Any resource recommendations? Thanks
EDIT:
Apprently I did NOT have a firm grasp of the concept. I was able to meet my needs by calling a {{ url_for(somefunction), someVarFromTable }} on button click and then redirecting back to my updated table.
/r/flask
https://redd.it/7bkmrr
I am having some difficulty with the syntax to actually call a python(server side) function from a button on my html page.
I have an html table with a button on each row. I understand the concept of making a call back to the python application to run
def somefunction(someVarFromTable):
Which is located on my app.py file for now.
But the syntax of JS is throwing me off. Any resource recommendations? Thanks
EDIT:
Apprently I did NOT have a firm grasp of the concept. I was able to meet my needs by calling a {{ url_for(somefunction), someVarFromTable }} on button click and then redirecting back to my updated table.
/r/flask
https://redd.it/7bkmrr
reddit
JQuery/Ajax to call a server side function? • r/flask
I am having some difficulty with the syntax to actually call a python(server side) function from a button on my html page. I have an html table...
When you confess something to your girlfriend & she keeps bringing it up
TypeError: input expected at most 1 arguments, got 4
/r/Python
https://redd.it/7bptca
TypeError: input expected at most 1 arguments, got 4
/r/Python
https://redd.it/7bptca
reddit
When you confess something to your girlfriend & she... • r/Python
TypeError: input expected at most 1 arguments, got 4
Advice to beginners - avoid generic class-based views when you are starting
When I started learning Django, I followed the Django and Mozilla tutorials. Both those tutorials recommended using generic class-based views.
Now it is cool that generic class-based views will save you coding time, but as a Django beginner, when you have very little knowledge of how views work at all, using generic class-based views will only serve to confuse you further.
For Django beginners I'd recommend to write only function-based views or your own class-based views, because they force you to write all the code yourself which will help you understand Django's MVT system much better.
The time you save in the beginning with generic class-based views will only confuse you and actually waste more time later on when you need to add much more detailed processing into your views.
My opinion only; I've been coding full time with Django for about 1.5 months.
/r/django
https://redd.it/7bnvmu
When I started learning Django, I followed the Django and Mozilla tutorials. Both those tutorials recommended using generic class-based views.
Now it is cool that generic class-based views will save you coding time, but as a Django beginner, when you have very little knowledge of how views work at all, using generic class-based views will only serve to confuse you further.
For Django beginners I'd recommend to write only function-based views or your own class-based views, because they force you to write all the code yourself which will help you understand Django's MVT system much better.
The time you save in the beginning with generic class-based views will only confuse you and actually waste more time later on when you need to add much more detailed processing into your views.
My opinion only; I've been coding full time with Django for about 1.5 months.
/r/django
https://redd.it/7bnvmu
reddit
Advice to beginners - avoid generic class-based views... • r/django
When I started learning Django, I followed the Django and Mozilla tutorials. Both those tutorials recommended using generic class-based...
How We Maintain High Levels of Code Quality
http://eldarion.com/blog/2017/10/17/how-we-maintain-high-levels-code-quality/
/r/Python
https://redd.it/7brkpn
http://eldarion.com/blog/2017/10/17/how-we-maintain-high-levels-code-quality/
/r/Python
https://redd.it/7brkpn
Eldarion
How We Maintain High Levels of Code Quality
For a long time, we used TravisCI and Coveralls for executing lint checkers and tests and tracking our code coverage. These are fine tools but we've recently switched to CircleCI and CodeCov. This is our default setup for projects.
I just finished up making a short series on the basics of NumPy and thought I would share it
https://www.youtube.com/watch?v=FxMS9I49HL8&list=PLmp4AHm0u1g3KQWb_z0b4CzSkyZpIqpe5
Hi everyone, I just finished putting together a quick tutorial series which will guide you along the basics of NumPy. I cover things like, creating an array from scratch, reading an array from a csv file, understanding array dimensions and indexing as well as many basic operations like addition, matrix multiplication and summing. If you follow the series to the end you should have the foundation to start learning to use NumPy for machine learning/ deep learning operations in under an hour.
/r/Python
https://redd.it/7bpzop
https://www.youtube.com/watch?v=FxMS9I49HL8&list=PLmp4AHm0u1g3KQWb_z0b4CzSkyZpIqpe5
Hi everyone, I just finished putting together a quick tutorial series which will guide you along the basics of NumPy. I cover things like, creating an array from scratch, reading an array from a csv file, understanding array dimensions and indexing as well as many basic operations like addition, matrix multiplication and summing. If you follow the series to the end you should have the foundation to start learning to use NumPy for machine learning/ deep learning operations in under an hour.
/r/Python
https://redd.it/7bpzop
YouTube
Intro to NumPy (Part 1)
In this video we cover the basic use cases of NumPy and why you would use it instead of standard python lists. Visit https://discord.gg/bevYwcG to join my di...
Plotnine 0.3.0 released
[Plotnine](https://github.com/has2k1/plotnine) is an implementation of a grammar of graphics in Python based on ggplot2. You can now animate similar plots. For more, see the
[documentation](http://plotnine.readthedocs.io/en/stable/)
and [changelog](https://plotnine.readthedocs.io/en/stable/changelog.html#v0.3.0).
/r/Python
https://redd.it/7boozx
[Plotnine](https://github.com/has2k1/plotnine) is an implementation of a grammar of graphics in Python based on ggplot2. You can now animate similar plots. For more, see the
[documentation](http://plotnine.readthedocs.io/en/stable/)
and [changelog](https://plotnine.readthedocs.io/en/stable/changelog.html#v0.3.0).
/r/Python
https://redd.it/7boozx
GitHub
GitHub - has2k1/plotnine: A Grammar of Graphics for Python
A Grammar of Graphics for Python. Contribute to has2k1/plotnine development by creating an account on GitHub.
[Question] Deserializing nested data with Django-Rest-Framework
https://www.reddit.com/r/django/comments/7bot9q/question_deserializing_nested_data_with/
/r/djangolearning
https://redd.it/7bpn0k
https://www.reddit.com/r/django/comments/7bot9q/question_deserializing_nested_data_with/
/r/djangolearning
https://redd.it/7bpn0k
reddit
[Question] Deserializing nested data with... • r/django
I am struggling with deserializing nested data using Django Rest Framework. I have events which may or may not have nested fee or venue data....
[P] A Real-Time Mario Kart 64 AI Using CNNs, Offline Search, and DAGGER
https://www.youtube.com/watch?v=Eo07BAsyQ24
/r/MachineLearning
https://redd.it/7bqk0n
https://www.youtube.com/watch?v=Eo07BAsyQ24
/r/MachineLearning
https://redd.it/7bqk0n
YouTube
A Neural Network Plays Mario Kart 64
This is a video of a convolutional neural network Mario Kart 64 AI, created as a final project for Stanford's CS231n class.
Videos of Runs - https://www.youtube.com/playlist?list=PLSHD7WB3aI6Ks04Z7kS_UskyG_uY02EzY
Code - https://github.com/rameshvarun/NeuralKart…
Videos of Runs - https://www.youtube.com/playlist?list=PLSHD7WB3aI6Ks04Z7kS_UskyG_uY02EzY
Code - https://github.com/rameshvarun/NeuralKart…
Writing a basic x86-64 JIT compiler from scratch in stock Python
https://csl.name/post/python-jit/
/r/Python
https://redd.it/7btwa9
https://csl.name/post/python-jit/
/r/Python
https://redd.it/7btwa9
How to configure Django project for multiple environments
https://blog.apptension.com/2017/11/09/how-to-configure-django-project-for-multiple-environments/?utm_source=reddit.com&utm_medium=referral&utm_campaign=reddit
/r/django
https://redd.it/7bt2n2
https://blog.apptension.com/2017/11/09/how-to-configure-django-project-for-multiple-environments/?utm_source=reddit.com&utm_medium=referral&utm_campaign=reddit
/r/django
https://redd.it/7bt2n2
Apptension
How to configure Django project for multiple environments?
Learn how to configure Django project for multiple environments to write manageable code with fewer duplications and more accurate settings.
SQLAlchemy ORM Tutorial for Python Developers
https://auth0.com/blog/sqlalchemy-orm-tutorial-for-python-developers?utm_source=reddit&utm_medium=sc&utm_campaign=sqlalchemy_python
/r/Python
https://redd.it/7bujvf
https://auth0.com/blog/sqlalchemy-orm-tutorial-for-python-developers?utm_source=reddit&utm_medium=sc&utm_campaign=sqlalchemy_python
/r/Python
https://redd.it/7bujvf
Auth0 - Blog
SQLAlchemy ORM Tutorial for Python Developers
Let's learn how to use SQLAlchemy ORM to persist and query data on Python applications.
Concerned about using Django
Hi,
My background is in PHP (It serves me well) and I use it primarily at work, however I've been learning Python and Django at home and am really enjoying using them and would like to start using them for work, but I just have a few concerns about deployment.
My main concern is portability I suppose. For example if I created a CRM system that could be distributed like WordPress this would be fairly simple in PHP as almost every host supports it and if a client already pays for hosting on servers my company doesn't use then I can just upload the files and the application would work. Is this ease of use doable with a Django application? From what I gather there is a lot of additional configuration required, and as I say if the final environment is out of my hands then I'd rather use something that I know will work.
I have considered just using PHP for work and Django for my own side projects, but I'm really like the Python language and the Django framework so if I could use them on projects at work that would be really cool.
Thanks in advance.
/r/django
https://redd.it/7bvo4g
Hi,
My background is in PHP (It serves me well) and I use it primarily at work, however I've been learning Python and Django at home and am really enjoying using them and would like to start using them for work, but I just have a few concerns about deployment.
My main concern is portability I suppose. For example if I created a CRM system that could be distributed like WordPress this would be fairly simple in PHP as almost every host supports it and if a client already pays for hosting on servers my company doesn't use then I can just upload the files and the application would work. Is this ease of use doable with a Django application? From what I gather there is a lot of additional configuration required, and as I say if the final environment is out of my hands then I'd rather use something that I know will work.
I have considered just using PHP for work and Django for my own side projects, but I'm really like the Python language and the Django framework so if I could use them on projects at work that would be really cool.
Thanks in advance.
/r/django
https://redd.it/7bvo4g
reddit
Concerned about using Django • r/django
Hi, My background is in PHP (It serves me well) and I use it primarily at work, however I've been learning Python and Django at home and am...
Python extension for VSCode updated, now brought to you by Microsoft. (crosspost from /r/vscode)
https://www.reddit.com/r/vscode/comments/7burdg/python_extension_for_vscode_updated_now_brought/
/r/Python
https://redd.it/7buxom
https://www.reddit.com/r/vscode/comments/7burdg/python_extension_for_vscode_updated_now_brought/
/r/Python
https://redd.it/7buxom
reddit
Python extension for VSCode updated, now brought to you... • r/vscode
I'm partial to using VSCode to code in Python. I updated the Python extension by Don Jayamanne (version 0.7.0), and it now seems to be maintained...
[AF] Performance penalty for jinja_env.globals? Any other reason not to do it?
I occasionally run into situations where Jinja is missing a few import Python functions, like len(), or even some of my own. So I've been making liberal use of jinja_env.globals to sneak some of those functions into my templates.
Is there any reason I shouldn't do that? It feels like cheating and it is rubbing my Catholic childhood wrong. Anything this quick and easy must be bad, and will surely damn me for eternity.
/r/flask
https://redd.it/7bvxnl
I occasionally run into situations where Jinja is missing a few import Python functions, like len(), or even some of my own. So I've been making liberal use of jinja_env.globals to sneak some of those functions into my templates.
Is there any reason I shouldn't do that? It feels like cheating and it is rubbing my Catholic childhood wrong. Anything this quick and easy must be bad, and will surely damn me for eternity.
/r/flask
https://redd.it/7bvxnl
reddit
[AF] Performance penalty for jinja_env.globals? Any... • r/flask
I occasionally run into situations where Jinja is missing a few import Python functions, like len(), or even some of my own. So I've been making...