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,891

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 38 Guest(s)
Google

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

 
  What is the purpose of "None" in event=None with tkinter ?
Posted by: alan9979 - Jul-06-2019, 12:29 PM - Forum: GUI - Replies (2)

In the following code, I try with and without the "=None" on line 30 (def changeCouleurs(self,event=None):), but there's no difference. I would like t..... More

Print this item

  How do I manipulate musical notes using Python?
Posted by: rockproper - Jul-06-2019, 11:39 AM - Forum: General Coding Help - Replies (3)

I am trying to manipulate a midi file using python. For now, I would be happy if I could simply increase one note by one increment.

I know this is..... More

Print this item

  Object attribute
Posted by: Uchikago - Jul-06-2019, 10:31 AM - Forum: General Coding Help - Replies (9)

Hi, i'm just a new beginer, so please help me! Today i've come across this syntax module.attribute, i'm wondering what this use for ?..... More

Print this item

  Nested while loop problem + turtle
Posted by: DreamingInsanity - Jul-06-2019, 08:14 AM - Forum: General Coding Help - Replies (3)

Here's a bit of info. I am creating a simple program (for now) that takes an image, makes it black and white, then using turtle, draws it on the scree..... More

Print this item

  Help | Classes to use in real world
Posted by: soothsayerpg - Jul-06-2019, 04:07 AM - Forum: General Coding Help - Replies (9)

Hi guys,

Tutorials and youtube videos often teach python classes using a person (and without real inputs). My question is, how can I take a module ..... More

Print this item

  Giving index when joining dataframes
Posted by: kw42chan - Jul-06-2019, 03:55 AM - Forum: Data Science - Replies (1)

hi all,

I copy the code from Sentdex (https://youtu.be/j0zW_KXyQJ4) to produce the output.

I got the below error:
ValueError: columns overlap ..... More

Print this item

  Insert a variable in a Python > Cellular AT command
Posted by: ElectronicsNut - Jul-06-2019, 02:07 AM - Forum: General Coding Help - Replies (1)

I am an ElectronicsNut that is venturing into foreign coding territory. I have a Raspberry Pi that I have connected to a FONA 3G cellular module via p..... More

Print this item

  replace nan values by mean group by date.year, date.month
Posted by: wissam1974 - Jul-06-2019, 12:49 AM - Forum: Data Science - Replies (5)

Hi for all

i have read a CSV file with tow series columns as follow:
Dateobs TMIN
2006-01-01 NAN
2006-01-02 12.3
2006-01-..... More

Print this item

  I need help for tomorrow please!
Posted by: phyton1 - Jul-05-2019, 08:58 PM - Forum: Homework - Replies (8)

4.
a. Create a dictionary named d1, which has three key-value pairs, so that there is one key of each data type: str, int, float.
b. Create an empty..... More

Print this item

  [split] NameError: name 'lo' is not defined when using input ?
Posted by: Cedmo - Jul-05-2019, 08:53 PM - Forum: General Coding Help - Replies (2)

Hi, i have another error that i can't solve :
[error]Vite ! Des aliens envahissent la planète.
Tu dois activer la plateforme de défense mondiale.
J..... More

Print this item

  high light change made in notepad
Posted by: nadavrock - Jul-05-2019, 07:25 PM - Forum: News and Discussions - No Replies

i have a gui that searach replaces a text within a txt file i open with notepad. following the replace the gui pop opens the notepad.any way for pyth..... More

Print this item

  Button won't execute function
Posted by: TheLegendOfPanda - Jul-05-2019, 07:24 PM - Forum: GUI - Replies (2)

I programming the game battleships and got stuck when it came to the user input for the fields you want to shoot on. For that I created a tkinter wind..... More

Print this item

  Cannot import BeautifulSoup4 as bs4 and BeautifulSoup4 not in same directory
Posted by: B5473829 - Jul-05-2019, 06:18 PM - Forum: Web Scraping & Web Development - Replies (1)

I have installed BeautifulSoup using pip command and installed successfully.
When I attempted to import it in Python; the following error appears.
>..... More

Print this item

  How to set virual enviroment?
Posted by: EndOfTheGlory - Jul-05-2019, 03:55 PM - Forum: Homework - Replies (1)

Greetings!I am currently studing python with the book and try 1 project offered there,but I was confused about 1 part and hope you to help.
Quote:
[..... More

Print this item

  How to use Python to extract data from Zoho Creator software on the web
Posted by: dan7055 - Jul-05-2019, 03:42 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I am new to Python, although I have experience programming. I am looking for advice on how I can use a programming language to interact with..... More

Print this item

  [nltk] Parsing with CFG
Posted by: constantin01 - Jul-05-2019, 02:21 PM - Forum: Data Science - Replies (1)

Hi

I am reading "Natural Language Processing with Python" and the author gives example of use of CFG in nltk

[python]
grammar2 = nltk.parse_cfg("""..... More

Print this item

  Need suggestion on software
Posted by: Prince_Bhatia - Jul-05-2019, 11:34 AM - Forum: Bar - Replies (1)

Ok we need a pronounciation app in which i have the option to upload already recorded pronounciation of words and then . If i say a sentence and in th..... More

Print this item

  SQL query with a variable amount of parameters
Posted by: Antares - Jul-05-2019, 10:14 AM - Forum: General Coding Help - Replies (10)

I am trying to create SQL query with variable amount of parameters, and can't figure out how to do it. I have this:

[python]
def sql_select(query,..... More

Print this item

  Python server(Django web site)/client(Python app) connection
Posted by: Junior_Pythoneer - Jul-05-2019, 10:02 AM - Forum: Networking - Replies (5)

Here is my situation:
I’ve got Django web site(url shortener) with its database. This database consists all data about url.
I'm going to make a simp..... More

Print this item

  Graphical UI for Windows
Posted by: AndrzejB - Jul-05-2019, 09:14 AM - Forum: News and Discussions - Replies (1)

Hi, I am programmimng with many languages but I am Python newbie.
I have installed Python 3.x for Windows. File python.exe is interactive tool, pytho..... More

Print this item

  Moving to the next character
Posted by: 357mag - Jul-05-2019, 07:58 AM - Forum: General Coding Help - Replies (2)

I'm experimenting with a C++ style program trying to make it work in Python but I don't think it's gonna go. I'm trying to increment what is in the le..... More

Print this item

  Cypto
Posted by: knagsted - Jul-05-2019, 07:30 AM - Forum: General Coding Help - Replies (2)

Is there a module called Crypto in the lastest version? I have installed it with succes but the intepreter can't find it.

[/python]
import Crypto..... More

Print this item

  Beautiful soup and tags
Posted by: starter_student - Jul-05-2019, 06:57 AM - Forum: Web Scraping & Web Development - Replies (11)

Hi everyone,

I'm trying to do a loop inside a div tag with others div tags but how to find all the children of that div!

[python]
<div id ="sto..... More

Print this item

  How to automate the clicking of GUI's menu?
Posted by: Hypermesher - Jul-05-2019, 06:27 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a question about GUI libraries. I am working on an automation program. I use coordinate info of a command (for example, file -> open ..... More

Print this item

  FileNotFound when copy
Posted by: linh_py - Jul-05-2019, 03:44 AM - Forum: Homework - Replies (3)

hi everybody, please help me
i have function, it find the file and copy to new folder.
[python]def BKZ(folder):
print("Searching.............")
..... More

Print this item

  selecting customized seasons from monthly time series
Posted by: Staph - Jul-05-2019, 02:18 AM - Forum: Data Science - Replies (3)

I have monthlly time seris data like this

data = [1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,...]

where 1,..... More

Print this item

  Returned value not defined
Posted by: somerandomguy123 - Jul-05-2019, 12:56 AM - Forum: Game Development - Replies (2)

I tried to create a random leveling system for mobs in my game, however, when I tried to check the output of a returned value It shows un in the conso..... More

Print this item

  __getattr__ and type hint
Posted by: itaybardugo - Jul-04-2019, 09:50 PM - Forum: General Coding Help - No Replies

Hi
I have a Foo class(its an abstract one) with the magic Method __getattr__
And i have also a Bar class which inherits Foo,

When Foo.__getattre__ is..... More

Print this item

  extract from strings some parts
Posted by: dervast - Jul-04-2019, 09:25 PM - Forum: General Coding Help - Replies (1)

Hi,
I have a data frame where a specific columns is filled in with long strings. I want for each entry there to extract a specific word if that word ..... More

Print this item

  index out of range
Posted by: rwahdan - Jul-04-2019, 07:00 PM - Forum: General Coding Help - Replies (3)

Hi,
I took python code for sudoku game and when I run the code i ran to error "out of range" please help me with this one.

[python]

import sys..... More

Print this item

  Substracting today's date from a date in column of dates to get an integer value
Posted by: firebird - Jul-04-2019, 06:45 PM - Forum: General Coding Help - Replies (1)

Hello to All!
I'm new in python programming and i need your help with the following problem. I have a CSV file with a column containing multiple date..... More

Print this item

  IndexError: string index out of range ?
Posted by: Q_Y - Jul-04-2019, 06:10 PM - Forum: General Coding Help - Replies (5)

Hello all,

I just start to learn python, working on the chapter of THE BAGELS DEDUCTION GAME.

No matter how hard I am, the order just failed.
..... More

Print this item

  How to build exe/deployable file from Python Project
Posted by: ShikhaJain - Jul-04-2019, 04:48 PM - Forum: General Coding Help - Replies (1)

I am new to Python, and I have a Python application with few .py files, and few config files in a separate config folder under the project.
I have to..... More

Print this item

  Histogram using pandas dataframe not showing proper output
Posted by: ift38375 - Jul-04-2019, 04:45 PM - Forum: Homework - Replies (1)

I am doing coding in script mode :
[python]
import pandas as pd
ontutD = {'Tutor': ['Tahira','Gagan','Anusha','Jacob','venkat',
..... More

Print this item

  parallel for loop with multiprocessing
Posted by: dervast - Jul-04-2019, 03:16 PM - Forum: General Coding Help - No Replies

Hi all,
I have a for loop that takes as input rows of a dataframe and returns back a new dataframe row that needs to be appended.

[python]for i in..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 14 minutes ago matt matt News and Disc...
  My regex function is not ... 6 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 6 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 10 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... 579371
  Tutorial Requ... 512367
  Web Scraping ... 442280
  Newbie with P... 386338
  New Users Int... 380288
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