Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
3 hours ago
» Replies: 3
» Views: 139
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
5 hours ago
» Replies: 0
» Views: 334
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
6 hours ago
» Replies: 0
» Views: 57
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,345
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 274
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 721
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 921
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,178
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,392

 
  Array input with time module (Python 3)
Posted by: alrm31015 - Jul-26-2018, 04:21 PM - Forum: Data Science - Replies (4)

Hello,

I have to generate a graphic from a .dat file in which the 2nd columns (which will be the x axis) is filled with different times of format H..... More

Print this item

  Branch and Bound
Posted by: jarrod0987 - Jul-26-2018, 03:15 PM - Forum: General Coding Help - Replies (7)

I am trying to learn about branch and bound. I understand the concept but have not had any luck tracking down an example of the code that works for wh..... More

Print this item

  'b' prefix, python 2 vs 3
Posted by: uromastix - Jul-26-2018, 02:45 PM - Forum: News and Discussions - Replies (1)

Hi everyone,

I am making a suggestion to allow a no-op 'b' prefix for variables of type 'str' in python 2. Hopefully we can get this change in befo..... More

Print this item

  Print element of list if string included = element of another list
Posted by: silfer - Jul-26-2018, 02:35 PM - Forum: General Coding Help - Replies (4)

Hi Smile

Python 3.6
Windows 7 64 bits
Pycharm Community 2018.1

In the following script, I want each element of list 'g_liste' being sear..... More

Print this item

  My Django 2.0.6 logging is not working while product merging
Posted by: PrateekG - Jul-26-2018, 02:24 PM - Forum: Web Scraping & Web Development - No Replies

Hi Experts,

I am facing a strange issue in my application built on Django 2.0.6+MySql 5.7+Python3.6.

I am trying to merge two products with same..... More

Print this item

  OOC
Posted by: ksasi2k3 - Jul-26-2018, 02:18 PM - Forum: General Coding Help - No Replies

Any suggestion for tool that exactly gives the cause and eliminates out of control from a control chart.

Print this item

  rpm version comparison in python
Posted by: asad - Jul-26-2018, 02:08 PM - Forum: General Coding Help - Replies (3)

Hi All ,

I have just read python and I was checking to code rpm version comparion .

[python]list1 = ["binutils-2.23.52.0.1-12.el7.x86_64..... More

Print this item

  No such file or directory
Posted by: SchroedingersLion - Jul-26-2018, 01:38 PM - Forum: News and Discussions - Replies (12)

Greetings,

I just installed Python 3.7 (and marked the optional "add Python to PATH" during the installation).
I can open the Python interpreter ..... More

Print this item

  Zen Python Challenge
Posted by: ichabod801 - Jul-26-2018, 01:38 PM - Forum: Code sharing - Replies (3)

What is Zen Python? Zen Python is:

  • One function.
  • One parameter.
  • Five lines (108 characters per line, 4 space indents).
  • Cool ..... More

Print this item

  safe output in a file for all switches in a network
Posted by: henry1077 - Jul-26-2018, 01:05 PM - Forum: Networking - No Replies

Hello,

I hope somebody can help me.
I'll write a script where I get output in a text file. One command output should safed for all switches in a ..... More

Print this item

  How to modify __init__ of built-in module directly from the script?
Posted by: sonicblind - Jul-26-2018, 12:56 PM - Forum: General Coding Help - Replies (5)

Hi,

I am using a f5-common-python library which I installed with pip.

There is a 'asm' directory which has this content:

[output]~/.local/lib..... More

Print this item

  Pandas - Write to Exisitng Excel File - Sorted List
Posted by: dj99 - Jul-26-2018, 10:06 AM - Forum: Data Science - Replies (4)

hi friends

how can i write my sorted list to an exisitng excel file ie sheet name and column number

[python]
from openpyxl import load_workbo..... More

Print this item

  LONG range RFID
Posted by: 9632128199 - Jul-26-2018, 07:46 AM - Forum: News and Discussions - Replies (2)

I want to konw about RFID reader in raspberry pi usng python...

I need to read the data from RFID receiver through raspberry pi using pythn code........ More

Print this item

  Scoll widget help
Posted by: DT2000 - Jul-26-2018, 02:07 AM - Forum: GUI - Replies (5)

I have peeked on the forum for an answer but I have not found what I am after.

Being new to python I am looking for a place that will offer good ad..... More

Print this item

  My program won't run through the entire code
Posted by: EvanCahill - Jul-26-2018, 01:49 AM - Forum: Homework - Replies (1)

I have created a program that plays rock, paper, scissors; keeps track of statistics including wins, losses, and ties; and is able to save and load fi..... More

Print this item

  [split] Jinja2 Exception
Posted by: Cookies - Jul-25-2018, 11:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Jinja2 exceptions.templates syntax error . Expected token ‘,’, got form. Please I tried linking my register page with the page layout

Print this item

  SQL Error Message with PySpark
Posted by: cpatte7372 - Jul-25-2018, 10:10 PM - Forum: General Coding Help - Replies (4)

Hello Community,

I'm extremely green to PySpark. I have issued the following command in sql (because I don't know PySpark or Python) and I know tha..... More

Print this item

  get destination path from item from QlistWidget
Posted by: faithcure - Jul-25-2018, 07:16 PM - Forum: General Coding Help - Replies (3)

How can i get path selected item from QlistWidget item ?

Print this item

  How to remove html content from a column of the datafarme in Python3.6?
Posted by: PrateekG - Jul-25-2018, 06:34 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a csv file which have a column-merchant product id.
This column has an unexpected data in the form of html like - <p class=""MsoNormal"..... More


Attached Files

.xlsx   df.xlsx (Size: 11.92 KB / Downloads: 439)
Print this item

  Unable to implement loop count
Posted by: zukochew - Jul-25-2018, 05:17 PM - Forum: Homework - Replies (3)

Hello all,
I have difficulty trying to count and print number of loops and implement it as solution number.
The codes are below. Any help would be ..... More

Print this item

  Command prompt execution
Posted by: saisankalpj - Jul-25-2018, 03:59 PM - Forum: General Coding Help - Replies (7)

My friend has given me a python code and in that project there is a requirements.txt file which contains names of all the packages he installed throug..... More

Print this item

  one time loop
Posted by: Skaperen - Jul-25-2018, 03:39 PM - Forum: General Coding Help - Replies (8)

i have a stack of if clause that all need to finish at the end of it all. doing it as an elif stack just doesn't work out, at least not cleanl..... More

Print this item

  Python Iteration Understanding
Posted by: giteepag - Jul-25-2018, 01:54 PM - Forum: General Coding Help - Replies (3)

Hello Experts,

I am new to python(Worked on PowerShell/C#/ASP.net) , I wanted to understand Iteration in python , I had read some reference online ..... More

Print this item

  Error not supported between instances of str and int
Posted by: avensteph - Jul-25-2018, 11:38 AM - Forum: Data Science - Replies (3)

Hello everyone. I am having trouble with my script. I am new to python and have recently just started using it. So everything runs smoothly until i ge..... More

Print this item

  Why A will be printed twice in the picture
Posted by: Shen - Jul-25-2018, 11:03 AM - Forum: General Coding Help - Replies (3)

[Image: 6cZhJ.png]
[Image: YjF2i.png]
[python]class A:
x = 1
def __getattr__(self,name):..... More

Print this item

  Python tailing file or named pipe stalls after a while
Posted by: nilsk123 - Jul-25-2018, 11:02 AM - Forum: General Coding Help - Replies (4)

I have a GNU radio project outputing data from an FM scanner running on a raspberry pi. I also have a bluetooth service running, which should send any..... More

Print this item

  ciscolib cdp output list printing support
Posted by: anna - Jul-25-2018, 10:55 AM - Forum: General Coding Help - Replies (3)

Hi There,

trying ciscolib module to discover network topology. small script as below

[python]import ciscolib
switch = ciscolib.Device("172.21...... More

Print this item

  Unknown syntax error (Im new to this)
Posted by: reasonablelevel - Jul-25-2018, 10:40 AM - Forum: General Coding Help - Replies (2)

# im trying to make a password cracker but i have a syntax error. the problem is in line 15 im not sure how to fix it. ..... More

Print this item

  Testing function calls
Posted by: jenselme - Jul-25-2018, 10:24 AM - Forum: General Coding Help - Replies (1)

Hi all,

Does someone know a nice library to test function calls? I am looking for something more expressive than the unittest module provides.

I..... More

Print this item

  Getting Correct 'a'-tag output
Posted by: soothsayerpg - Jul-25-2018, 10:21 AM - Forum: Web Scraping & Web Development - Replies (3)

I've been trying for almost a week getting the right output for the:

Quote:rel="nofollow"
Yes, I've been having success if the a-tag contains..... More

Print this item

  How to get this function using Django in building a website?
Posted by: py2exe - Jul-25-2018, 09:56 AM - Forum: Web Scraping & Web Development - No Replies

python 2.7 Django 1.11.14 win7

I want to build a Django form submission site.
Upon form submitted by user, the backend compare the data X with (..... More

Print this item

  Problem importing module
Posted by: PierreSoulier - Jul-25-2018, 08:14 AM - Forum: General Coding Help - Replies (3)

Hello, I want to use the progressbar module. It is not installed in my library so i've tried:

sudo pip3 install progressbar

But i get this error..... More

Print this item

  Question about shapefile
Posted by: oz1988 - Jul-25-2018, 07:48 AM - Forum: General Coding Help - Replies (3)

Hi,

I'm using anaconda version 1.8.7
Spyder 3.2.8
Python 3.6

This is my code:

[python]import shapefile

ctr = shapefile.Reader('/Users/oz..... More

Print this item

  Does anybody know that how to edit tree view on tkinter
Posted by: Prince_Bhatia - Jul-25-2018, 07:28 AM - Forum: Web Scraping & Web Development - Replies (11)

How to edit entries specific entries in treeview? Does anybody know?

Print this item

  Unable to fetch Outlook Mail body
Posted by: pramodb35 - Jul-25-2018, 07:08 AM - Forum: General Coding Help - No Replies

Hi All,

This is my second post.So here is issue.

I have a script code where fetching the data from outlook. i am able to get [ReceivedTime,Entry..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] how to export a... 3 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 5 hours ago helendamdam helendamdam General Codin...
  extracting data from a us... 6 hours ago Perry Perry General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576843
  Tutorial Requ... 499317
  Web Scraping ... 440625
  Newbie with P... 384600
  New Users Int... 368524
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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