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 36 online users.
» 0 Member(s) | 31 Guest(s)
Bing, Mojeek, Google, Apple

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
4 hours ago
» Replies: 1
» Views: 41
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
11 hours ago
» Replies: 3
» Views: 122
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
11 hours ago
» Replies: 2
» Views: 88
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Today, 04:40 AM
» Replies: 6
» Views: 3,193
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 257
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 141
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 96
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,530
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 183
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 85

 
  Could I override a fully implemented method
Posted by: zatlas1 - Jun-05-2019, 09:57 PM - Forum: General Coding Help - Replies (2)

Hi all
I have an abstract class with a mixture of abstract methods and fully implemented methods. The latter are correct for 99.9% of the derived cl..... More

Print this item

  Finding multiple strings between the two same strings
Posted by: Slither - Jun-05-2019, 08:34 PM - Forum: General Coding Help - Replies (1)

I'm just starting to learn Python and have hit my first real road block. I have a need for a file renamer and figured it would be a good way to start..... More

Print this item

  downloading source for every version
Posted by: Skaperen - Jun-05-2019, 08:10 PM - Forum: Bar - Replies (11)

downloading source for every version of Python from www.python.org is such a bitch. they have a mix of .tar.bz2 and .tar.xz and i didn'..... More

Print this item

  Creating Map Obstacles
Posted by: cameron121901 - Jun-05-2019, 08:00 PM - Forum: Game Development - Replies (9)

I saved the image without paying for it, however, I don't intend to use it for anything but learning how to use PyGame. I am a beginner.

When the c..... More

Print this item

  ExecTiming
Posted by: JacobMorris - Jun-05-2019, 07:47 PM - Forum: Code sharing - Replies (1)

Several years ago, I wrote a small module named PyTimer that provided some features to make it easier to determine the execution time of functions and..... More

Print this item

  error using 'continue' in my code
Posted by: ilcaa72 - Jun-05-2019, 07:24 PM - Forum: General Coding Help - Replies (1)

i get the error "continue not properly in loop". i cant find examples that dont use it like this...

i want the code to exit and 're-enter' the loop..... More

Print this item

  Probem importing tkinter
Posted by: GarDebs - Jun-05-2019, 07:17 PM - Forum: GUI - Replies (3)

Hi

I'm trying to teach my son Python programming... we're using Spyder on Ubuntu.

I'm trying to use this code...
[python]from tkinter import *..... More

Print this item

  Evaluate dataset with logistic regression
Posted by: chisox721 - Jun-05-2019, 06:32 PM - Forum: Data Science - Replies (6)

To start I'll just say that I do a lot of work with Python but I'm venturing into new territory with math/data plotting so bear with me. My dataset in..... More

Print this item

  flagged as spam
Posted by: Skaperen - Jun-05-2019, 06:08 PM - Forum: Board - Replies (8)

my last post got flagged as spam and the javascript erased it so i can't review it to see why. did it get logged?

Print this item

  Python requests writes the name of the file instead of contents to web page
Posted by: bluethundr - Jun-05-2019, 04:43 PM - Forum: General Coding Help - Replies (1)

I have a function that tries to write a web page into conflunece. Instead of posting the contents of a file, it writes the name of the file to the web..... More

Print this item

  proper syntax for itertuples?
Posted by: ilcaa72 - Jun-05-2019, 04:15 PM - Forum: General Coding Help - Replies (1)

i have this code the keeps giving me errors. i cant seem to get the correct syntax, can anyone assist? below is the dataframe and error is: [b]TypeEr..... More

Print this item

  flask to uwsgi threading issue
Posted by: batchenr - Jun-05-2019, 04:02 PM - Forum: Web Scraping & Web Development - Replies (1)

Hey,

I dont know if its the right forum but ill post anyways, feel free to delete if its not.

Using Python 3.7.3, uwsgi 2.0.18, (docker containe..... More

Print this item

  Help with a CFD script development
Posted by: yamifm0f - Jun-05-2019, 02:45 PM - Forum: General Coding Help - No Replies

Hello, I am new to programming and especially new to python. I have been self-learning and I managed to write a script for a CFD code and it works fin..... More

Print this item

  Scrollbar
Posted by: rturus - Jun-05-2019, 01:46 PM - Forum: GUI - Replies (5)

Hi,

How can I attach the scrollbar to a button so that when button clicked the bar moves down automatically?

Any idea?

Thanks,

Print this item

  Grouping data based on rolling conditions
Posted by: kapilan15 - Jun-05-2019, 01:07 PM - Forum: Data Science - No Replies

I am trying to group the data-frame based on a few conditions.

Data frame:
Start Date End Date value
1971-07-01 1971-07-31 0.0
1971-08-01 ..... More

Print this item

  Encoding problems on multiple files in one folder
Posted by: NikolajKorsgaard - Jun-05-2019, 12:56 PM - Forum: General Coding Help - Replies (5)

Hello, I'm pretty new to Python, so please bear over with me, if I ask any beginner's questions.

I'm trying to work on multiple files in a folder, ..... More

Print this item

  How can I get some arguments using argparse?
Posted by: Mike Ru - Jun-05-2019, 12:32 PM - Forum: General Coding Help - No Replies

I am using a module argparse. I need to get arguments and then do something. I can only one argument now, but I cannot get some arguments if an user t..... More

Print this item

  pydev error pydev debugger: warning: trying to add breakpoint to file that does not e
Posted by: kwhhst - Jun-05-2019, 12:22 PM - Forum: General Coding Help - Replies (8)

Hello,
I think ther is only a little missing in the settings.
I have a python script where I call a function which is located in a other file.
e.g..... More

Print this item

  count unique letters in a word
Posted by: sunny_awesome - Jun-05-2019, 12:22 PM - Forum: Homework - Replies (4)

Problem description :
Write a function called unique_english_letters that takes the string word as a parameter. The function should return the total ..... More

Print this item

  Loop through array items dynamically in a certain format
Posted by: bhojendra - Jun-05-2019, 11:09 AM - Forum: General Coding Help - Replies (3)

I have something like below code:

[python]
arr = ['foo','bar']
def func():
return f"""
MY_STATEMENT (
{{
{arr[0]}: ${arr[0]},
..... More

Print this item

  Plot a small neighborhood map with some GPS trails
Posted by: dervast - Jun-05-2019, 10:22 AM - Forum: General Coding Help - Replies (2)

Hi all,
I have some GPS measurements that are coming from a car driving around. I would like to print a map overlay with the streets and then atop of..... More

Print this item

  send email after restart raspberry pi
Posted by: chano - Jun-05-2019, 09:48 AM - Forum: News and Discussions - Replies (6)

How raspberry send email when it restarting, I want receive email when raspberry is restarting, for example, when electricity drops.

Is it a possib..... More

Print this item

  3rd problem from project Euler
Posted by: Richard_SS - Jun-05-2019, 08:00 AM - Forum: General Coding Help - Replies (6)

The prime factors of 13195 are 5, 7, 13 and 29.

What is the largest prime factor of the number 600851475143 ?
-
I have written a programm for solving..... More

Print this item

  Need Help Typing Text into Tough Form [xpath / selenium]
Posted by: digitalmatic7 - Jun-05-2019, 06:26 AM - Forum: General Coding Help - No Replies

I'm struggling Huh I have no idea how to proceed. I just need to send text to these 2 fields.

The code is the exact same for both fields and..... More

Print this item

  Imitating C's strtol() function.
Posted by: Gribouillis - Jun-05-2019, 06:07 AM - Forum: Code sharing - Replies (5)

An exercise to imitate more or less the C function strtol that parses an integer at a given position in ..... More

Print this item

  compiling various versions of Python, which toolchain?
Posted by: Skaperen - Jun-05-2019, 05:54 AM - Forum: News and Discussions - Replies (4)

is there info on which toolchains the Python developers tested old versions of Python with (especially the compiler). i am building a script to compi..... More

Print this item

  Trying to write one line, writes 2
Posted by: Buddhism - Jun-05-2019, 04:08 AM - Forum: General Coding Help - Replies (1)

So the line below is what P is equal to. Everything works (No Errors)
Issue is, this should print in to a text file line by line

Example:
[quote]Choi..... More

Print this item

  versions ending with .0
Posted by: Skaperen - Jun-05-2019, 02:15 AM - Forum: News and Discussions - Replies (2)

are Python version numbers ending with .0 equivalent to the same version with the .0 removed? such as [u]3.7.0 is 3.7[/..... More

Print this item

  bytearray (and bytes) in Python2
Posted by: Skaperen - Jun-05-2019, 12:27 AM - Forum: News and Discussions - Replies (3)

i read in a couple places that bytearray is not available in Python 2. my Python 2.7.12 in Ubuntu 16.04.6 does have bytearray. was thi..... More

Print this item

  is it possible to use python to read and write from a jsx file?
Posted by: nadavrock - Jun-05-2019, 12:15 AM - Forum: General Coding Help - Replies (3)

i have extend script java script document i want to write into using python. but it didnt work. does it only work with txt files?

Print this item

  remove tags from BeautifulSoup result
Posted by: moski - Jun-04-2019, 09:18 PM - Forum: General Coding Help - Replies (1)

Please, I am just learning:
Can anyone tell me how I can remove the tags in the below output(Result) and get my answer in an array like
Address = [a..... More

Print this item

  elevator simulator...whats the wrong at this code?
Posted by: tasos710 - Jun-04-2019, 08:36 PM - Forum: General Coding Help - Replies (5)

[python]import random

class Lift(object):
def _init_(self,floors,passengers_in,direction ="up",cur_floor=1):
self.total_floors = flo..... More

Print this item

  What is the best book for in-depth Python for advanced other-language programmers?
Posted by: user118967 - Jun-04-2019, 06:55 PM - Forum: News and Discussions - Replies (1)

Hi. I would like to receive suggestions for Python learning materials for people who are already advanced programmers in languages such as Java or C++..... More

Print this item

  Two dataframes merged
Posted by: Ecniv - Jun-04-2019, 06:46 PM - Forum: Data Science - Replies (10)

Situation:
Learning Pandas, using Nederlands OV CHipkaart data (mine) for a month to test pandas and practice
Currently can read the file into a dat..... More

Print this item

  Understanding Class Variables
Posted by: vindo - Jun-04-2019, 06:29 PM - Forum: General Coding Help - Replies (9)

Hi,
I am a newbeee to python and had a prior java knowledge.
So, while learning python object oriented concepts, i am trying to relate to java (kind..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 4 hours ago matt Gribouillis News and Disc...
  My regex function is not ... 11 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 11 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python Today, 04:40 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... 579374
  Tutorial Requ... 512382
  Web Scraping ... 442290
  Newbie with P... 386341
  New Users Int... 380304
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