Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,420
» Latest member: dazz
» Forum threads: 38,543
» Forum posts: 174,668

Full Statistics

Online Users
There are currently 450 online users.
» 0 Member(s) | 445 Guest(s)
Yandex, Bing, Applebot, Google

Latest Threads
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 4
» Views: 201
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
2 hours ago
» Replies: 2
» Views: 40
White Screen Issue with T...
Forum: General Coding Help
Last Post: encore
3 hours ago
» Replies: 3
» Views: 1,102
Get the string after a sp...
Forum: General Coding Help
Last Post: snl_9527
4 hours ago
» Replies: 5
» Views: 225
Eight Queens Problem, err...
Forum: General Coding Help
Last Post: snl_9527
8 hours ago
» Replies: 9
» Views: 550
I am sending messages usi...
Forum: General Coding Help
Last Post: Hendrikb
Yesterday, 09:38 AM
» Replies: 0
» Views: 90
function arguments
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:48 AM
» Replies: 1
» Views: 141
[Beautiful Soup] Replace ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 05:45 AM
» Replies: 1
» Views: 178
how to delete thread
Forum: Board
Last Post: DeaD_EyE
Apr-28-2025, 07:30 PM
» Replies: 4
» Views: 291
Atari Ping Pong Game
Forum: Code sharing
Last Post: deanhystad
Apr-28-2025, 05:04 PM
» Replies: 1
» Views: 165

 
  banning accounts upon key words/phrases
Posted by: metulburr - Oct-24-2016, 12:24 AM - Forum: Board - Replies (22)

I requested an anti spam plugin and someone responded back with the plugin code. 

it blocks a post from being made and deletes the account. This is..... More

Print this item

  package installed by synaptic not accessible by jupyter
Posted by: kwijyb00 - Oct-23-2016, 10:20 PM - Forum: Data Science - Replies (2)

[color=#222222][font=Verdana, arial, sans-serif]I have this problem probably generated by having installed anaconda python over a ubuntu 16.10 sys whe..... More

Print this item

  Number logic problem
Posted by: m1xzg - Oct-23-2016, 06:20 PM - Forum: General Coding Help - Replies (13)

Hello all,  I'm having a bit of a problem with some number logic in a python script I'm working on.   The back story is this...

I have a raspberry ..... More

Print this item

  alternative to python
Posted by: Skaperen - Oct-23-2016, 09:05 AM - Forum: Bar - Replies (32)

if you were to make your own language similar to python, but not necessarily compatible, how would yours differ?

i had been thinking of writing one..... More

Print this item

  PyPDF2, merge.append(...) problem
Posted by: peterkl - Oct-23-2016, 08:31 AM - Forum: General Coding Help - Replies (1)

Greetings everyone,
I was developing a program to add Metadata to several PDF Files I have using PyPDF2, more specifically with the PdfFileMerger mo..... More

Print this item

  Open Source and X Platform development editor for Python
Posted by: donj - Oct-23-2016, 08:12 AM - Forum: News and Discussions - Replies (12)

Hi Everyone,

I'm the author of a Python extension for the open source, MIT licensed and cross platform Visual Studio Code Editor (https ://code.vis..... More

Print this item

  Unwanted random generation of scripted Shapes in GASP
Posted by: diemildefreude - Oct-23-2016, 07:34 AM - Forum: General Coding Help - Replies (3)

Hello,

I'm currently learning Python 2.7 with the help of this tutorial: http://openbookproject.net/thinkcs/pytho.../ch04.html If you look ..... More

Print this item

  NameError: name 'bsObj' is not defined
Posted by: Blue Dog - Oct-22-2016, 07:24 PM - Forum: Web Scraping & Web Development - Replies (14)

I am not sure what this error is.
here is the line of code it is talking about:

for link in bsObj.findAll("a", href=re.compile("^(/wiki/)")):

H..... More

Print this item

  multiprocess passing multiple arguments double asterisk
Posted by: pic8690 - Oct-22-2016, 07:00 PM - Forum: General Coding Help - Replies (1)

[python]

import multiprocessing as mp

def bar(**kwargs):
   for a in kwargs:
      print a,kwargs[a]

arguments={'name':'Joe','age':20}
p=m..... More

Print this item

  Python3 to Arduino
Posted by: holt24 - Oct-22-2016, 03:28 PM - Forum: General Coding Help - Replies (5)

Hi. My first post on here.
 I am trying to send - receive Python3 <> Arduino.
I had this working with Python2.7 now would like to convert to Pyhon3..... More

Print this item

  Read input file and print hyperlinks
Posted by: Emmanouil - Oct-22-2016, 11:07 AM - Forum: Web Scraping & Web Development - Replies (8)

Hello everybody, sorry for my last post it does not show the picture,
Edit admin:
No problem,just find "Insert Python tag" button.

I am new in py..... More

Print this item

  Naive Bayes too slow
Posted by: pythlang - Oct-21-2016, 09:22 PM - Forum: Data Science - Replies (22)

So, after fooling around with this algorithm I've noticed that it's entirely too slow since it's a learning kit, especially for analyzing large sets o..... More

Print this item

  ReGex With Python
Posted by: Kalet - Oct-21-2016, 08:29 PM - Forum: Web Scraping & Web Development - Replies (33)

Hi, I have a problem I could not solve, ask for your cooperation. 

Link => pastebin /QvZGfKTZ (add .com in pastebin).

I need only select the tex..... More

Print this item

  Show GPG keys in pyqt5 window
Posted by: Fred Barclay - Oct-21-2016, 08:04 PM - Forum: GUI - Replies (1)

G'day mates! I'm working on RumpelstilskN and I've exhausted my admittedly meager pyqt5 knowledge..... More


Attached Files

Thumbnail(s)
   
Print this item

  Creating Dynamic Variable Names
Posted by: Dragonexpert - Oct-21-2016, 05:02 PM - Forum: General Coding Help - Replies (3)

I was looking around at the MySQLdb extension and noticed that returns are a field number instead of a field name.
I was working on building a functi..... More

Print this item

  here is another 2.7 to 3.5 convert
Posted by: Blue Dog - Oct-21-2016, 04:37 PM - Forum: General Coding Help - Replies (5)

here is the code, some of it have been converted, so like it is not it will not run on ether one.

[python]import socket   #for sockets
import sys ..... More

Print this item

  Manipulating files Python 2.7
Posted by: hugobaur - Oct-21-2016, 01:20 PM - Forum: General Coding Help - Replies (6)

Folks,

I have a difficulty here to manipulate files.

Objective: I'm developing a script that needs to create folders and copy files from a sourc..... More

Print this item

  Reading privacy
Posted by: Ofnuts - Oct-21-2016, 10:25 AM - Forum: Board - Replies (3)

Just noticed this (and yes, it was talked about in "First impressions....").

[quote]
[size=x-small]Users browsed this thread: ..... More

Print this item

  Sage program question
Posted by: Doesnotcompute - Oct-21-2016, 09:45 AM - Forum: General Coding Help - Replies (2)

Hi , I have a problem with the following code (it's fairly simple I guess) , when I enter "what is love?" I get one of the random responses back , and..... More

Print this item

  suggestions for a GUI client program
Posted by: Skaperen - Oct-21-2016, 04:58 AM - Forum: GUI - Replies (1)

i have a plan to develop a program to dig deep into the Mandelbrot and Julia spaces and display the result in color.  an intended feature is to do the..... More

Print this item

  [split] adding 3rd party libs
Posted by: Blue Dog - Oct-21-2016, 12:35 AM - Forum: General Coding Help - Replies (7)

Hello Big Grin 

I need to put some modules in python 3.4, my os is win 7. How would I do that? One of the modules I need is pyperclip

..... More

Print this item

  Dont quote me on this!
Posted by: Yoriz - Oct-20-2016, 09:44 PM - Forum: Bar - Replies (16)

Yoriz Wrote: Wrote:This thread needs the quote feature disabled. [Image: smiley-faces-75.gif]
..... More

Print this item

  Mod_Python Issue
Posted by: wsmith - Oct-20-2016, 07:33 PM - Forum: Web Scraping & Web Development - Replies (3)

I have Apache running on a RedHat server, set up with mod_python using mod_python.publisher.
I have no problem navigating to any of the Python script..... More

Print this item

  Any one here used Rust (programming language) ?
Posted by: micseydel - Oct-20-2016, 06:35 PM - Forum: Bar - Replies (4)

Anyone here use Rust yet?

Print this item

  2d vector library advice
Posted by: kristofferorum - Oct-20-2016, 03:47 PM - Forum: General Coding Help - Replies (1)

Hi all,
 I'm a relative pythonic noob trying to figure out what library to use in order to do some 2d drawing with embedded bitmap graphics. I'm look..... More

Print this item

  Reusing same namespace name when writing back XML with xml.etree.ElementTree
Posted by: Ofnuts - Oct-20-2016, 03:26 PM - Forum: General Coding Help - Replies (1)

I'm editing an XML file with xml.etree.ElementTree. On input the XML has a namespace defined so all tags are of the form
[code]<somenamespace:tag>[/c..... More

Print this item

  BBcode help spoiler in editor
Posted by: metulburr - Oct-20-2016, 03:15 PM - Forum: Board - Replies (1)

I added a button to drop the BBcode help images in place. You can see this in reply/new thread editor. Maybe it will help some confusion as you do not..... More


Attached Files

Thumbnail(s)
   
Print this item

  SimpleHTTPServer
Posted by: 20howellm - Oct-20-2016, 02:01 PM - Forum: Networking - Replies (2)

Hello, I'm wanting to host a localhost:8000 server on a ChromeOS, I don't want to have to install crouton or anything like that, I was just wandering ..... More

Print this item

  Random Shuffle List
Posted by: simon - Oct-20-2016, 11:28 AM - Forum: Homework - Replies (10)

Hello, im trying to make a kind of test and i want the questions to shuffle with random.shuffle.. Anyone understand what im saying?

h[python]emlig ..... More

Print this item

  Increasing depth in python
Posted by: malling - Oct-20-2016, 11:06 AM - Forum: Homework - Replies (19)

Hello everyone.

Im trying to make a smart way to using fractals and i have been searching a bit around without any advice on my topic.

Well it's..... More

Print this item

  help me with python script for AWS S3
Posted by: DDPYTHON - Oct-20-2016, 10:48 AM - Forum: General Coding Help - Replies (5)

In detail: when a file is uploaded via FTP to an FTP server in the one[color=..... More

Print this item

  Scrape option chains data from finance.yahoo.com
Posted by: buran - Oct-20-2016, 08:42 AM - Forum: Code sharing - Replies (5)

This was on the old forum in the Completed Scripts section and today I decided to add it also here.

http://github.com/boyank/yoc

[b]yoc (yahoo o..... More

Print this item

  Corpora catalog for NLTK in json format
Posted by: Larz60+ - Oct-20-2016, 02:40 AM - Forum: Web Scraping & Web Development - Replies (2)

Here's code to create a JSON file with an index of NLTK Corpora data.
The json file is in the form of a dictionary with package id as the key, follow..... More

Print this item

  HTML select options from python list
Posted by: adi.6194 - Oct-20-2016, 12:07 AM - Forum: Web Scraping & Web Development - Replies (4)

I'm writing a python-cgi script to setup a Hadoop cluster.
I want to create an HTML select dropdown where the options are taken from a python list. ..... More

Print this item

  Corpora catalof for NLTK
Posted by: Larz60+ - Oct-20-2016, 12:07 AM - Forum: General Coding Help - Replies (1)

[align=left]Hello,

I've been playing with NLTK (again) today. There's quite a good list of available corpora available ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  where should DEFAULT_CIPH... 1 hour ago Skaperen Larz60+ General Codin...
  what name to give to a ne... 2 hours ago Skaperen Skaperen News and Disc...
  White Screen Issue with T... 3 hours ago evelynfreya encore General Codin...
  Get the string after a sp... 4 hours ago JanJan snl_9527 General Codin...
  Eight Queens Problem, err... 8 hours ago snl_9527 snl_9527 General Codin...
  I am sending messages usi... Yesterday, 09:38 Hendrikb Hendrikb General Codin...
  function arguments Yesterday, 06:48 Curbie Gribouillis General Codin...
  [Beautiful Soup] Replace ... Yesterday, 05:45 Winfried Winfried General Codin...
  how to delete thread 04-28, 19:30 Azdaghost DeaD_EyE Board
  Atari Ping Pong Game 04-28, 17:04 Azdaghost deanhystad Code sharing
  not running 04-28, 16:08 Azdaghost deanhystad General Codin...
Most views
  The best Prog... 557357
  Tutorial Requ... 424384
  Web Scraping ... 422892
  Newbie with P... 350954
  Thread remain... 324887
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12035
buran 8165
snippsat 7320
deanhystad 6806
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
dazz Today
encore Today
arturioworker Yesterday
wayenia Yesterday
davidmartin Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020