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,945
» Latest member: susan
» Forum threads: 38,724
» Forum posts: 175,520

Full Statistics

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

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: susan
56 minutes ago
» Replies: 4
» Views: 9,072
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
4 hours ago
» Replies: 2
» Views: 407
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
5 hours ago
» Replies: 0
» Views: 60
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
11 hours ago
» Replies: 9
» Views: 553
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,770
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,092
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,451
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,012
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,763
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,808

 
  How to exit when multiple root windows.
Posted by: weatherman - May-10-2018, 07:47 PM - Forum: GUI - Replies (4)

What is the correct way to exit something like this (simplified version)

[python]
class Main (object):
def __init__(self):
self.user..... More

Print this item

  reading pdfs in windows10 - Python 3.6
Posted by: cobra - May-10-2018, 07:01 PM - Forum: General Coding Help - Replies (1)

I am having some problem in windows 10 and Python 3.6 -

I am following the instruction from the link: https://medium.com/@rqaiserr/how-to-convert-..... More

Print this item

  Annoying BeautifulSoup user warning.
Posted by: MegasXLR - May-10-2018, 07:00 PM - Forum: Web Scraping & Web Development - Replies (10)

Hello,

I have the following code:
GUI.py
[python]from PySide import QtCore, QtGui

class Graphics(object):
def setupUi(self, MainWindow):
..... More

Print this item

  Close Windows MEssage box after function call
Posted by: ashtona - May-10-2018, 06:50 PM - Forum: General Coding Help - Replies (1)

Hello, I am trying to simply display a message box on windows 10 while I am copying files/removing directories. I don't need a progress bar or anythin..... More

Print this item

  Python
Posted by: kanwal121 - May-10-2018, 06:33 PM - Forum: Game Development - Replies (2)

[python]

import pygame, os, time, sys, picture, text
from pygame.locals import * #These are to import the classes.
from sys import exit as sysExi..... More

Print this item

  Syntactic sugar for explicit lists?
Posted by: Antipaladin - May-10-2018, 05:44 PM - Forum: General Coding Help - Replies (6)

When creating an explicit list, list = [ 'a', 'b', 'c', ... 'z' ], is there a way to "self quote" like @list = qw( a b c ... z) in Perl?

Print this item

  Extract contents from HTML
Posted by: chisox721 - May-10-2018, 05:35 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey guys-I'm trying to create a dataframe from a portion of a HTML doc and can't figure out how to extract the data. Doesn't seem like it should be th..... More

Print this item

  Small sqlite3 program error
Posted by: pythonNoob - May-10-2018, 04:01 PM - Forum: General Coding Help - Replies (5)

main.py

import db

setup_db()

input("Press any key to continue")
db.py
[python]import sqlite3
import os


def setup_db(..... More

Print this item

  Image skipping
Posted by: Aisuuu - May-10-2018, 03:01 PM - Forum: Game Development - Replies (4)

Hey, this is my first post btw.

So I am trying to create a game where you can catch a ball and afterwards it refreshes. However the image of the ba..... More

Print this item

  How do you create buttons and what is or how does super work?
Posted by: Fox_cutter12 - May-10-2018, 02:19 PM - Forum: GUI - Replies (2)

Currently trying to create buttons while using Tkinter but not quite sure. How to create them and
what exactly does super do?
Because from what I r..... More

Print this item

  Mistake by correlation (x, y)
Posted by: Jack_Sparrow - May-10-2018, 01:18 PM - Forum: Data Science - Replies (2)

Hi there,

I have a problem with calculation of correlation.
I have a simple table:
meanwspdi weather_lat weather_lon
0 7.860000 ..... More

Print this item

  programming homework
Posted by: propal - May-10-2018, 12:39 PM - Forum: Homework - Replies (6)

anyone knows why this does not give me the shared letters properly?
[python]#shared_positions = 0
#x = 0
#while True:
# print('Enter two words ..... More

Print this item

  Question to Loc
Posted by: Jack_Sparrow - May-10-2018, 11:15 AM - Forum: General Coding Help - Replies (2)

Hi there,
this is my table:
State Gender Year Top Name Occurences
0 AK F 1910 Mary 14
1 AK F 1911 Mary ..... More

Print this item

  Please help in understanding this piece of code
Posted by: tinkalgo - May-10-2018, 10:26 AM - Forum: Data Science - Replies (9)

How this code

np.array([range(i, i + 3) for i in [2, 4, 6]])
results in
[output]array([[2, 3, 4],
[4, 5, 6],
[6,..... More

Print this item

  Running a python tool transforming xml files into epub files
Posted by: silfer - May-10-2018, 09:43 AM - Forum: General Coding Help - Replies (7)

Hello Smile

I found the python tool 'tei2epub' to transform TEI files (=standardized xml files) into epub files on the page ..... More

Print this item

  Multithreading with queues - code optimization
Posted by: h1v3s3c - May-10-2018, 09:13 AM - Forum: General Coding Help - Replies (1)

Hi all,

I'm quite new to python and yesterday I invested some time in order to tryout the concept of multithreading with queues.

My idea was to ..... More

Print this item

  Importing data
Posted by: Scott - May-10-2018, 08:37 AM - Forum: General Coding Help - Replies (4)

Hi everyone,

I cannot seem to import data (I'm using spyder). I do the following code:

[python]
data = pd.read_csv('Python for Data Analysis/ch..... More

Print this item

  Need Help for Project
Posted by: JeffJason - May-10-2018, 08:23 AM - Forum: Homework - Replies (7)

Basically i am working on a project.Let me explain the project.You are gonna write some values as much as you want on a txt file.Then the code will ca..... More

Print this item

  Importing tensorflow on OEL6 server
Posted by: Merrish_Dan - May-10-2018, 07:11 AM - Forum: Data Science - Replies (1)

Hi All,
I am facing issue while importing tensorflow module in OEL6 server.
PFB details of server where python and its libraries have been installed..... More

Print this item

  Error TypeError: '<=' not supported between instances of 'int' and 'NoneType'
Posted by: kaledhananjay - May-10-2018, 06:28 AM - Forum: General Coding Help - Replies (1)

Hello,

I am new to python and working on the creating client of websocket API. In One function I am getting the error
[python]
[b]if 3000 <= code <..... More

Print this item

  Finding a number in a file printing out number and next word
Posted by: petertyler - May-10-2018, 04:27 AM - Forum: General Coding Help - Replies (2)

Hi,
I am in Need of a little help. I wish to search within a text file and retrieve into another text file. The numbers and the words that appear aft..... More

Print this item

  looking for code that determines which ping command to use
Posted by: Skaperen - May-10-2018, 01:24 AM - Forum: Bar - Replies (11)

many unix or unix-like systems handle their support for pinging IPv6 and IPv4 differently. some have [inline]/bin/..... More

Print this item

  different baviour in script vs shell session
Posted by: xiaoyisimonguo - May-10-2018, 01:03 AM - Forum: General Coding Help - No Replies

Hi folks

I am new to python world

I recently wrote a little script to process system Verilog file, repair syntax violations, by regular express..... More

Print this item

  How to import a file from outside the directory
Posted by: sylas - May-09-2018, 10:21 PM - Forum: General Coding Help - Replies (5)

Hi all! I am in the directory kudoSudoku and in the file "solver.py". I want to import numbers.csv whose path is: Users\Sylas\numbers.csv. What do i w..... More

Print this item

  histogram with matplotlib
Posted by: vaugirard - May-09-2018, 10:08 PM - Forum: Data Science - Replies (10)

Hi everyone,

I have tried the following code from the matplotlib tutorial.

https://matplotlib.org/gallery/statistic...tures.html

..... More

Print this item

  Re.start() & Re.end()
Posted by: Truman - May-09-2018, 08:48 PM - Forum: Homework - Replies (1)

Task
You are given a string S.
Your task is to find the indices of the start and end of string k in S.

solution that someone came to
[python]
S = inp..... More

Print this item

  Understanding Functions
Posted by: kiki1113 - May-09-2018, 08:43 PM - Forum: Homework - Replies (2)

Hello all - trying to grasp the concept of functions and every time I think I have it, I realize I really don't. Wall Here are two examples I fo..... More

Print this item

  TypeError: string indices must be integers
Posted by: dsorci - May-09-2018, 07:06 PM - Forum: General Coding Help - Replies (1)

Hello All,

When I run the below script, I get this error...

print ('{}|{}|{}'.format(x['hostname'], x ['vlanid'], x['vlandescription']))
TypeEr..... More

Print this item

  Nuitka compiling imported packages
Posted by: PiMagic777 - May-09-2018, 05:01 PM - Forum: Data Science - No Replies

Hello All,
I am a novice Python user. I inherited a large Python program and I'm trying to speed it up. This is a Python 2.7.9 application performi..... More

Print this item

  How to find column index and its corresponding column name
Posted by: Raj - May-09-2018, 04:02 PM - Forum: Data Science - Replies (2)

Hi,

I have below data:

[python]import pandas as pd
import numpy as np
from scipy import stats
dataFileName='RFInput.xlsx'
sheetName='Rawdata..... More

Print this item

  PyCon 2018
Posted by: snippsat - May-09-2018, 03:41 PM - Forum: News and Discussions - Replies (3)

PyCon 2018 in Cleveland, Ohio | May 9-17
If any interesting videos or discussion that worth mention post it her..... More

Print this item

  Python test failed
Posted by: CodingMaster111 - May-09-2018, 01:55 PM - Forum: General Coding Help - Replies (1)

I cloned the CPython repo, and ran the tests as instructed in the devguide. All of them either passed or were skipped, but [inline]test_concurrent_fut..... More

Print this item

  Can't log in with requests post
Posted by: LilDog - May-09-2018, 01:40 PM - Forum: General Coding Help - Replies (2)

I'm creating an Instagram sample script but when I try to login with requests.post it doesn't seem to work. I'm able to login with post on many other ..... More

Print this item

  Where did I get it wrong?!
Posted by: Tamimi1982 - May-09-2018, 11:18 AM - Forum: Homework - Replies (5)

Hello Pythoners

In my last assignment I received the following task.

Step 1:

I need to write a code that ask the user to input either 'A' or..... More

Print this item

  The CGI can't run on EXE which packaged
Posted by: damai - May-09-2018, 07:01 AM - Forum: General Coding Help - Replies (2)

Hello guys:
I wrote a litter program. It can running on linux and windows. But when I packaged it on Windows and run it, the html file could run norm..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... 56 minutes ago J_Miller susan General Codin...
  A coding beginner needs h... 4 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 5 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 11 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
Most views
  The best Prog... 576674
  Tutorial Requ... 498804
  Web Scraping ... 440508
  Newbie with P... 384446
  New Users Int... 368012
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 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
susan Today
jatinkumar12 Today
angelhealu504 Today
helendamdam Today
pllrdvalery Yesterday

User Panel Messages

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