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,933
» Latest member: Dibbley
» Forum threads: 38,721
» Forum posts: 175,503

Full Statistics

Online Users
There are currently 51 online users.
» 2 Member(s) | 44 Guest(s)
Google, Bing, AOL, Mojeek, AOL, Dibbley, Gribouillis

Latest Threads
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
4 minutes ago
» Replies: 0
» Views: 1
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 09:09 PM
» Replies: 3
» Views: 997
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 423
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,596
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,605
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 513
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 156
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,021
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,254
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 935

 
  Making a number triangle that points to the left
Posted by: SomeNoob - Jul-12-2017, 07:14 PM - Forum: Homework - Replies (2)

As part of an assignment, I am supposed to make a number triangle that points to the left using only for loops and string format. I can kind of get it..... More

Print this item

  How to change the font size of a table?
Posted by: Felipe - Jul-12-2017, 06:52 PM - Forum: General Coding Help - No Replies

Hi,

I'm fighting for hours to change the size of the numbers which fills the cells of a table created with matplotlib. Here's my code for a subplot..... More

Print this item

  Write from URL with changing information to textfile
Posted by: wmc326 - Jul-12-2017, 06:51 PM - Forum: General Coding Help - Replies (1)

Hi,

I am very new to python coding and have a question that is hopefully a simple fix.
I am an intern for a company who is developing some drones ..... More

Print this item

  find the index of "Annual" in spell_list
Posted by: nikhilkumar - Jul-12-2017, 04:43 PM - Forum: General Coding Help - Replies (1)

my question here
I am not getting the proper output. Please help.
find the index of "Annual" in spell_list
# [ ] using range, print the spell_list ..... More

Print this item

  Godot adds beta support for Python
Posted by: nilamo - Jul-12-2017, 03:35 PM - Forum: News and Discussions - No Replies

https://godotengine.org/article/beta-rel...on-support

Godot (pronounced guh-dough) is a 3d/2d game engine, which now (or soon) supports scrip..... More

Print this item

  Converting Flattened JSON to Dataframe in Python 2.7
Posted by: ManMan - Jul-12-2017, 01:40 PM - Forum: Data Science - Replies (1)

I am trying to read some data using REST API and write that on a DB table. I have written the below code. But unfortunately, I am kind of stuck with t..... More

Print this item

  Attribute of module shelve doesn't work
Posted by: Ponomarenko Pavlo - Jul-12-2017, 01:12 PM - Forum: General Coding Help - Replies (1)

import shelve
db = shelve.open('experement')
db['name'] = 'Sam'
db['age'] = 45
db.close()
[error]Traceback (most recent call l..... More

Print this item

  How to join elements from two arrays in a third one?
Posted by: Felipe - Jul-12-2017, 12:20 PM - Forum: General Coding Help - Replies (2)

Hi guys,

I have two arrays "p" and "prec" as the following.
p:
[output]
[[  2 -30  20   4]
[  2 -28   30   4]
[  2  19  50   6]
[  1 -27  60 ..... More

Print this item

  phpBB vis a vis MyBB
Posted by: greektranslator - Jul-12-2017, 11:05 AM - Forum: Board - Replies (2)

I wonder why the old forum was abandoned. How does your experience of the 2 forum softwares compare?

Print this item

  Convert tree to list of lists
Posted by: Dylan_T_Rabbit - Jul-12-2017, 10:48 AM - Forum: General Coding Help - Replies (2)

I have a tree structure which I need to convert to a list of lists.
The class for a node is defined as (irrelevant detail removed):
[python]class TM..... More

Print this item

  How to create mutiple tabs in tkinter using oops
Posted by: Rishav - Jul-12-2017, 06:13 AM - Forum: GUI - Replies (2)

i am working on something and i know how to use notebook widget in tkinter and pack different stuff in each of the tabs in notebook but i want to know..... More

Print this item

  Use specific IP Address
Posted by: EnGeLs - Jul-12-2017, 04:52 AM - Forum: Networking - Replies (6)

Hi guys,

I'm would like your help since I'm new with socket and packet manipulation.

I'm working on Kali Linux, I have my eth0 with 2 IP address..... More

Print this item

  Some help on user input in script
Posted by: Kaos_Method - Jul-12-2017, 04:49 AM - Forum: General Coding Help - No Replies

Right now, I'm working on a SSH botnet, messing around with different ideas. Currently, I have it setup to where you have the different clients inside..... More

Print this item

  htmlescape.py
Posted by: Skaperen - Jul-12-2017, 02:37 AM - Forum: Code sharing - No Replies

just finished up my version of html_escape():

[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import division, print_funct..... More

Print this item

  Pandas: Accessing column headers
Posted by: zsad512 - Jul-12-2017, 12:20 AM - Forum: Homework - No Replies

Hello,

I have a problem I am trying to solve in Python using Pandas. I have a dictionary of dictionaries that I will eventually be transforming in..... More

Print this item

  search line from CSV
Posted by: shead - Jul-11-2017, 10:36 PM - Forum: General Coding Help - Replies (2)

Hey,
I need to translate 6,000 names of movies.
I have all the names in a CSV file and a website that you put the name in a search line and you ge..... More

Print this item

  draw chart in wx Frame
Posted by: ian - Jul-11-2017, 08:00 PM - Forum: GUI - Replies (3)

I have the following code as startup. I need to add an image place in the wx frame to draw stock chart on it.
I found many similar codes on Internet ..... More

Print this item

  Return Statement in Python IDLE editor
Posted by: NMW - Jul-11-2017, 06:44 PM - Forum: General Coding Help - Replies (10)

Hi, I'm somewhat of a programming "newbie" , so bear with me.

I have been practising with Python (2) through Python IDLE. However, when I type code..... More

Print this item

  n00b help with referencing files
Posted by: theturd - Jul-11-2017, 03:58 PM - Forum: General Coding Help - Replies (8)

Hey guys,

I have a script that basically modifies a file. In a nutshell, fileA contains some text, and the script reads fileA and uses the text to..... More

Print this item

  The problem of converting string to float by using CSV file
Posted by: CChen - Jul-11-2017, 02:09 PM - Forum: Data Science - Replies (2)

my question here
I try to use CSV file as the input of the neural network. But I got the warming as  'could not convert string to float: 'train2.CSV' ..... More

Print this item

  Numpy or Scipy Variance Convolution
Posted by: TimWebPhoenix - Jul-11-2017, 12:41 PM - Forum: Data Science - No Replies

I was wondering what the most efficient / fastest way to code a Variance Convolution would be in Python?

I currently have the following code, that ..... More

Print this item

  [split] Json to CSV
Posted by: satish - Jul-11-2017, 12:13 PM - Forum: General Coding Help - Replies (5)

[python]try:
   import unicodecsv as csv
except ImportError:
   import csv

import json
import operator
import os
from collections import Orde..... More

Print this item

  adding to code but still getting same output
Posted by: Crackity - Jul-11-2017, 07:45 AM - Forum: Homework - Replies (7)

Hello all,
I am a total newb and I am using a self study guide with interactive labs in the book using the most current version of Python (3.6.1). I..... More

Print this item

  Character Definition Like ASCII
Posted by: llarix1 - Jul-11-2017, 06:15 AM - Forum: General Coding Help - Replies (2)

hi. i want to know is there anything like ASCII character definition in python?

Print this item

  Problem with serial data. How do I ignor incorrect data?
Posted by: donmerch - Jul-10-2017, 11:39 PM - Forum: General Coding Help - Replies (1)

I'm reading data via USB serial @ 57600 baud. I'm trying to take 5 readings and then get the average. Occasionally I get an error and I don't know how..... More

Print this item

  Panda Data Frame to Existing Multiple Sheets
Posted by: naveedraza - Jul-10-2017, 07:20 PM - Forum: Data Science - Replies (1)

Hi All,

i am need of guidance, help as i got struck in getting data from SQL to Excel using Pandas.

here my queries is, i have one Excel workboo..... More

Print this item

  Matching whole words in find/replace script
Posted by: greektranslator - Jul-10-2017, 07:10 PM - Forum: General Coding Help - Replies (4)

I use the code below through Notepad++ but I cannot make it match whole words

[python]with open('C:/Temp/Substitutions.txt') as f:
for l in f:..... More

Print this item

  Connecting two string after spliting
Posted by: uttamsaha2 - Jul-10-2017, 06:39 PM - Forum: General Coding Help - Replies (3)

I search for lines starts with '+', splits and take the 2nd part and add to the previous line:

Code:

[python]
if line.startswith('+')..... More

Print this item

  Adding text to plots
Posted by: shaynehansen - Jul-10-2017, 05:54 PM - Forum: General Coding Help - No Replies

I am trying to add text to my plots in the upper right of the plot. The issue is the plots vertical axis is constantly changing. Is there a way to loc..... More

Print this item

  What is Controller in this code i am not understanding what is it
Posted by: Rishav - Jul-10-2017, 03:39 PM - Forum: GUI - Replies (2)

[python]
import tkinter as tk
from tkinter import ttk

LARGE_FONT = ("Verdana",12)



class SeaofBTCapp(tk.Tk):
   def __init__(self,*args,**..... More

Print this item

  How to create a long string by concatenating two lists
Posted by: nikhilkumar - Jul-10-2017, 03:37 PM - Forum: General Coding Help - Replies (11)

my question here
I want to create long_string by concatenating the items in the list previously created
and also I have to make sure to put a space ..... More

Print this item

  AUCPR of individual features using Random Forest (Error: unhashable Type)
Posted by: melissa - Jul-10-2017, 11:54 AM - Forum: Data Science - Replies (1)

I have a data set of 19 features (v1---v19) and one class label (c1) , I can eaily get the precision recall value of all variables with the class labe..... More

Print this item

  Trying to figure out how list comprehensions work
Posted by: tozqo - Jul-10-2017, 08:51 AM - Forum: General Coding Help - Replies (4)

Working through the docs cause I'm too broke to get traditional learning, and I'm at 5.1.4. Nested List Comprehensions.
the example in the docs is
..... More

Print this item

  want command program: sleep to a specific time
Posted by: Skaperen - Jul-10-2017, 01:21 AM - Forum: News and Discussions - Replies (3)

i would like to find a command program that sleeps, but instead of (or in addition to) sleeping a specified duration, sleep [i]to..... More

Print this item

  Can't extract hidden input using Selenium!!!
Posted by: Shaggy89 - Jul-09-2017, 07:00 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello!!
I'm trying to learn selenium from sometime but I got struck in a problem.. I'm trying to write a script for logging into my Facebook account ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  datetime in SQL query. 4 minutes ago Dibbley Dibbley General Codin...
  [Tkinter] Too much space ... Yesterday, 21:09 RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575875
  Tutorial Requ... 497228
  Web Scraping ... 439869
  Newbie with P... 383593
  New Users Int... 365692
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Dibbley Today
krish12 Today
XenonBlack Yesterday
Lenowell Yesterday
luisshulez6883 09-15

User Panel Messages

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