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

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, Applebot, AOL, Google Image, Pedroski55

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
31 minutes ago
» Replies: 1
» Views: 87
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:56 AM
» Replies: 4
» Views: 138
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 110
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,214
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,374
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,205
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,456

 
  How to map by time stamp and name
Posted by: SriRajesh - Apr-09-2022, 12:49 PM - Forum: General Coding Help - No Replies

Hi,
I have two data frames of different size. I want to map name in df1 to in df2 name & time stamp.

There are same name but different time stamp..... More

Print this item

  Problem with "Number List" problem on HackerRank
Posted by: Pnerd - Apr-09-2022, 12:24 AM - Forum: General Coding Help - Replies (5)

I'm trying to solve the Number List problem from HackerRank

Here's what I did ..... More

Print this item

  Regex Expression With Code Query In Pandas
Posted by: eddywinch82 - Apr-08-2022, 09:06 PM - Forum: General Coding Help - Replies (8)

Hi there,

I have the following Part of a Python Code in Pandas :-

[python]for i,row in temp_df.iterrows():
text = row[1]
text=text.replace('..... More

Print this item

  Avoid third party functions to wrote my python code into system debug-log?
Posted by: mark - Apr-08-2022, 08:41 PM - Forum: General Coding Help - Replies (9)

I already asked this on stackoverflow, i will here as well.

I'm not sure how exactly to explain this question because my english is no so god. But ..... More

Print this item

  Transposition Cipher Issues
Posted by: beginner_geek07 - Apr-08-2022, 07:44 PM - Forum: General Coding Help - No Replies

I am recently new to python and I have been given the task to create a function that uses transposition cipher to encrypt and decrypt a user-input mes..... More

Print this item

  SOLVED variable as tuple name
Posted by: krayon70 - Apr-08-2022, 06:04 PM - Forum: General Coding Help - Replies (7)

Hi all,
I'm newbie in python coding.
Can somebody help me... i've search for a solution without success...
The problem is in the iomage...
Thanks...... More


Attached Files

Thumbnail(s)
   
Print this item

  meaning of -> syntax in function definition
Posted by: DrakeSoft - Apr-08-2022, 03:30 PM - Forum: General Coding Help - Replies (5)

Hi,

I came across the following function:

[python]
def getWords(self) -> list[str]:
with open(self.word_list_path, "r") as f:
wo..... More

Print this item

  Cursor Variable inside Another Cursor . CX_ORacle
Posted by: paulo79 - Apr-08-2022, 02:41 PM - Forum: General Coding Help - Replies (1)

Hi all,

I have 3 cursors, want to pass values from first and second on third cursor query as below.



[python]import cx_Oracle as oracledb
..... More

Print this item

  saml2 idp sso authentication
Posted by: tiagome - Apr-08-2022, 11:09 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi guys, would you be able to help me with how I can connect to an website using the authentication above? I have been looking for examples in the int..... More

Print this item

  How do the variables work?
Posted by: Oshadha - Apr-08-2022, 05:47 AM - Forum: General Coding Help - Replies (4)

Here's the snippet;
[python]
oneday = [20.00, 12.00, 16.00, 60.00, 15.00]
twoday = [30.00, 18.00, 24.00, 90.00, 22.50]

vdays = 1
ttype = 0

g..... More

Print this item

  Can someone explain this small snippet of code like I am a 5 year old?
Posted by: PythonNPC - Apr-07-2022, 07:40 PM - Forum: General Coding Help - Replies (3)

Hello everyone,

I have been detached from Python for quite a while now, can someone explain this code to me as if I am a 5 year old?


[python]
print..... More

Print this item

  running a TensorFlow program
Posted by: Led_Zeppelin - Apr-07-2022, 06:33 PM - Forum: General Coding Help - No Replies

I am not sure if I am at the correct forum for this. I am quite new to TensorFlow. I have created and activate TensorFlow environment. I am using the ..... More

Print this item

  Is it possible to write a python script to block twitter feeds?
Posted by: cubangt - Apr-07-2022, 04:14 PM - Forum: General Coding Help - No Replies

So i noticed lately that im seeing more and more tweets on my twitter account from users that follow the same accounts i follow.. and since they respo..... More

Print this item

  <= not supported but I already use int as an input
Posted by: vonits23 - Apr-07-2022, 02:12 PM - Forum: Homework - Replies (2)

Here's my code.
[python]userlist = "Angelo","Luigi","Russell"
userlist2 = "Von", "Enzo", "R-Cel"

#date_exp = '4-8-2032'

#date = datetime.strpt..... More

Print this item

  Trouble with saving openpyxl filename
Posted by: fjbianchi93 - Apr-07-2022, 01:50 PM - Forum: General Coding Help - Replies (4)

Hello all,

I am working to automate the creation of network diagrams using python/openpyxl. The script I have is working for the most part, but one..... More

Print this item

  Query output in Tuple
Posted by: paulo79 - Apr-07-2022, 12:13 PM - Forum: General Coding Help - Replies (2)

Hi all, I have this wuery output that I want to write to a text file. But it is writeen with "(" and "'" and I want it clear.

From database I have..... More

Print this item

  what is wrong with my code
Posted by: 53535 - Apr-07-2022, 10:29 AM - Forum: Homework - Replies (4)

[python]
import sqlite3
id1 = input('Enter the book id: ')
conn = sqlite3.connect("KJV+.SQLite3")
c = conn.cursor()
c.execute("select * from vers..... More

Print this item

  how to use variables when open a sqlite database?
Posted by: 53535 - Apr-07-2022, 08:29 AM - Forum: General Coding Help - Replies (1)

this is my code

[python]import sqlite3

conn = sqlite3.connect("KJV+.SQLite3")
c = conn.cursor()


while True:
b_id = input('Enter the ..... More

Print this item

  Migrating Selenium from Windows 7 to 10
Posted by: gw1500se - Apr-07-2022, 05:28 AM - Forum: Web Scraping & Web Development - Replies (11)

I am a bit confused about my migration problem. Some Selenium libraries have been deprecated but I cannot figure out how to make the appropriate chang..... More

Print this item

  Print Error
Posted by: DaveG - Apr-07-2022, 01:08 AM - Forum: General Coding Help - Replies (1)

Could somebody please tell me why the variable 'collapse_steps' is not returned in the variable 'collapse_times'?

[python]collapse_duration = 60.0 ..... More

Print this item

  If then statement help
Posted by: standenman - Apr-06-2022, 10:14 PM - Forum: General Coding Help - Replies (1)

I am new to coding and trying to figure out a way to code in python for a decision tree that is long and complicated. It is the logic behind a webfor..... More

Print this item

  Editing text between two string from different lines
Posted by: Paqqno - Apr-06-2022, 07:10 PM - Forum: General Coding Help - Replies (1)

I want to edit atributte values from xml file and replace every "\n" to "(newline)\n". This is necesary because I need to keep structure of xml file w..... More

Print this item

  code running for more than an hour now, yet didn't get any result, what should I do?
Posted by: aiden - Apr-06-2022, 03:11 PM - Forum: General Coding Help - Replies (2)

I'm trying to implement a triple integral Riemann sum. My single and double integral codes are working. I just added the for k in range (1,l+1):, l = ..... More

Print this item

  KeyError: 0 when trying to dedupe and match records at scale
Posted by: Catalytic - Apr-06-2022, 02:46 PM - Forum: General Coding Help - Replies (1)

I am building code that reads data from excel files into two different pandas dataframes, and performs a fast fuzzy match (fuzzy wuzzy and excel funct..... More

Print this item

  Dynamically setting nested class
Posted by: be_ams - Apr-06-2022, 02:09 PM - Forum: General Coding Help - No Replies

Hi,

I'm using pydantic to do some json validation. The incoming json will be in camel case but to keep my python as pythonic as possible (plus I do..... More

Print this item

  reduce time series based on sum condition
Posted by: amdi40 - Apr-06-2022, 09:09 AM - Forum: Data Science - No Replies

Hello i am trying to reduce the amount of zeros in a timeseries as i only need a period of 24 hour without rain before the condition does not change
..... More

Print this item

  Pick random winners from .csv
Posted by: DellXT - Apr-06-2022, 07:54 AM - Forum: Homework - Replies (6)

Hi. I'm totally new to python. Just trying to find out how to pick few, but not the same (unique by ID) winners from the .csv file. Anyone could help?..... More

Print this item

  How can I display dictionary in a gui window in Python?
Posted by: C0D3R - Apr-06-2022, 07:43 AM - Forum: General Coding Help - Replies (2)

I would recommend to run my code (it uses EasyGui), here in github: https://github.com/UnknownBob123/The-pro...n/TEST1.py
..... More

Print this item

  cs.collections error
Posted by: DaveG - Apr-06-2022, 05:27 AM - Forum: General Coding Help - Replies (7)

Hi
I have this error from the python 2.7 code below. Can someone help please? Much appreciated.

[error]Traceback (most recent call last):
File ..... More

Print this item

  SyntaxError
Posted by: DaveG - Apr-06-2022, 02:16 AM - Forum: General Coding Help - Replies (2)

Hi
I'm getting a syntax error on the print to file. Can someone correct me please?

[error]C:\Python27\python.exe C:/Users/David/PycharmProjects/py..... More

Print this item

  Is Matplotlib.pyplot Loaded
Posted by: DaveG - Apr-06-2022, 01:05 AM - Forum: General Coding Help - Replies (2)

Is there someway I can find out if the module matplotlib.pyplot is available to me while running a Python2.7 script. I have imported matplotlib succes..... More

Print this item

  ElementTree get attribute value part of string
Posted by: paulo79 - Apr-05-2022, 08:09 PM - Forum: General Coding Help - Replies (1)

Hi all,

I have this :

[python]>>> import xml.etree.ElementTree as ET
>>> tree = ET.parse('disks.xml')
>>> root = tree.getroot()
>>> root.tag..... More

Print this item

  Extract parts of a log-file and put it in a dataframe
Posted by: hasiro - Apr-05-2022, 06:58 PM - Forum: General Coding Help - Replies (4)

Hi

I'm a python beginner and would like to extract parts of a log-file and put it in a dataframe.
I tryed something, but it is not what I want.
..... More

Print this item

  Indie Python apps: level editor, animation editor and more
Posted by: KennedyRichard - Apr-05-2022, 03:14 PM - Forum: Game Development - No Replies

Hello,

My name is Kennedy, 31, I just wanted to present the Indie Python project, a personal project including ga..... More

Print this item

  100% free Python Node Editor (visual Python nodes)
Posted by: KennedyRichard - Apr-05-2022, 02:58 PM - Forum: Code sharing - No Replies

A node editor made with Python/pygame

[Image: GFNnyNk.png]

Hello, I'm Kennedy, 31, an indie/hobbyist Python developer. I'm..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 31 minutes ago tsgiannis woooee GUI
  Two arguments in input fu... Today, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [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... 578714
  Tutorial Requ... 509314
  Web Scraping ... 441858
  Newbie with P... 385814
  New Users Int... 375214
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