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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

Online Users
There are currently 58 online users.
» 0 Member(s) | 49 Guest(s)
Apple, Google, Bing, AOL, Facebook

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 127
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 106
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 77
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 117
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,137
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,371
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,565
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 192
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,200
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,446

 
  recall
Posted by: cool_person - May-07-2022, 06:24 AM - Forum: General Coding Help - Replies (1)

how do you recall a item from a list

Print this item

  an app's scripting system in Python
Posted by: Skaperen - May-07-2022, 04:55 AM - Forum: News and Discussions - No Replies

if i want to create a new app that has its own scripting system with scripts written in Python, what do i need to learn/know? what if i am coding the..... More

Print this item

  Struggling with Juggling JSON Data
Posted by: SamWatt - May-07-2022, 02:25 AM - Forum: General Coding Help - Replies (7)

I have worked through 300+ pages of Shovic & Simpson's Python for Dummies All in One but hit a snag in Book 3, Chapter 2.

The first issue is that t..... More

Print this item

  Help Returning to Different Menus
Posted by: Extra - May-07-2022, 12:43 AM - Forum: General Coding Help - Replies (3)

Hello,

I have a login system that allows StandardUsers to login in and Admins to login.
If an Admin logs in and decides to view the inventory, the a..... More

Print this item

  [Solved]Help with search statement-SQLite & Python
Posted by: Extra - May-06-2022, 07:26 PM - Forum: General Coding Help - Replies (1)

Hello,

I have a function that takes in a user's input->stores it in a python variable called 'userQuery' and I would like to take the variable 'use..... More

Print this item

  How to do a mass replace within a CSV file?
Posted by: cubangt - May-06-2022, 07:15 PM - Forum: General Coding Help - Replies (9)

I have the following code that im using to open a CSV and then create a new filtered csv for importing into excel.

[python]
# THIS OPENS THE NEWLY..... More

Print this item

  TypeError: unsupported opperand type(s) for %: 'int' and 'list'
Posted by: cool_person - May-06-2022, 05:01 PM - Forum: General Coding Help - Replies (7)

nonprimenumbers=[]
primenumbers = []

for i in range (2,100000):
if (i%primenumbers==0):
nonprimenumbers.append
else:
primenumbers.ap..... More

Print this item

  df column aggregate and group by multiple columns
Posted by: SriRajesh - May-06-2022, 02:26 PM - Forum: General Coding Help - No Replies

Hi,
I have below df I want to calculate rank, age pos columns max, min, mean and group by Name, sub,school. I use can only calculate mean, but I want..... More

Print this item

  Convert list to interger
Posted by: Clives - May-06-2022, 01:05 PM - Forum: General Coding Help - Replies (5)

Greetings,
The csv returns: [114436]
I want to get the values as an integer and not list, any pointers appreciated.
Thanks
Clive

[python]
####..... More

Print this item

  I get an FileNotFouerror while try to open(file,"rt"). My goal is to replace str
Posted by: decoded - May-06-2022, 12:25 PM - Forum: General Coding Help - Replies (1)

I have a folder with .txt files. In that folder I want to list all the files and read each files and replace a specific String. The problem I get is ..... More

Print this item

  kmeans install error (please help me)
Posted by: muratuzun - May-06-2022, 10:53 AM - Forum: General Coding Help - Replies (3)

Merhaba,

python 3.10 versiyonunda kmeans yüklemeye çalıştığımda aşağıdaki hatayı alıyorum bunu nasıl geçerim

creating build\temp.win-amd64-cpyth..... More

Print this item

  naming entities(city abbreviations)
Posted by: tirumalaramakrishna - May-06-2022, 10:33 AM - Forum: General Coding Help - Replies (1)

is there any readymade code for identifying the city name abbreviation??

i have a task which contains P.O Box 1442 Hyderabad .i have to extract cit..... More


Attached Files

.txt   python.txt (Size: 534 bytes / Downloads: 313)
Print this item

  Python / Django Web Developer (F/M/D) at MIR MEDIA - Digital Agency
Posted by: djangojobs.net - May-06-2022, 07:31 AM - Forum: Jobs - No Replies

To apply
djangojobs.net/jobs/1124/python-django-web-developer-fmd-mir-media-digital-agency/


Cologne,Germany

Who we are:

We are an experienced digi..... More

Print this item

  Mid Level Django Python Developer at Bitcoin Solutions, Inc
Posted by: djangojobs.net - May-06-2022, 07:27 AM - Forum: Jobs - Replies (1)

About Us:

Bitcoin Solutions, Inc is a technology company focused on making bitcoin as easy to purchase as any gift card.

BitCards is looking for..... More

Print this item

  Create new dictionary
Posted by: angus1964 - May-06-2022, 07:05 AM - Forum: General Coding Help - Replies (6)

If I have the following two dictionaries.

[python]person1 = {
"name" : "fred"
"age" : 31
}

person2 = {
"name" : "bob"
"age..... More

Print this item

  Create new dictionary
Posted by: angus1964 - May-06-2022, 07:05 AM - Forum: General Coding Help - Replies (2)

If I have the following two dictionaries.

[python]person1 = {
"name" : "fred"
"age" : 31
}

person2 = {
"name" : "bob"
"age..... More

Print this item

  please help me with my django website?
Posted by: MetsxxFan01 - May-05-2022, 11:38 PM - Forum: Web Scraping & Web Development - No Replies

http://metsxxfan01.pythonanywhere.com/

i don't know why it's not working

don't worry i fixed it

Print this item

  Trying to delete rows above a specific datetime value
Posted by: cubangt - May-05-2022, 09:45 PM - Forum: General Coding Help - Replies (19)

So i have a csv file, and the data is structured like this

2022-04-25, 7:06 AM, bla bla bla
2022-04-25, 7:07 AM, ha ha ha
2022-04-25, 7:08 AM, ha..... More

Print this item

Question Change elements of array based on position of input data
Posted by: Cola_Reb - May-05-2022, 02:01 PM - Forum: General Coding Help - Replies (6)

Hey everyone, hope you are doing great these days. I have a difficult problem with my data processing and hope you could help me:

I have some input d..... More

Print this item

  Python Has Major Problems as Language
Posted by: Dave - May-05-2022, 01:48 PM - Forum: News and Discussions - Replies (13)

I will apologize ahead of time here. Python is great, and my preferred language, but it needs to have basic flaws fixed:

1.)Some variables are pass..... More

Print this item

  Adding row to df with df.loc[len(df.index)]
Posted by: Mark17 - May-05-2022, 01:35 PM - Forum: General Coding Help - Replies (2)

This works to add a list a as a new (last) row of a dataframe df:

df.loc[len(df.index)] = a
len(df.index) is an integer, ri..... More

Print this item

  Make console show after script was built with Pyinstaller --NOCONSOLE?
Posted by: H84Gabor - May-05-2022, 12:32 PM - Forum: General Coding Help - No Replies

Hi,

I'd be looking for a way to make the console appear after I build the script with pyinstaller using --NOCONSOLE. In most cases I do not need th..... More

Print this item

  Python Anytree - Is not of type 'NodeMixin' error
Posted by: georgebijum - May-05-2022, 09:46 AM - Forum: General Coding Help - Replies (3)

I am trying to build a Hierarchy from the below csv data:

Child,Parent,IsActive
11074165,11018432,NO
11094122,11033371,NO
11020499,11018277,NO
..... More

Print this item

  ModuleNotFoundError: No module named '_struct' when starting pip3
Posted by: yuhuihu - May-05-2022, 04:41 AM - Forum: General Coding Help - No Replies

My OS environment is openSUSE Tumbleweed.

I cloned the latest Python code from git.
[code]
git clone -b main --single-branch git@github.com:pyt..... More

Print this item

  how to populate a dataframe thru line iteration ?
Posted by: knob - May-05-2022, 12:48 AM - Forum: General Coding Help - No Replies

Good afternoon !
I need some help to approach this problem using python.
I'm currently processing a big text file, line by line.
During this itera..... More

Print this item

  NameError: name 'hash_value_x_t' is not defined
Posted by: Anldra12 - May-05-2022, 12:40 AM - Forum: General Coding Help - Replies (5)

Why happen the name hash_value_x_t not define
[python]def setup():
global hash_value_x_t
"""
Generates public key and master secr..... More

Print this item

  Why is copying and pasting a block now broken?
Posted by: WagmoreBarkless - May-04-2022, 11:36 PM - Forum: General Coding Help - Replies (2)

This is trivial, but... Wall

Henceforth, if I had a block of code:

code line 1
code line 2
code line 3
code line 4
..... More

Print this item

  Why is copying and pasting a block now broken?
Posted by: WagmoreBarkless - May-04-2022, 11:36 PM - Forum: General Coding Help - Replies (1)

This is trivial, but... Wall

Henceforth, if I had a block of code:

code line 1
code line 2
code line 3
code line 4
..... More

Print this item

  How to remove extra space from output list?
Posted by: longmen - May-04-2022, 09:04 PM - Forum: Homework - Replies (3)

Hi,

I have this input

P (0, 2,+1) (2, 0, -1) (0, 4,+1) (4, 0, -1)
and I would like to have it printed out this way [python][(0, 2..... More

Print this item

Lightbulb Code is Working As-Is, Looking for Pointers to Improve
Posted by: ki5nyz - May-04-2022, 08:40 PM - Forum: Code Review - Replies (4)

Raspbian10 (Buster) (Pi-Star image 4.1.6)
Python 2.7.16
My script is working properly, other than I still need to figure out how to set the callsign..... More

Print this item

  TypeError: 'dict_items' object does not support indexingw
Posted by: Skaperen - May-04-2022, 04:42 PM - Forum: News and Discussions - Replies (3)

why does 'dict_items' not support indexing? this is the object type you get from dict.items(). shouldn't it interface like a tuple?

Print this item

  Alarm system with state, class, enum.
Posted by: Frankduc - May-04-2022, 01:26 PM - Forum: General Coding Help - No Replies

Hello,

I have this assigment to do. An interface for an alarm system. I came up with this code at first.

[python]from time import sleep
import..... More

Print this item

  Json Parsing
Posted by: sshree43 - May-04-2022, 12:26 PM - Forum: General Coding Help - Replies (5)

Hi Expert,

i wanted to extract below objects from json file, (valueObject,valueString)

[python]"analyzeResult": {

"documentResults": [
..... More

Print this item

  Python Sqlite
Posted by: georgebijum - May-04-2022, 10:12 AM - Forum: General Coding Help - No Replies

Hi ,

I am using the sqlite3 package in python. I push data to Sqlite table using to_sql function and is then querying data from multiple tables as..... More

Print this item

  canvas size
Posted by: DPaul - May-04-2022, 07:23 AM - Forum: GUI - Replies (2)

Hi,
I have an app with a large canvas, showing images.
The canvas is configured:
[python]tifCanvas = Canvas(root, width = 1200, height = 950, relie..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [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...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578704
  Tutorial Requ... 509228
  Web Scraping ... 441851
  Newbie with P... 385802
  New Users Int... 375137
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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