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,282
» Latest member: MattCarters
» Forum threads: 38,792
» Forum posts: 175,871

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 32 Guest(s)
Google, Bing, Applebot, AOL

Latest Threads
data fetching for indian ...
Forum: General Coding Help
Last Post: Pedroski55
15 minutes ago
» Replies: 1
» Views: 48
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 37
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,472
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 124
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 50
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,044
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,292
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 345
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 188
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 248

 
  .dat file to xlsxl
Posted by: Makada - Apr-07-2020, 07:39 PM - Forum: General Coding Help - Replies (40)

Hi,

I want to have the data in the .dat file copied in a xlsxl file.
The data is comma seperated, a fragment from the data incl. Headers is shown ..... More

Print this item

  why (a and b) different from (b and a)
Posted by: oloap - Apr-07-2020, 07:24 PM - Forum: General Coding Help - Replies (4)

suppose that a = (True, 2) and b = (False, False). Why do a and b is different from [inline]b and a..... More

Print this item

  Mirror cell range in excel
Posted by: TRaWolTa89 - Apr-07-2020, 06:25 PM - Forum: General Coding Help - No Replies

Hey people

I'm new with Python programming so I don't know much. I have a problem with coping a range of cells with formatting but in reverse order..... More

Print this item

  question about getattr()
Posted by: ryfoa6 - Apr-07-2020, 06:13 PM - Forum: General Coding Help - Replies (3)

This may sound like an unimportant question but finding patterns in Python is what helps me memorize syntax.
Why are the attributes in quotes e.g. 'ag..... More

Print this item

  Create and remove advanced options
Posted by: PengEng - Apr-07-2020, 05:38 PM - Forum: GUI - Replies (4)

For context; this is part of an application which is creating various plots using inputted data.

The advanced options will show and hide once, but ..... More

Print this item

  Beginner of coding
Posted by: ykc2904 - Apr-07-2020, 05:17 PM - Forum: News and Discussions - Replies (4)

Hey guys, this is ken, an absolute beginner of coding(python) from hong kong, sorry for my broken English.

coz I don't have any background on progr..... More

Print this item

  Displaying Result from Data Frame from Function
Posted by: eagle - Apr-07-2020, 04:54 PM - Forum: Data Science - Replies (1)

Hello to All!
I have the below script I'm working on. It produce the error below, which seems to point on how to iterate over data frame. I tried var..... More

Print this item

  Script works when executed from command prompt but not when executed in SDP
Posted by: Tippex - Apr-07-2020, 04:26 PM - Forum: General Coding Help - No Replies

I have a python script with the line

latin1_2 = unicode_esc.encode('cp1252')

and when I execute the script in a Windows Command prompt it execu..... More

Print this item

  Using Dictionaries
Posted by: liquidate - Apr-07-2020, 03:13 PM - Forum: General Coding Help - Replies (1)

Please how do i store a list in the value pair of a dictionary?
For example, myDict = {key:[1,2,3,4,5,6,7,8]}

I want to get input from users where..... More

Print this item

  Spelling correction
Posted by: jareyesluengo - Apr-07-2020, 02:44 PM - Forum: General Coding Help - No Replies

Hi everyone;


I have this code, made for many parts of code, for preprocess and detected unique word on whatsapp group conversation:

[python]
..... More

Print this item

  drive wait in try
Posted by: windows11 - Apr-07-2020, 01:50 PM - Forum: Web Scraping & Web Development - No Replies

Hello guys Im trying to click in a button in one webpage, but this button can have two different Xpath
/html/body/div[2]/main/div[1]/div/div/div/div/..... More

Print this item

  pandas head() not reading all rows
Posted by: naab - Apr-07-2020, 01:03 PM - Forum: Data Science - No Replies

Hi,

I am reading a csv and applying the def to remove unnecessary data.
If i apply for 174 rows,"dict = (dc_data['Description'].head(174).apply(pr..... More

Print this item

  parse .graphml files
Posted by: bask185 - Apr-07-2020, 12:11 PM - Forum: Code Review - No Replies

I use python to transform a sphere diagram into a cpp state machine. It works like a charm if.... the provided .graphml file is made by the program yE..... More

Print this item

  deleting the columns using column name
Posted by: dkirandasari - Apr-07-2020, 12:00 PM - Forum: General Coding Help - No Replies

Hello all,
Hope you all are doing well.
Can anyone help me in deleting the columns in a CSV file using the column name (not the index)?
Thanks in ..... More

Print this item

  How to turn this into a for-loop.
Posted by: bask185 - Apr-07-2020, 11:55 AM - Forum: Code Review - No Replies

I am using python to generate cpp code for me, right now I am kinda not particular good at python. It is not my first language...

I have this code ..... More

Print this item

  Cx Freeze to exe - HELP
Posted by: WBPYTHON - Apr-07-2020, 11:50 AM - Forum: General Coding Help - Replies (5)

Hi everyone,

I made a python app using PyQt5, pandas, folium and stuff but now I struggle to convert it to exe. I tried Auto-to exe / Pyinstaller /..... More

Print this item

  Android app to collect data
Posted by: jehoshua - Apr-07-2020, 10:01 AM - Forum: GUI - Replies (7)

Presently I record details from an inverter and other power equipment each day. It is all a paper/pen exercise. Looking to build a Python app that can..... More

Print this item

  Program to keep track of reading time
Posted by: test - Apr-07-2020, 09:30 AM - Forum: General Coding Help - Replies (3)

Hello!
I have been trying to keep a tab on the time i spend doing a particular activity on my computer, eg: studying.

Initial approach:
An inter..... More

Print this item

  installing third-party modules
Posted by: shabux - Apr-07-2020, 08:54 AM - Forum: General Coding Help - Replies (5)

What I'm using:
Windows 10
Python 3.8 32-bit

Complete and utter Python Noob here, with zero coding experience. Hello! I'm following along with ..... More

Print this item

  Dict from list - HELP! PLEASE!
Posted by: cherry_cherry - Apr-07-2020, 07:15 AM - Forum: Homework - Replies (16)

Hi, I consider the list under condition that if value of numero isn't duplicated, a new dict will be issued from a list with key is numero and value i..... More

Print this item

  Datetime format issue with z
Posted by: sks3286 - Apr-07-2020, 07:11 AM - Forum: General Coding Help - Replies (2)

I'm trying to parse a string as a datetime object and running into issues parsing the timezone offset part.

This is my code:

[python]
from datetime ..... More

Print this item

  ValueError: could not convert string to float
Posted by: RahulSingh - Apr-07-2020, 05:17 AM - Forum: Data Science - Replies (3)

Hi,
I am getting -ValueError: could not convert string to float while trying to generate a map via geographical coordinates. My code is below:
I gat..... More

Print this item

  Selenium won't open a link
Posted by: Justin2444 - Apr-07-2020, 03:51 AM - Forum: Web Scraping & Web Development - Replies (2)

My code is:

from selenium import webdriver


class Bot:
def __init__(self):
self.driver = webdriver.Chrome()
self.driver...... More

Print this item

  Are there any python alternatives for LuaMacros?
Posted by: NathanStanley - Apr-07-2020, 02:51 AM - Forum: General Coding Help - Replies (1)

Currently attempting to create a shortcut keyboard- a second keyboard plugged into my PC which has all it's key-presses intercepted and interpreted in..... More

Print this item

  Add column to CSV using Pandas
Posted by: nsadams87xx - Apr-06-2020, 11:58 PM - Forum: Data Science - Replies (2)

Hey everyone,

I have a list that I made as a dataframe and I want to take this dataframe and add it to an existing CSV file with data already in it..... More

Print this item

  Email List
Posted by: jackthechampion - Apr-06-2020, 11:26 PM - Forum: General Coding Help - Replies (1)

can someone fix this for me so it can only input emails having trouble






[python] scores = []

choice = None
while choice != "0":

..... More

Print this item

  Trouble reading Excel file.
Posted by: Shembeginner - Apr-06-2020, 11:08 PM - Forum: General Coding Help - Replies (2)

I have an excel file that I want to read in pandas.

My code is:
[python]pd.read_excel(r'file:///C:\Users\srodger\Desktop\amg-20200301132033.xlsx..... More

Print this item

  Not dead yet
Posted by: Gribouillis - Apr-06-2020, 09:24 PM - Forum: Bar - Replies (6)

Monty Python's premonition about the century to come.

Print this item

  email attachement with non-ascii characters will be renamed
Posted by: Erich1959 - Apr-06-2020, 09:13 PM - Forum: Networking - Replies (4)

I have created code to send an email with an attachement and it works fine as long as there are no non-ascii characters in the file name and it works ..... More

Print this item

  Convert dict from list - HELP! PLEASE!
Posted by: cherry_cherry - Apr-06-2020, 06:18 PM - Forum: General Coding Help - Replies (4)

Hi everyone,
I'm trying to transfer a list to a dictionnary and sort a new dict with key, but it's not success.
This is a list I need transfer:

..... More

Print this item

  Problem about yield, please help!!
Posted by: cls0724 - Apr-06-2020, 05:05 PM - Forum: General Coding Help - Replies (5)

I am still new to Python and i come across the below sample from my textbook that confuses me quite a lot.

[python][u]def flatten(nested, indent=""..... More

Print this item

  Python C?
Posted by: lmh1 - Apr-06-2020, 04:59 PM - Forum: General Coding Help - Replies (2)

https://docs.python.org/3/extending/extending.html

https://cython.org/

Hi can someone tell me what python C its d..... More

Print this item

  String to File Path
Posted by: creedX - Apr-06-2020, 04:51 PM - Forum: General Coding Help - Replies (4)

I am trying to create a file path from a string using os.path.normpath, however, I need a double \ at the beginning and this function doesn't allow th..... More

Print this item

  Car Brands
Posted by: RbaPhoenix - Apr-06-2020, 04:37 PM - Forum: Homework - Replies (1)

[python]class Cars:
def __init__(self,brand,model,year,amount,daily_price):
self.brand=brand
self.model=model
self.yea..... More

Print this item

  Check if a list exists in given list of lists
Posted by: Daniel94 - Apr-06-2020, 04:35 PM - Forum: Homework - Replies (2)

I want to check if a list of tuples contains a specific tuple. If

numbers = [('a','a'), ('c','a')]
look = ('a','c')
"look" should no..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 15 minutes ago drakhsin Pedroski55 General Codin...
  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...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579238
  Tutorial Requ... 512068
  Web Scraping ... 442173
  Newbie with P... 386287
  New Users Int... 379421
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
MattCarters Yesterday
drakhsin Yesterday
MileHigh303 11-21
ndx101 11-21
OtiliaBecker 11-21

User Panel Messages

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