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,253
» Latest member: cc123
» Forum threads: 38,781
» Forum posts: 175,829

Full Statistics

Online Users
There are currently 45 online users.
» 3 Member(s) | 35 Guest(s)
Bing, Google, AOL, Facebook, buran, tsgiannis

Latest Threads
Convert Json to table for...
Forum: General Coding Help
Last Post: cc123
11 minutes ago
» Replies: 6
» Views: 18,222
re.split issue
Forum: General Coding Help
Last Post: noisefloor
56 minutes ago
» Replies: 3
» Views: 39
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
4 hours ago
» Replies: 6
» Views: 325
New to python and coding
Forum: Homework
Last Post: lary_p
8 hours ago
» Replies: 5
» Views: 149
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 98
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 229
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 359
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 138
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,636
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 236

 
  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

  function handling
Posted by: JohnCrichton - Sep-06-2017, 10:18 PM - Forum: General Coding Help - Replies (2)

Hi All!
I'm pretty new to Python coding and I'm doing some stuff while I learn the language, I have some experience with Matlab especially for mathem..... More

Print this item

  I have a logic error.
Posted by: forumer444 - Sep-06-2017, 09:48 PM - Forum: Homework - Replies (3)

So for my homework assignment, I have to write a program that basically counts the characters and types of characters in a string that's entered by th..... More

Print this item

  Socket won't receive data suddenly with multiple clients
Posted by: SquareRoot - Sep-06-2017, 09:09 PM - Forum: Networking - No Replies

Hi Folks,

i've programmed a simple web server. This is the Code:

[code]
import socket

csock=''
c=''

c = createListenSocket('',8000,1)
..... More

Print this item

  Scraping with BeautifulSoup
Posted by: Prince_Bhatia - Sep-06-2017, 09:08 PM - Forum: Web Scraping & Web Development - Replies (8)

hi,

i am trying to scrape the website "https://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=-1&IsNodeId=1&Description=GTX&bop=And&Page=1&Page..... More

Print this item

  .py File extension now working
Posted by: Pronger05 - Sep-06-2017, 08:18 PM - Forum: General Coding Help - Replies (5)

https://gyazo.com/70f90b2a0502b36f62e44392b3c7efb4
When I try to run a .py file, I get this error message. Can anyone please help? Thanks in advance..... More

Print this item

  'Hello, World!' Problem - Urgent
Posted by: OmarSinno - Sep-06-2017, 08:16 PM - Forum: General Coding Help - Replies (7)

Hello, I'm new to programming and you probably already realized that I'm a noob after reading the title of this thread.
Anyway, I use the atom edito..... More

Print this item

  Python 2 http networking problems, if any
Posted by: Aeneas - Sep-06-2017, 06:38 PM - Forum: Networking - Replies (1)

What sorts of special problems are there with writing
http networking code with Python 2 rather than Python 3 ?
Are the Python Library calls for ht..... More

Print this item

  I Be Back
Posted by: stranac - Sep-06-2017, 05:09 PM - Forum: Bar - Replies (6)

So I'm getting back into the world of the interwebz and programming after 6 months of absence caused by unforeseen circumstances.
Hope I haven't comp..... More

Print this item

  TypeError: unsupported operand type(s) for ** or pow(): 'int' and 'NoneType'
Posted by: rajeev1729 - Sep-06-2017, 04:49 PM - Forum: General Coding Help - Replies (1)

[python]def encrypt(pk, plaintext):
#Unpack the key into it's components
key, n = pk
#Convert each letter in the plaintext to numbers b..... More

Print this item

  Empty list literal display error
Posted by: Mekire - Sep-06-2017, 04:41 PM - Forum: Board - Replies (7)

There seems to be an issue with the literal for an empty list in python tags.

The following in tags should read ">>> open_bracket close_bracket"
but ..... More

Print this item

  What does this mean?
Posted by: Giulio - Sep-06-2017, 03:42 PM - Forum: General Coding Help - Replies (5)

hello,
I am a beginner in python. I just started learning python in school 3 days ago.
I was wondering why this becomes true and false:
[python]0 == (..... More

Print this item

  Help with mystery data
Posted by: paulr - Sep-06-2017, 01:49 PM - Forum: General Coding Help - Replies (4)

I'm attempting to read data from SQLite file and getting this from one of the fields.

After some googling I thought it was a 'plist' structure, but..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Convert Json to table for... 11 minutes ago python_student cc123 General Codin...
  re.split issue 56 minutes ago paul18fr noisefloor General Codin...
  Backward compatibility qu... 4 hours ago yutaozhou noisefloor News and Disc...
  New to python and coding 8 hours ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578915
  Tutorial Requ... 510131
  Web Scraping ... 441937
  Newbie with P... 385954
  New Users Int... 376731
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
cc123 Today
Jessicaadams Today
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday

User Panel Messages

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