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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,250
» Latest member: sarbogast
» Forum threads: 38,780
» Forum posts: 175,820

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 40 Guest(s)
Google, Bing, Applebot, AOL

Latest Threads
why is the image not show...
Forum: General Coding Help
Last Post: sarbogast
45 minutes ago
» Replies: 0
» Views: 8
New to python and coding
Forum: Homework
Last Post: jefsummers
5 hours ago
» Replies: 4
» Views: 110
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
7 hours ago
» Replies: 6
» Views: 182
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 316
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 282
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 110
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,624
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 215
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 195
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,291

 
  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

  No CSV output
Posted by: migs2173 - Jul-09-2017, 05:21 PM - Forum: General Coding Help - No Replies

Hi anyone can help me with this coding when i run the script there is a result but doesn't write on csv output file

[python]import clearbit
import..... More

Print this item

  I have problem on Communication between C++ and Python using subprocess Module
Posted by: hlfan1234567 - Jul-09-2017, 04:34 PM - Forum: General Coding Help - No Replies

I have problem on Communication between C++ and Python using subprocess Module

it is my Python Code for getting data.(it gets data from C++ OpenCV ..... More

Print this item

  Packaging/Modules--Wheel--pip--setup.py--Freeze
Posted by: snippsat - Jul-09-2017, 03:09 PM - Forum: Python Installation and Execution - Replies (1)

This is gone be about Packaging/Modules and sharing your made stuff.

The Dark Age and the Broken past
Python packaging w..... More

Print this item

  google search by Python
Posted by: klim1167 - Jul-09-2017, 03:04 PM - Forum: General Coding Help - Replies (3)

Hello Python Pros,
I am trying to use the Python to do the google search with the duration of 1 week, but it shows the error message as below.
Pls h..... More

Print this item

  Communicating C++ and Python in Jetson TK1 board.
Posted by: hlfan1234567 - Jul-09-2017, 01:16 PM - Forum: General Coding Help - Replies (1)

I'm using Jetson TK1 board(Linux4Tegra)(almost same with ubuntu)

I followed this instruction(I can't upload clickable link yet...)


Python :
..... More

Print this item

  Same codes show different output ?
Posted by: SuperSymmetry - Jul-09-2017, 08:43 AM - Forum: General Coding Help - Replies (12)

Trying to write a program to perform various functions on numbers.
[python]num1, operator, num2 = input ('enter calculation').split()
num1 = int(nu..... More

Print this item

  ValueError: shape mismatch: value array of shape...
Posted by: ulrich48155 - Jul-09-2017, 08:37 AM - Forum: Homework - Replies (2)

When trying to do a linear discriminant analysis I always get this error:

[error]ValueError: shape mismatch: value array of shape (47,) could not b..... More

Print this item

  WxGrid Title
Posted by: ian - Jul-08-2017, 11:23 PM - Forum: GUI - Replies (3)

I created a few wxGrid on a wxFrame. I need to have a title displayed on each of them. I am wondering if possible to set it on the left-top corner whi..... More

Print this item

  extract relation
Posted by: Sama - Jul-08-2017, 11:22 PM - Forum: General Coding Help - Replies (6)

can someone help please,( I'm new to programming ) I am trying to chunk sentences to sub sentences. I have a list of sentences such as:
my_list = [..... More

Print this item

  python help
Posted by: ython_skyy - Jul-08-2017, 09:01 PM - Forum: General Coding Help - Replies (1)

I'm trying to make the gender and the class come up
print ("so you are a %s,%s and you are a level 0") %(gender ,_class) Wall


some code:
_..... More

Print this item

  pycharm help
Posted by: ython_skyy - Jul-08-2017, 07:39 PM - Forum: General Coding Help - Replies (1)

I have a problem where I type w in pycharm console and it puts a v looking thing and the pycharm console doesn't receive w

Print this item

  python codecademy help
Posted by: ython_skyy - Jul-08-2017, 07:04 PM - Forum: General Coding Help - Replies (2)

I need help with this code

[python]lloyd = {
   "name":"Lloyd",
   "homework":[],
   "quizzes":[],
   "tests":[],
   }
alice = {
   "name":"..... More

Print this item

  Need help with pseuo -bank account using OOP
Posted by: obieze998 - Jul-08-2017, 05:09 PM - Forum: General Coding Help - Replies (28)

Can someone please help me i'm creating a code for an imitated bank account, what i'm trying to get it to is to basically display the name of the acco..... More

Print this item

  How to edit jupyter nbconvert templates
Posted by: Sito - Jul-08-2017, 04:16 PM - Forum: General Coding Help - No Replies

I'm currently trying to change the looks of the nbconvert-output in jupyter. To be more precise, I want to convert a ipynb to latex but not using the ..... More

Print this item

  Need to print the output as follows
Posted by: Mac - Jul-08-2017, 03:24 PM - Forum: Homework - Replies (2)

Hi,
I am trying to figure out how can I print the below output. Can anybody pls help me with the code?

   CCCC        RRRRR
 C       C       R   ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  why is the image not show... 45 minutes ago sarbogast sarbogast General Codin...
  New to python and coding 5 hours ago lary_p jefsummers Homework
  Help with Serial.write in... 7 hours ago racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
Most views
  The best Prog... 578858
  Tutorial Requ... 509941
  Web Scraping ... 441923
  Newbie with P... 385928
  New Users Int... 376291
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12107
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
sarbogast Today
bmurray Today
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday

User Panel Messages

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