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,311
» Latest member: StepanVoronin
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 36 Guest(s)
Applebot, Bing, AOL, Google, DuckDuckGo

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 11
» Views: 299
Python compiler
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 1
» Views: 68
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 90
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 50
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,118
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 204
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 730
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,837
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 205
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 165

 
  anyone here use UTF-16?
Posted by: Skaperen - Jul-26-2018, 06:29 PM - Forum: Bar - Replies (3)

does anyone here use UTF-16? i'm wondering if we even need it anymore.

Print this item

  check imports
Posted by: Viesturs - Jul-26-2018, 04:45 PM - Forum: General Coding Help - Replies (6)

I have an import statement

from Jets.Analysis.Plot import *
I suspect the imports did not run well as when I call [python]Plot(..... More

Print this item

  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: 456)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 2 hours ago Lou noisefloor General Codin...
  Python compiler 3 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579506
  Tutorial Requ... 512918
  Web Scraping ... 442374
  Newbie with P... 386400
  New Users Int... 381765
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday
Hosthubac Yesterday

User Panel Messages

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