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 39 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google, Mojeek, AOL

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

 
  modifying counter tab
Posted by: metulburr - Jun-19-2019, 02:02 PM - Forum: Board - No Replies

My goal is to create a user group in which any user can opt in and out of. This is a secondary user group. When in this usergroup you see the tab coun..... More

Print this item

  spread same class into separate files in python
Posted by: asheru93 - Jun-19-2019, 01:16 PM - Forum: General Coding Help - Replies (3)

I have some automated test written in python. There is file named TestSteps.py that holds all the test methods. The file is getting too big holding to..... More

Print this item

  CPU load at approx. 30% when multiprocessing
Posted by: freak14 - Jun-19-2019, 12:10 PM - Forum: General Coding Help - Replies (4)

Hi,
I am having trouble understanding the issue with my code. (This is just a part of my project with changed names to make it the code clearer)

[..... More

Print this item

  Flask data with dynamic updates from panadas
Posted by: parthi1705 - Jun-19-2019, 09:59 AM - Forum: Web Scraping & Web Development - No Replies

Hi all,

Having data in pandas as below

[python]
dfCountry (pandas)
Country ----->(header)
Australia,
Canada,
France,
Germany,
United Kin..... More

Print this item

  ImportError has not raised in pkg_resources module but expected
Posted by: tamilselvanvjm - Jun-19-2019, 09:50 AM - Forum: General Coding Help - Replies (2)

I tried to use pkg_resources module in rbtools but I got exception as No module named _imp.

In python 2.7.15rc1 (/usr/lib/python2.7/dist-packages/..... More

Print this item

  Multiprocessing my Loop/Iteration (Try...Except)
Posted by: Jompie96 - Jun-19-2019, 08:27 AM - Forum: General Coding Help - Replies (7)

Im converting one chemical notation to another type. My list has like over 6k different names to convert and it takes so long. How can I use multiproc..... More

Print this item

  Parse the data in XML metadata field
Posted by: klllmmm - Jun-19-2019, 07:43 AM - Forum: General Coding Help - Replies (2)

I'm trying to parse data from an XML file downloaded from https://scsanctions.un.org/resources/xml...idated.xml

Sample of the XML file is at..... More


Attached Files

.xml   scsanctions.un.org_copy.xml (Size: 17.13 KB / Downloads: 695)
Print this item

  KeyError
Posted by: mcmxl22 - Jun-19-2019, 06:36 AM - Forum: General Coding Help - Replies (2)

I used this tutorial as a template. Why does mine get a ..... More

Print this item

  wrapping problem
Posted by: ibaad1406 - Jun-19-2019, 06:23 AM - Forum: General Coding Help - Replies (2)

I have a text file which contain header as well as data section. I want to read the data section but when i wrap the data into 582 character and check..... More


Attached Files

.txt   ab010120.txt (Size: 114.56 KB / Downloads: 393)
Print this item

  webscrapping links from pandas dataframe
Posted by: Wolverin - Jun-19-2019, 04:20 AM - Forum: Web Scraping & Web Development - Replies (2)

i have pandas dataframe which contain one of the columns as weblinks, i have to open the link and read the text from link, calculate some scores, almo..... More

Print this item

  including the white space parts in str.split()
Posted by: Skaperen - Jun-18-2019, 11:24 PM - Forum: General Coding Help - Replies (6)

i need to do a split of a string with white space as the delimiter but i need to keep string of what each white space delimiter actually is. what i n..... More

Print this item

  replace white space with a string, is this pythonic?
Posted by: Skaperen - Jun-18-2019, 11:08 PM - Forum: General Coding Help - Replies (1)

i need to replace a run of white space characters by a string, which is usually a single character (but not always). for example: "foo \t bar" -> "fo..... More

Print this item

  Trying to get a coherent python installation
Posted by: Reverend_Jim - Jun-18-2019, 06:54 PM - Forum: General Coding Help - Replies (2)

I'm finding it difficult to get a consistent/coherent python installation. I had originally installed a 3.6 version of python from python.org (Windows..... More

Print this item

  lots of elifs
Posted by: Skaperen - Jun-18-2019, 06:48 PM - Forum: News and Discussions - Replies (6)

i'm still hoping to see a real world example of avoiding a big long stack of if/elif statements. in a script i am working on now where there is a log..... More

Print this item

  Grabbing a Subset of a String
Posted by: acemurdoc - Jun-18-2019, 02:22 PM - Forum: General Coding Help - Replies (3)

I need to create a new field we can call Date_Time_txt, which is based off of a long string (!FolderPath!). Example of the full string: "Call Loc/Fold..... More

Print this item

  [pandas] How to re-arrange DataFrame columns
Posted by: SriMekala - Jun-18-2019, 02:10 PM - Forum: Data Science - Replies (8)

Hi,
I have below pandas dataframe:

[python] Trial1 Trial1 Trial1 Trial2 Trial2
Name Sub_item1 Sub_item2 ..... More

Print this item

  Math problem in Python - pyqt5
Posted by: rwahdan - Jun-18-2019, 01:53 PM - Forum: Homework - Replies (6)

Hi,

I have a calculator project, I am able to give 2 numbers and operator to get answer after pressing = sign. Example, 1+2=3. Now, what if the use..... More

Print this item

  advice getting started with GUI project
Posted by: loulou - Jun-18-2019, 12:53 PM - Forum: GUI - Replies (1)

hello, I have started an internship in which I was told to create a GUI in python which would consist of diagrams and templates as well as amendable i..... More

Print this item

  How to change font color of SetHint or SetDescriptiveText?
Posted by: anistorian - Jun-18-2019, 12:06 PM - Forum: GUI - Replies (5)

Hello!

I am trying to make a search field with a hint inside with wxPython, but I can't seem to figure out how to change the colour of the hint. If..... More

Print this item

  Need Help.
Posted by: harshida - Jun-18-2019, 11:04 AM - Forum: News and Discussions - Replies (1)

Hi all,
I am studying MSC IT and as a part of curriculum I studied many subjects but I am good in Python XML and Xslt and Java script.now I am planni..... More

Print this item

  XML update using python
Posted by: sathiyarajmca - Jun-18-2019, 09:46 AM - Forum: General Coding Help - Replies (1)

Hi All,

I am beginner in python. I have 100 xml files. In that I need to insert few new XML tags. Instead of doing it manually I would like to ..... More

Print this item

  Use pysftp to get the content of a remote folder
Posted by: Pedroski55 - Jun-18-2019, 09:06 AM - Forum: General Coding Help - No Replies

I managed to get ssh working for me.

Now I want to log in, cd, get all the files in a directory, download them to /home/pedro/essays/ delete the fi..... More

Print this item

  iterate read data from excel sheet
Posted by: jp2017 - Jun-18-2019, 08:56 AM - Forum: General Coding Help - Replies (1)

In my excel sheet1 I have data like below:
Header1
textdata1
textdata2
...

Each loop I want to read the data to another app but I'm not sure ho..... More

Print this item

  running different script together
Posted by: finch666 - Jun-18-2019, 08:20 AM - Forum: General Coding Help - Replies (2)

Hi there,

I'm almost a complete newbie regarding python, and I'm struggling with a problem. I've got a google AIY voice kit running and want the ra..... More

Print this item

  changing format to Int
Posted by: Scott - Jun-18-2019, 07:47 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I am trying to change a format to int but I think it is having issues because the numbers have ,.

[python]data['Imports_vfd'].astyp..... More

Print this item

  Same Scrollbar for two text area
Posted by: smabubakkar - Jun-18-2019, 07:16 AM - Forum: GUI - Replies (3)

Hi,

I have two text area and two separate scroll bar assigned for them. i need a single scrollbar which can scroll both area ? is that possible?? a..... More

Print this item

  [split] Verify users plugin
Posted by: itsmeJAY - Jun-18-2019, 06:39 AM - Forum: Board - Replies (3)

New Plugin. Just for information. Maybe you like it.

https://community.mybb.com/mods.php?acti...w&pid=1270

Print this item

  Nested Subdirectory within current sub on shared network drive
Posted by: Agregware - Jun-18-2019, 02:46 AM - Forum: General Coding Help - Replies (1)

Would anyone happen to know how to create a sub directory within a current sub directory on a network drive? My folder is creating in the initial dire..... More

Print this item

  Creating class with getters and setters.
Posted by: amandacstr - Jun-18-2019, 02:36 AM - Forum: Homework - Replies (3)

HI!
I'm trying to create a class with getters and setters in python mode because there are too many attributes to pass as argument in __init__ method..... More

Print this item

  Converting str to binary
Posted by: ebolisa - Jun-17-2019, 10:15 PM - Forum: General Coding Help - Replies (1)

Hi,

How can I iterate trough a phrase and convert each word to binary and then sum them? Is there a library/module for the alphabet/characteres?
..... More

Print this item

  Printing lists
Posted by: acooper7 - Jun-17-2019, 09:17 PM - Forum: General Coding Help - Replies (1)

Hello,

I am somewhat new to Python, although I know the basics.

I am trying to print out a list, but when it prints it will only print the first..... More

Print this item

  Pyramids reduction
Posted by: Technoob - Jun-17-2019, 08:38 PM - Forum: Homework - Replies (3)

The problem is that I'm supposed to make a pyramid which reduces in size till reaching zero.

[python]base_size=input("base_size:" )
base_size=int(bas..... More

Print this item

  "Limit all lines to a maximum of 79 characters"
Posted by: Skaperen - Jun-17-2019, 06:49 PM - Forum: News and Discussions - Replies (16)

"Limit all lines to a maximum of 79 characters" --PEP8

more text even urges limiting the width to 72 characters.

this is one thing i definitely ..... More

Print this item

  gaussian quadrature
Posted by: mohammadrezamofidi - Jun-17-2019, 06:28 PM - Forum: General Coding Help - Replies (4)

Hello every body

I tried writing gauss-legendre quadrature formula (Attached) in python , but i am still unsuccessful. Would you please help me?
..... More

Print this item

  Problem with basics
Posted by: Wraith2102 - Jun-17-2019, 05:56 PM - Forum: General Coding Help - Replies (2)

[python]x=int(input('Enter x= ')
if x%2 == 0:
if x%3 == 0:
print('Divisible by 2 & 3')
elif
print('Divisible by 2 but not..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 54 minutes ago matt Gribouillis News and Disc...
  My regex function is not ... 8 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 8 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... 579372
  Tutorial Requ... 512374
  Web Scraping ... 442283
  Newbie with P... 386339
  New Users Int... 380294
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