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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,892

Full Statistics

Online Users
There are currently 52 online users.
» 1 Member(s) | 48 Guest(s)
Bing, Google, Mojeek, kshahzad1985

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
30 minutes ago
» Replies: 1
» Views: 17
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
7 hours ago
» Replies: 3
» Views: 116
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
7 hours ago
» Replies: 2
» Views: 82
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
11 hours ago
» Replies: 6
» Views: 3,186
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 251
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 139
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 95
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,529
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 181
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 84

 
  Weird spacing in grid layout
Posted by: test - Jun-22-2019, 08:25 PM - Forum: GUI - Replies (3)

Hello!
I am trying to make a form using kivy. Here is what i tried.
[python]
class MyMainApp(App):
def build(self):
x = 0.3
x1 = 0.6
y = 40
l..... More

Print this item

  python code begginer
Posted by: abdielG252 - Jun-22-2019, 07:20 PM - Forum: Homework - Replies (3)

Hello I'm new in this page. I'm a beginner in python, and i have a question about this program.
I need to do this exercise:
Write a program to remo..... More

Print this item

  reindex dataframe after sorting
Posted by: Clunk_Head - Jun-22-2019, 06:53 PM - Forum: Data Science - Replies (4)

It's a simple problem I'm sure, but I haven't found a solution.
I'm sorting a dataframe, then I need to reindex, starting from 1.
However, reindex u..... More

Print this item

  "NameError: name 'catName1' is not defined
Posted by: tofif - Jun-22-2019, 06:23 PM - Forum: Homework - Replies (3)

Greetings everybody,
First off, I'm a 71 year old retired male at home trying to learn python. No schools involved. I just thought this was the best ..... More

Print this item

  monitor when a device connects (mac address)
Posted by: drifterf - Jun-22-2019, 05:38 PM - Forum: General Coding Help - Replies (4)

hi, i am looking at creating the following script.

i currently have been working on a project over the last year for a wiegand access control syst..... More

Print this item

  Creating Tables in SQL
Posted by: danteslion - Jun-22-2019, 04:42 PM - Forum: General Coding Help - Replies (2)

Trying to create a create a table in SQL based on user input for example:
[python]
City= input(blah blah)
C.execute(CREATE TABLE IF NOT EXISTS ????..... More

Print this item

  Notepad vs anaconda spyder or python shell
Posted by: ShadowAlpha - Jun-22-2019, 04:39 PM - Forum: News and Discussions - Replies (2)

I am running on windows 10, and i noticed when i save python script in spyder or a python IDE as .py and click on it it doesnt really run but when i s..... More

Print this item

  pandas change row value an existing column with conditionals
Posted by: Gigux - Jun-22-2019, 03:23 PM - Forum: Data Science - Replies (1)

Hello,
I have loaded a dataframe in tsv format with pandas with:
[python]import numpy as np
import pandas as pd
df = pd.read_csv(<file>, delimite..... More

Print this item

  Line Number Tkinter Text Are
Posted by: smabubakkar - Jun-22-2019, 02:24 PM - Forum: GUI - Replies (1)

Hi ,

I have created a python program based on Tkinter to compare two text files, i need display line number before every line. now i have solution ..... More

Print this item

  AttributeError Regex
Posted by: linh_py - Jun-22-2019, 12:51 PM - Forum: Homework - Replies (5)

hello everybody, i'm learning python, use re module, and i had a error, help me please.
[python]import re
numRegex=re.compile(r"^\d{1,3}(,(\d{3}))*$..... More

Print this item

  Need guidance on String indexing
Posted by: Gateux - Jun-22-2019, 10:38 AM - Forum: Homework - Replies (3)

Am learning Python for school and reading a Python textbook, I come across one part that I don't understand.

[python]>>> grades = ['A', 'B', 'C', '..... More

Print this item

  Pymssql library failing when upgrading to Python 3.7 - win32 issue
Posted by: stixmagiggins - Jun-22-2019, 09:28 AM - Forum: General Coding Help - Replies (5)

Hi,

I upgraded Python from 3.4 to 3.7 and now when I test my code I get the error

[i]File "J:\Python_Scripts\Python_Application_Testing_Briars\B..... More

Print this item

  looping for time while skipping a day
Posted by: Staph - Jun-22-2019, 07:52 AM - Forum: General Coding Help - Replies (2)

So I have a dailiy time series of len 20311,

I want to create a loop as which increases by 365 but skiping on day as follows

pick the 0:365, 36..... More

Print this item

  error running python in sublime text3
Posted by: srm - Jun-22-2019, 06:44 AM - Forum: General Coding Help - Replies (3)

Hi trying to work python code in sublime text3 but getting following error
[error]'python' is not recognized as an internal or external command,
ope..... More

Print this item

  python script file not opening in IDLE editor
Posted by: srm - Jun-22-2019, 06:09 AM - Forum: General Coding Help - Replies (2)

Hi there,
I am working with python3.7.2 on windows 2008R2 server edition.I am able to work successfully in IDLE editor.But when I try to open my.py f..... More

Print this item

  selenium proxy web crawler
Posted by: rootVIII - Jun-22-2019, 04:22 AM - Forum: Code sharing - No Replies

Here is the repository. Performance may vary depending on the current proxy. If an exception ..... More

Print this item

  Error when entering letter/character instead of number/integer
Posted by: helplessnoobb - Jun-22-2019, 03:01 AM - Forum: General Coding Help - Replies (2)

Hello all,
Excuse my complete lack of knowledge and "newbie-ness" as it has only been a few hours since I started my already rocky road to understand..... More

Print this item

  [Flask] How to paginate a list of posts
Posted by: SheeppOSU - Jun-22-2019, 02:41 AM - Forum: Web Scraping & Web Development - Replies (2)

I created a list of the posts I want to display. How would I go about paginating a list of posts? If you need code I can give it, but I just need an e..... More

Print this item

  Niantic Games
Posted by: micseydel - Jun-21-2019, 11:46 PM - Forum: Bar - No Replies

In case anyone wants to be friends on Pokemon Go or Wizards Unite, here are my friend codes:

HP: 0978 7715 896
Pkgo: 9075 7743 0961

(Boo on Nia..... More

Print this item

  [pandas] convert Int to str
Posted by: Scott - Jun-21-2019, 10:20 PM - Forum: Data Science - Replies (8)

Hi everyone,

How do I convert an int to a string in Pandas?

data['Hs_code'] = data.Hs_code.astype(str)
this is my current at..... More

Print this item

  Simple web framework
Posted by: afn - Jun-21-2019, 10:08 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi. I have a task where I need to generate a simple html page with input field, submit button and serve http requests(in other words, I need http serv..... More

Print this item

  API JSON Iteration...again
Posted by: cyberblitz - Jun-21-2019, 09:19 PM - Forum: General Coding Help - Replies (8)

Wanted to edit my previous post but was not able to, so I'm reposting it here


Hi,

New to Python. I am trying to create some code that extracts..... More

Print this item

  no coding= option fo subprocess.Popen()
Posted by: Skaperen - Jun-21-2019, 06:32 PM - Forum: General Coding Help - Replies (5)

i want to have utf8 decoding on the stdout pipe with subprocess.Popen() so when it is read i get str instead of bytes, but i see no option to set that..... More

Print this item

  Help understanding Bioinformatics question?
Posted by: a_real_phoenix - Jun-21-2019, 05:34 PM - Forum: Data Science - Replies (4)

Hi there. I have some Bioinformatics homework to do which involves using Python, and honestly I'm having a hard time wrapping my head around the quest..... More

Print this item

  Pandas - updating the original dataframe with sub selects
Posted by: Ecniv - Jun-21-2019, 02:12 PM - Forum: Data Science - No Replies

Hi

I have a dataframe with the follwoing columns

source	date	host	tag	adreq	adimpr	revenue	Device	deleteme
Now some of the rows h..... More

Print this item

  Beautifulsoup Scraping
Posted by: PolskaYBZ - Jun-21-2019, 10:26 AM - Forum: Web Scraping & Web Development - Replies (3)

Good day folks,

I started last week my first webscraping project. The code is working (beginner level), but I have some struggle to continue it. It..... More

Print this item

  need help coming up with a code
Posted by: Staph - Jun-21-2019, 10:06 AM - Forum: General Coding Help - No Replies

I am trying to reproduce this method from a paper and then use it for further investigation, however I am struggling to write the code especially from..... More

Print this item

  Splitting lines ang grouping three at once
Posted by: samsonite - Jun-21-2019, 09:43 AM - Forum: General Coding Help - Replies (5)

What I've done, up to now, is successful only for the first group of short.txt database, while my goal is to have some drifts on adjusting iter..... More

Print this item

  PyInstaller and RStudio conflict
Posted by: rowdy - Jun-21-2019, 09:19 AM - Forum: General Coding Help - Replies (2)

I am using pyinstaller to generate an executable.
However, pyinstaller fails to complete, leaving a broken file. It refers to 'usr/lib/rstudio/qt.con..... More

Print this item

  3D engines
Posted by: pfaber11 - Jun-21-2019, 08:34 AM - Forum: Game Development - Replies (6)

Have recently installed ratcave which I hope to use alongside pygame . Haven't really looked at it yet but thought I would see if anybody else had tri..... More

Print this item

  download pdf file from website
Posted by: m_annur2001 - Jun-21-2019, 05:00 AM - Forum: Web Scraping & Web Development - Replies (1)

Dear All,

I am newbie in Python and I keen to learn more and more. Now I am doing master by research and on the stage of data collection. Instead o..... More

Print this item

  Unable to parse xml file
Posted by: avi1990pr - Jun-21-2019, 04:44 AM - Forum: General Coding Help - Replies (1)

Hi All,

Good Day.. I am a beginner to python, so please bear with me.

I am trying to read a XML file and parse it but am getting traceback.
[color=#..... More

Print this item

  finding p's in words of a multi-line text file
Posted by: johneven - Jun-21-2019, 02:13 AM - Forum: Homework - Replies (5)

Here's the assignment given:

Using the file school_prompt.txt, if the character ‘p’ is in a word, then add the word to a list called [i]p_wo..... More

Print this item

  could open() fail w/o an exception?
Posted by: Skaperen - Jun-21-2019, 01:06 AM - Forum: News and Discussions - Replies (6)

is there any known circumstance, situation, or case, in which open() or at least open(some_file_name,'w') could fail wit..... More

Print this item

  Help me make a comment on youtube
Posted by: caarsonr - Jun-20-2019, 10:15 PM - Forum: Web Scraping & Web Development - Replies (14)

[python]# imports
import random
import time
import csv
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

class Commenter..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 30 minutes ago matt Gribouillis News and Disc...
  My regex function is not ... 7 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 7 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 11 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
Most views
  The best Prog... 579372
  Tutorial Requ... 512373
  Web Scraping ... 442282
  Newbie with P... 386338
  New Users Int... 380292
Most reputation
buran 581
snippsat 511
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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