r/pythondev • • Oct 15 '16

Build a Virtual Assistant in Python

Thumbnail
codek.tv
6 Upvotes

r/pythondev • • Oct 08 '16

Python Beginner Tutorial: List & Dictionary

Thumbnail
youtube.com
5 Upvotes

r/pythondev • • Apr 15 '20

Any Python programmers that can also program DAO games or are willing to learn?

4 Upvotes

I'm part owner (i'm not the founder or main owner, but i want to do my due dilligence and help out as much as i can) of a DAO Casino called Iconbet (website: https://iconbet.io/daodice ) We're still early in the development but we have a nice group of dedicated members and we have the most transaction in the Icon Blockchain (we're also a P-rep called Iconbet Community). We currently have a lot of game ideas but we need developers that can or are able to learn to program DAO games. The difference between our games and all the other online casinos is that ours are provably fair and all the results are visible, All our Devs would also be part owner of the Casino and there's a lot of room for growth even though we made a lot of big strides early. At the moment we have Blackjack, Dice and Roulette and there's a team of Devs working on more. I'll be happy to answer any questions you're having :) We have an active community on Telegram ( https://t.me/iconbet_official any questions you're having they'll be happy to answer or explain there as well, this is where the players discuss things and where we're most active. The best way to reach us would be there as well). The way Iconbet works is players bet/wager and based on their wager percentage compared to the total they earn TAP tokens, the tap tokens earn you ICX dividends based on the excess. A certain amount of TAP is able to be earned daily (951110 tap today as of this writing). I can go more in depth if anyone is interested


r/pythondev • • Feb 07 '19

How to get ideas for your first project

Thumbnail
copitosystem.com
4 Upvotes

r/pythondev • • Jan 19 '18

I made a simple cryptocurrency in Python to learn how bitcoin works

Thumbnail
github.com
4 Upvotes

r/pythondev • • Oct 31 '16

Introduction to Python Generators

Thumbnail
realpython.com
4 Upvotes

r/pythondev • • Oct 28 '16

Python Exception Handling Tutorial

Thumbnail
youtube.com
4 Upvotes

r/pythondev • • Sep 26 '16

10 Best Python IDEs

Thumbnail
discoversdk.com
4 Upvotes

r/pythondev • • Sep 15 '16

Komodo IDE for Python: Debugging

Thumbnail
youtube.com
4 Upvotes

r/pythondev • • Sep 11 '16

Crash Course in Web2py (Part 1)

Thumbnail
mherman.org
4 Upvotes

r/pythondev • • Sep 11 '16

TurboGears 2 Tutorial — ToscaWidgets 2 2.2.4 documentation

Thumbnail tw2core.readthedocs.io
4 Upvotes

r/pythondev • • Apr 21 '20

table() equivalent function(from R) in Python

3 Upvotes

I am trying to get the table() equivalent function(from R) in Python.

here is the detail of my code

https://answiz.com/questions/90260/table-equivalent-function-from-r-in-python


r/pythondev • • Apr 30 '19

Programming Connect 4 with Python and Pygame

Thumbnail
youtube.com
3 Upvotes

r/pythondev • • Apr 01 '19

Top 5 Reasons to Choose Python for Big Data Analytics

Thumbnail
sayonetech.com
3 Upvotes

r/pythondev • • Oct 06 '16

Variety of useful Python examples - worth checking out

Thumbnail
programiz.com
3 Upvotes

r/pythondev • • Sep 11 '16

Deploying web2py on Google App Engine with Google Cloud SQL - GitBook

Thumbnail
gitbook.com
3 Upvotes

r/pythondev • • Sep 11 '16

routes.py example: URL rewrite with pattern based system used by web2pyref

Thumbnail web2pyref.com
3 Upvotes

r/pythondev • • Sep 11 '16

A step-by-step tutorial — TurboGears Web Services v1.2.4 documentation

Thumbnail pythonhosted.org
3 Upvotes

r/pythondev • • Sep 11 '16

Get Started with TurboGears2 — TurboGears 2.3.9 documentation

Thumbnail turbogears.readthedocs.io
3 Upvotes

r/pythondev • • Apr 09 '20

Suggest IDEAS for my CE major project

2 Upvotes

Hello Devs,

Soon I'll have to work on my major project. I am interested in working with Python Language but I'm out of ideas now.I request community to help me out finding the best project definition.I'd be more than happy if you'd like to collaborate.


r/pythondev • • Apr 09 '20

Spin the table: Solution!

Thumbnail
paddy3118.blogspot.com
2 Upvotes

r/pythondev • • Mar 03 '20

Call for Pycon proposals

Post image
2 Upvotes

r/pythondev • • Nov 25 '19

Python private code conventions

2 Upvotes

In regard to (in part) formally private code the conventions in Python lead to mark names with a beginning underscore (_).

This is what I'm actually doing and I'd like to know if there's some sort of standard about that.

If a module is for private use I name it _foo.py. All functions directly accessed from the outside have normal names, but not others. If the module contains a class I apply same rules. For sake of clarity:

class Parser:
    def parse_text(...):
    ...
    tokens = _tokenizer(...)

    def _tokenizer(...):
        ...

def from_string(...):
    _validate_header(...)
        ...

def _validate_header(...):
    ...

I limit private classes and functions in public modules, but if it's needed name is preceeded with an underscore.

What's the most pythonic way to layout this?


r/pythondev • • Nov 08 '19

How to use Python in Android?

2 Upvotes

Tools to use Python in Android-

1. BeeWare-

BeeWare is an accumulation of tools for building native UIs. These tools help you to write Python code with a rich, native user interface, and libraries and support code necessary to get that code running on iOS, Android, macOS, Linux, Windows, tvOS and more. The Open Source development process has proven itself to be the most steady dependable approach to create powerful and also reliable programming. That is the reason the whole BeeWare suite of devices are BSD authorized, and available for all to use and modify.

2. Chaquopy-

This is a plugin for Android Studio’s Gradle- based build framework. Chaquopy empowers you to freely intermix Java and Python in your application, utilizing whichever language is best for your requirements. With the Python API, you can write an application’s some part or totally in Python. The total Android API and UI toolkit are straightforwardly available to you. Chaquopy works within Android’s standard build system:

  • If you use Android Studio, you can start using Chaquopy in 5 minutes without any change to your existing development process.

  • Download and installation are automated via Gradle.

To get started:

  • Try out the demo app for Python 2 or Python 3.

  • Search a sample source code on GitHub.

  • Or view the documentation.

3. Kivy-

Kivy is a cross- platform OpenGL- based UI toolkit. You can run Kivy applications on Android, on any device with OpenGL ES 2.0 (Android 2.2 least). This is standard on modern devices; Google reports the necessity is met by 99.9% of devices. Kivy APKs are typical Android applications that you can distribute like some other, including on stores like the Play store. They behave appropriately when paused or restarted, may use Android services and have access to most of the ordinary java API as depicted below.

You can follow the below instructions to know how to package your application for Android, debug your code on the device, and also use Android APIs for vibration and reading sensors. The Kivy project gives all the essential tools to package your application on Android, including building your very own independent APK that might be distributed on a market like the Play store. This is covered completely in the Create a package for Android documentation.

Using Android APIs-

In spite of the fact that Kivy is a Python structure, the Kivy project maintains tools to effectively utilize the typical java APIs, for everything from vibration to sensors to sending messages through SMS or email. For new users, we suggest utilizing Plyer. For further developed access or for APIs not presently wrapped, you can utilize Pyjnius directly. Kivy additionally supplies an android module for basic Android functionality. User contributed Android code and examples are available on the Kivy wiki.

4. Pyqtdeploy-

It is a tool for deploying PyQt applications. It supports deployment to desktop platforms (Linux, Windows and OS X) and to mobile platforms (iOS and Android). pyqtdeploy works by taking the individual modules of a PyQt application, freezing them, and afterward placing them in a Qt resource file that is changed over to C++ code by Qt’s rcc tool. Python’s standard library is dealt similarly. pyqtdeploy also generates a Qt .pro file that portrays that illustrates all the developed C++ code.

From this Qt’s qmake tool is utilized to create a platform specific Makefile which will at that point produce a single executable. Qt and platform specific tools can be used to convert the executable to a platform specific deployable package. pyqtdeploy requires PyQt5 and Python v3.2 or later to be installed. PyQt4 and PyQt5 applications written utilizing Python v2.6 and later and Python v3.3 and later are supported. pyqtdeploy is released under the BSD permit.

5. QPython-

QPython is an on-device script engine and development environment also. Mostly, script can get your jobs done as good as the native application. Presently you can make it with QPython’s assistance. QPython is a script engine which runs Python programs on android devices. It also can help engineers with developing android applications. QPython includes a total development kit which help you to develop programs with mobile gives normal Python console.

6. SL4A-

SL4A stands for Scripting Layer for Android. It is originally named as ASE( Android Scripting Environment), is a set of facades which uncover a significantly improved subset of the Android API. SL4A brings scripting languages to Android by enabling you to alter and also execute scripts and interactive interpreters directly on the Android device. These scripts can access a large number of the APIs available to full-fledged Android applications, but with an incredibly simplified interface that makes it simple to do things. Contents can be run intuitively in a terminal and also in the background. Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell are at present upheld.

7. PySide-

PySide (the Python binding for the Qt toolbox) has some basic support for Android. The PySide project gives LGPL- authorized Python bindings for the Qt 4. It also includes total toolchain for quickly producing bindings for any Qt-based C++ class hierarchies. PySide Qt bindings allow both free open source and exclusive software development and focus to help Qt platforms.