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,402
» Latest member: Stephenchers
» Forum threads: 38,826
» Forum posts: 176,039

Full Statistics

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

Latest Threads
LhanePulse
Forum: General Coding Help
Last Post: Stephenchers
1 hour ago
» Replies: 0
» Views: 15
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
11 hours ago
» Replies: 2
» Views: 186
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
11 hours ago
» Replies: 29
» Views: 15,750
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
11 hours ago
» Replies: 8
» Views: 3,667
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 2
» Views: 182
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 11:47 AM
» Replies: 2
» Views: 150
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,196
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 227
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,640
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 307

 
  PYQT5 - SAVING ON EXCEL
Posted by: thestacked - Sep-09-2017, 12:30 PM - Forum: General Coding Help - No Replies

how can i make this more shortcut ? I don't know how you make it shorter like: prsheet.write(0,0,self.prname_line.text())

def PatientReg(self):

..... More

Print this item

  Trouble with LPtHW exercise 21
Posted by: pyth31 - Sep-09-2017, 12:12 PM - Forum: Homework - Replies (6)

Hi all

Im very new to programming and started Learn Python the Hard Way a week ago. Im currently at exercise 21, a lot of it makes sense but there ..... More

Print this item

  # of Positional arguments to pass for creating an object?
Posted by: burvil - Sep-09-2017, 04:56 AM - Forum: General Coding Help - Replies (2)

I'm getting an error when trying to instantiate a class, where I pass two arguments, and the third one (for self) is implicit. When I only pass in one..... More

Print this item

  The Incredible Growth of Python
Posted by: Skaperen - Sep-09-2017, 04:11 AM - Forum: News and Discussions - No Replies

i'm reading this now ...

https://stackoverflow.blog/2017/09/06/in...th-python/

Print this item

  Problem formatting output text
Posted by: aj347 - Sep-09-2017, 04:03 AM - Forum: Web Scraping & Web Development - Replies (5)

The following text is a small part of a large (4MB) file that I am trying pull text
from and save it to a csv file to open in Excel.

[color=#1ABC9..... More

Print this item

  what is ,*, ?
Posted by: Skaperen - Sep-09-2017, 01:45 AM - Forum: News and Discussions - Replies (24)

in the documentation The Python Library Reference (at least in the PDF copy) many functions and class methods are shown with an argument list that has..... More

Print this item

  Anyone play with os.scandir? It is awsome!
Posted by: Larz60+ - Sep-09-2017, 12:29 AM - Forum: Bar - Replies (5)

I'm just wondering if anyone else has played with the following:

I have been fed up with windows 7 explorer search for a long time,
but with grep ..... More

Print this item

  Is there a Python programming environment like VB6 [meta-GUI: GUI making GUI]
Posted by: JonathanEngr - Sep-08-2017, 08:08 PM - Forum: GUI - Replies (21)

I have been working with Python to create small point filtering programs for personal use. However, I would like to transition into graphics with Pyt..... More

Print this item

  I need a python coder to help me with this script
Posted by: sasha9012 - Sep-08-2017, 07:52 PM - Forum: Networking - Replies (1)

I need a python(2.7) coder to help me with this script: (rdpy-rdpscreenshot.py)
[python]rdpy.core.error.RDPSecurityNegoFail: negotiation failure c..... More

Print this item

  Unknown Syntax Error
Posted by: AlwaysNew - Sep-08-2017, 06:05 PM - Forum: General Coding Help - Replies (6)

I dont know why the first line [FIRSTNAME] is a syntax error when I run the program. Screenshot link below code.
[python]
#Password Checker
import ran..... More

Print this item

  pexpect log output
Posted by: jjwstevenson - Sep-08-2017, 03:49 PM - Forum: General Coding Help - Replies (2)

Hi folks, this is my first post so apologies if this exists in a previous post. I'm using pexpect to automate network device configuration and I'd li..... More

Print this item

  Multiple classes in another class
Posted by: Dargonoth - Sep-08-2017, 11:32 AM - Forum: General Coding Help - Replies (3)

I am new to the Python world and am having a bit of trouble trying to figure out a solution. Hopefully someone here can help this newbie out.

I am ..... More

Print this item

  Selenium to pick data from csv and enter into website
Posted by: Prince_Bhatia - Sep-08-2017, 10:14 AM - Forum: Web Scraping & Web Development - Replies (1)

please give a runnable sampMy question, i have a csv file containing lots of data that needed to be enter into my office backend system.

All i need..... More

Print this item

  django channel implementation
Posted by: x64 - Sep-08-2017, 04:50 AM - Forum: Web Scraping & Web Development - No Replies

hi, 
i read the channels documentation and i do some practice using channel. This is easy to use simple chat server but in case of blog , i can not u..... More

Print this item

  using openpyxl to insert an image in excel
Posted by: Pedroski55 - Sep-08-2017, 04:43 AM - Forum: General Coding Help - Replies (2)

I want to insert photos in an excel table. From:

http://openpyxl.readthedocs.io/en/latest...g-an-image

I get:

[quote]from op..... More

Print this item

  join elements from two splits
Posted by: dwiga - Sep-08-2017, 03:24 AM - Forum: Homework - Replies (2)

I want to join two splitted string,

[python]
a = "a,b,c"
b = "1,2,3"

spla = a.split(",")
splb = b.split(",")
for arra, arrb in spla, splb:
..... More

Print this item

  Encoding issue for the console output
Posted by: ted_chou12 - Sep-08-2017, 01:54 AM - Forum: General Coding Help - Replies (4)

[python]
import sys
reload(sys)
sys.setdefaultencoding('utf8')

import pyodbc

driver = '{ODBC Driver 13 for SQL Server}'
cnxn = pyodbc.connec..... More

Print this item

  Whats wrong with line 12?
Posted by: brimalm - Sep-08-2017, 12:29 AM - Forum: General Coding Help - Replies (2)

[python]formatter = " {} {} {} {}"

print(formatter.format(1, 2, 3, 4))
print(formatter.format("one", "two", "three", "four"))
print(formatter.for..... More

Print this item

  Script I can't figure out how to use
Posted by: Coleville - Sep-07-2017, 10:58 PM - Forum: General Coding Help - Replies (2)

I was trying to run this script:
https://languagefixation.files.wordpress...tml-py.pdf
which I need to convert the output of a text-a..... More

Print this item

  How to transfer a music file, from "uploads" directory into my project
Posted by: sylas - Sep-07-2017, 06:02 PM - Forum: General Coding Help - Replies (15)

please give a runnable sample of your code with the full error text or a clear description of the problem. Sorry, it is not a problem of code. I feel ..... More

Print this item

  Trouble executing Python script
Posted by: NewburyPi - Sep-07-2017, 03:47 PM - Forum: General Coding Help - Replies (2)

I have installed a 2X16 LCD using the Adafruit instructions, and have successful run the script. However when I try to execute using command line (see..... More

Print this item

  Uber’s Self-Driving Car Visualization Platform
Posted by: Larz60+ - Sep-07-2017, 03:27 PM - Forum: News and Discussions - Replies (5)

Engineering Uber’s Self-Driving Car Visualization Platform
If interested in how it's done: https://eng.uber.com/atg-dataviz/

Print this item

  Class File
Posted by: ankur2207 - Sep-07-2017, 02:07 PM - Forum: General Coding Help - Replies (1)

Hi,

I have saved my 'class xyz' as abc.py at some location.

now I have another editor window in which I want to write a code to create an object..... More

Print this item

  compute gross pay
Posted by: jamesuzo - Sep-07-2017, 01:04 PM - Forum: Homework - Replies (1)

please give a runnable sample of your code with the full error text or a clear description of the problem

pay: 472.5 ← Mismatch

Write a program ..... More

Print this item

  How to Think Like a Computer Scientist - Iteration Problem
Posted by: rubicana - Sep-07-2017, 11:43 AM - Forum: General Coding Help - Replies (6)

Please see http://interactivepython.org/runestone/s...nel-values

This is the ..... More

Print this item

  A bug in this program?
Posted by: OmarSinno - Sep-07-2017, 06:24 AM - Forum: Homework - Replies (4)

Why do I not find any bugs in this program?
[Image: B0BTw9L]


Btw, I did this, correction?

[img]https://imgur.com/546MJrQ[..... More

Print this item

  Have I chosen the wrong career path?
Posted by: xBlackHeartx - Sep-07-2017, 05:50 AM - Forum: News and Discussions - Replies (29)

I chose a degree in programming solely bc its the only thing my local community college offered that was of any interest to me. Besides, I've played g..... More

Print this item

  looping through every strftime in HHMMSS format
Posted by: yatinydalvi - Sep-07-2017, 05:41 AM - Forum: General Coding Help - Replies (5)

How can I loop through every HHMMSS during a span of day? i.e. from 000001 to 235959. Can I use the strftime reference?

Print this item

  How to generate the list I want?
Posted by: Krookroo - Sep-07-2017, 03:28 AM - Forum: General Coding Help - Replies (6)

Hi :)

I want to generate a list of lists of the form:

[python][ [0, 4, 4, 4, 4]
[4, 0, 4, 4, 4]
[4, 4, 0, 4, 4]
[4, 4, 4, 0, 4]
[4, 4, 4, 4,..... More

Print this item

  What is "KeyError: '刘洁.JPG'"
Posted by: Pedroski55 - Sep-07-2017, 02:59 AM - Forum: General Coding Help - Replies (3)

I want to make a lot of student photos smaller, then paste them into an excel sheet. picSize is 300 pixel or 1"

I have almost got the resizing work..... More

Print this item

  the fastest-growing major programming language
Posted by: dvs1 - Sep-07-2017, 02:50 AM - Forum: News and Discussions - No Replies

[quote]In this post, we’ll explore the extraordinary growth of the Python programming language in the last five years, as seen by Stack Overflow traff..... More

Print this item

  PyPy3.5
Posted by: dvs1 - Sep-07-2017, 02:02 AM - Forum: News and Discussions - No Replies

[quote]The PyPy team is proud to release both PyPy2.7 v5.7 (an interpreter supporting Python v2.7 syntax), and a beta-quality PyPy3.5 v5.7 (an ..... More

Print this item

  Python IDLE 3.6.2 on WIn7 vs Pyhton 3 IDLE raspberry
Posted by: djdan_23 - Sep-07-2017, 12:14 AM - Forum: General Coding Help - Replies (5)

Hi! all.
First question:
I have a small starter program that bugs me. I took this one on the net
and work well in Raspberry Pi3 Stretch & Pyt..... More

Print this item

  code pattern for process communication
Posted by: Skaperen - Sep-07-2017, 12:09 AM - Forum: General Coding Help - Replies (12)

many programs, especially GUI apps, when a 2nd one is started, tell the 1st one to open the window and the 2nd on exits.  [u]i am looking for a sugges..... More

Print this item

  'str' object is not callable
Posted by: burvil - Sep-06-2017, 11:31 PM - Forum: General Coding Help - Replies (2)

I'm having issues with my code where I'm getting 'str' object is not callable error, but I'm not assigning anything to str, and the rest of the variab..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  LhanePulse 1 hour ago Stephenchers Stephenchers General Codin...
  a function to watch files 11 hours ago Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 11 hours ago Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 11 hours ago Calab JassicaElla60 Data Science
  Check if running from she... Yesterday, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help Yesterday, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
Most views
  The best Prog... 580501
  Tutorial Requ... 520309
  Web Scraping ... 442811
  Newbie with P... 387031
  New Users Int... 386904
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Stephenchers Today
JassicaElla60 Today
bryanptrovz7447 Today
oliviajuior7959 Yesterday
aoliiapetrov4786 Yesterday

User Panel Messages

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