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

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 31 Guest(s)
Bing, DuckDuckGo, Google, AOL

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

 
  Python - List from csv files
Posted by: Wscwt011 - Mar-18-2020, 05:26 PM - Forum: General Coding Help - Replies (1)

I have a csv file that contains a set of records which represent a list of x,y coordinates.

I want to know how to get them from the file and into a..... More

Print this item

  Deny backslash using regex
Posted by: JohnnyCoffee - Mar-18-2020, 05:25 PM - Forum: General Coding Help - Replies (1)

My backslash don't work ?
SyntaxError: EOL while scanning string literal

Exemple backslash :

[python]
v_char = "search?q=\"

o_rex = re.matc..... More

Print this item

  How can I copy and paste data from text file into an Excel sheet?
Posted by: IrishOrigi - Mar-18-2020, 04:34 PM - Forum: General Coding Help - Replies (14)

I am trying to automate a process that basically reads in values from text files into certain excel cells. I have a template in excel that will read d..... More

Print this item

  Unexplained Phenomenon with Objects
Posted by: RoastyGhosty - Mar-18-2020, 02:34 PM - Forum: General Coding Help - Replies (1)

Consider the following class:

class a:
  def __init__(self,T):
    self.T=T
Now, if I set
[python]
x=a(3)
y=a(4)
[/pyth..... More

Print this item

  reformatting data frame
Posted by: tkirkland - Mar-18-2020, 02:17 PM - Forum: Data Science - No Replies

I am trying to convert a pandas data frame with multiple rows and multiple columns to one with singles rows and multiple columns. The current format ..... More

Print this item

  Scraping a dynamic data-table in python through AJAX request
Posted by: filozofo - Mar-18-2020, 01:42 PM - Forum: Web Scraping & Web Development - Replies (1)

Ref to the stackoverflow thread:..... More

Print this item

  Store DataFrame in a dict within two for-loops
Posted by: Aukru - Mar-18-2020, 09:31 AM - Forum: Data Science - Replies (1)

[python]
dict_of_results = {}

data = pd.read_csv('data.csv', sep = ';', index_col = False)
# data.csv looks like the following, containing 2 obj..... More

Print this item

  Error in Python3.6:free() Corrupted unsorted chunks error
Posted by: sameer_k - Mar-18-2020, 09:20 AM - Forum: General Coding Help - Replies (2)

I have multiple python scripts which push data in many tables of MsSql database.

I am using pymssql python package to connect to database. I have ..... More

Print this item

  Can python read Marathi text files and summarize them?
Posted by: mcp111 - Mar-18-2020, 08:58 AM - Forum: Data Science - No Replies

Can python read Marathi text files and summarize them as per this article

https://medium.com/@umerfarooq_26378/tex...on-76c0a41..... More

Print this item

  The logic of a main routine
Posted by: john7 - Mar-18-2020, 08:53 AM - Forum: General Coding Help - Replies (6)

In C all my functions run in the main loop
[python]
void main(void)
{
Init();
while (1)
{
DoSomeStuff();
}
}
[/pytho..... More

Print this item

  ? Headers: Keep-It=Simple; And=Stupid; With=Auto-Completion. Support HTTP, IMAP.
Posted by: Ousret - Mar-18-2020, 08:13 AM - Forum: Code sharing - Replies (1)

Hi,

I have a opensource project to share with you guys Smile

It is about : [i]Don't screw up reading Headers, Keep It Simple, Stupid ! HT..... More

Print this item

  XML question
Posted by: DPaul - Mar-18-2020, 07:46 AM - Forum: News and Discussions - Replies (2)

Hi,

I'm just being curious Cool
When i program with an xml database, i can e.g. add a new "record",
and even add a new field to existing r..... More

Print this item

  Replacing sub array in Numpy array
Posted by: ThemePark - Mar-18-2020, 04:19 AM - Forum: Data Science - Replies (5)

I'm trying to replace a sub array in a Numpy array, with an array of the same shape, such that any changes are mirrored in both arrays. I've run the f..... More

Print this item

  A question about encoding
Posted by: Exsul1 - Mar-18-2020, 12:11 AM - Forum: GUI - Replies (1)

I had to add .encode('utf-8') to the end of a string containing vowels with macrons (ā and ē) to prevent my Kivy app fr..... More

Print this item

  Need help comparing totals from list of dictionaries
Posted by: AnOddGirl - Mar-17-2020, 11:43 PM - Forum: Homework - Replies (1)

I need to write a code that will multiply the price of each item with its respective quantity and then return whichever dictionary has the highest tot..... More

Print this item

  Convert Int Value bigger 256 to Unicode
Posted by: lastyle - Mar-17-2020, 11:04 PM - Forum: General Coding Help - Replies (4)

Hi all,

i need to save a list which contains mixed data of unicode and int values.

I`d need to convert the int values before adding them to the list..... More

Print this item

  Unable to install Python
Posted by: russianponchik - Mar-17-2020, 08:56 PM - Forum: General Coding Help - Replies (2)

Hi,great community. I need your help. Cool
[Image: fMpwfkC]
See log here, thanks
..... More

Print this item

  How to select language/country in search () module
Posted by: Val - Mar-17-2020, 08:28 PM - Forum: General Coding Help - No Replies

I am trying to figure out how to get results from Google in a date range and in a specific language using search() from googlesearch library. It seems..... More

Print this item

  I experimented with a loop, and I don't understand how I got my output
Posted by: thinwheats - Mar-17-2020, 07:10 PM - Forum: Homework - Replies (7)

I am self-studying python while on the job. I have "Python Programming: An Introduction to Computer Science" by John Zelle, and I'm on page 44 learnin..... More

Print this item

  use Xpath in Python :: libxml2 for a page-to-page skip-setting
Posted by: apollo - Mar-17-2020, 06:03 PM - Forum: Web Scraping & Web Development - Replies (2)

hello dear Pythonists good day dear experts Smile
..good day dear Larz60+ and snipsat


my name is Apollo and i am pretty new to Python, BS4..... More

Print this item

  How can you add an attribute to a function within a class?
Posted by: sjaakthomassen - Mar-17-2020, 06:02 PM - Forum: Homework - Replies (2)

Hi,

I'm trying to add an attribute to a function / method within a class and then change it from within the function.
Couldn't figure out how to d..... More

Print this item

  Read microcontroller eeprom and feed into python to find checksums.
Posted by: mikeak2001 - Mar-17-2020, 04:51 PM - Forum: General Coding Help - Replies (2)

Good afternoon,

Looking for a little help if possible.
I've done some coding in python but not a massive amount.
In this case I've never done any..... More

Print this item

  looking for direction - scrappy, crawler, beautiful soup
Posted by: Sly_Corn - Mar-17-2020, 02:21 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello All,

I am looking for recommendation for a good start in building my first Python scraper script.
Actually I am not even sure if I should us..... More

Print this item

  python question
Posted by: strekasz - Mar-17-2020, 02:04 PM - Forum: Homework - Replies (1)

Hello! I am a beginner and I need help. What's the problem with this syntex? Thanks for the help

[python]class Alma

def __init__(x):

..... More

Print this item

  Pytonboard txt editor
Posted by: wibergs - Mar-17-2020, 01:50 PM - Forum: Jobs - Replies (1)

I need a simple text editor in Python 3 that can run on a Pythonboard.

The text editor must have 4 “containers” where text can be written in, switc..... More

Print this item

  Recommended way to read/create PDF file?
Posted by: Winfried - Mar-17-2020, 12:44 PM - Forum: General Coding Help - Replies (3)

Hello,

I need to either read/fill/sign an existing PDF file, or build one from scratch.

Using ..... More

Print this item

  A more efficient way of comparing two images in a python
Posted by: vukan - Mar-17-2020, 11:39 AM - Forum: General Coding Help - No Replies

I have a task where i need to specify the upper left coordinate of the smaller image in the larger image. I implemented this code, however it is too s..... More

Print this item

  How to run Ubuntu desktop AppImage file from script?
Posted by: jungx148 - Mar-17-2020, 10:36 AM - Forum: GUI - No Replies

Hello, all

I am currently searching for a method to launch .AppImage file from PyQt5 script under Ubuntu 16.04.

For instance, what I am trying t..... More

Print this item

  DataFrame: To print a column value which is not null out of 5 columns
Posted by: mani - Mar-17-2020, 10:05 AM - Forum: Data Science - Replies (2)

Hello All,

I have an excel sheet with 6 columns: app_name,app_owner,bus_owner,it_lead,app_maintainer,last_updater.
Here column 2 to 6 are people n..... More

Print this item

  import*
Posted by: berckut72 - Mar-17-2020, 07:14 AM - Forum: GUI - Replies (2)

Hello!
An expression (from tkinter import *) is often used. In order not to use an asterisk, you need to know what specifically to import. How to fin..... More

Print this item

  Fetch student details from a text file and print the details.
Posted by: Pranav - Mar-17-2020, 07:10 AM - Forum: Homework - Replies (2)

I am getting the desired output for this problem but feel that my code is very long. Please suggest if its possible to shorten the code and make it be..... More

Print this item

  Image data cannot be converted to float
Posted by: rakeshd3 - Mar-17-2020, 06:36 AM - Forum: Homework - Replies (1)

Write a function in the cell below that iterates through the words in file_contents, removes punctuation, and counts the frequency of each word. Oh, a..... More

Print this item

  Webelement scroll
Posted by: rove76 - Mar-17-2020, 06:24 AM - Forum: Web Scraping & Web Development - Replies (1)

Hey so i use selenium and i would like to scroll insie an element but can't find the way to do it.
this is what i tried so far:
def findfollowers (s..... More

Print this item

  Sort objects by protected properties.
Posted by: Sigriddenfeta - Mar-17-2020, 02:08 AM - Forum: Homework - Replies (1)

[python]class AdjacencyList:
def __init__(self, name=None, info=None):
self._name = name # head node name
self._info = info #..... More

Print this item

  Convert even byte array to odd
Posted by: medatib531 - Mar-17-2020, 01:53 AM - Forum: General Coding Help - Replies (1)

Hello, my question is as follows:
Say I have a 256-bit array, e.g.

[python]'74ccc1643dd3d97236bc74d378692f9617f779e6d935a6df9e8d2fe161b1fed4'[/python..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 44 minutes ago drakhsin snippsat Web Scraping ...
  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... 579247
  Tutorial Requ... 512089
  Web Scraping ... 442181
  Newbie with P... 386289
  New Users Int... 379520
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 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 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