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,300
» Latest member: Jonathan
» Forum threads: 38,796
» Forum posts: 175,895

Full Statistics

Online Users
There are currently 43 online users.
» 0 Member(s) | 40 Guest(s)
Bing, AOL, Google

Latest Threads
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
2 hours ago
» Replies: 6
» Views: 7,769
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
5 hours ago
» Replies: 7
» Views: 600
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
9 hours ago
» Replies: 3
» Views: 101
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 77
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 150
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,198
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 274
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 159
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 104
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,535

 
  call dict object result key error
Posted by: lateublegende - May-14-2019, 04:52 PM - Forum: General Coding Help - Replies (2)

hello, my program include a dict, but when I try to call a object of the dict, that result with a KeyEror
[python]
actualsearch=0
dict={ 0: 41, 1: ..... More

Print this item

  How to convert rows to columns.
Posted by: jarrod0987 - May-14-2019, 04:37 PM - Forum: General Coding Help - Replies (1)

I'm playing around with incomplete columnar ciphers. What is the fastest was to convert rows to columns when the columns may not all be the same lengt..... More

Print this item

  IDLE Deployment to classroom
Posted by: siwekp - May-14-2019, 03:45 PM - Forum: General Coding Help - Replies (1)

Hey, i've deployed Python 3.7.3 to a suite of computers, no problem there, the issue i have is getting the IDLE.bat file to run in a restricted enviro..... More

Print this item

  py2 to py3 conversion
Posted by: Vysero - May-14-2019, 03:40 PM - Forum: General Coding Help - Replies (1)

Hey guys, its been a while since I have worked with Python. I remember there were a few changes when py moved from 2 too 3. I am getting a syntax erro..... More

Print this item

  Requesting help with 3D plotting with quivers
Posted by: Akan2019 - May-14-2019, 02:05 PM - Forum: General Coding Help - Replies (1)

Hello,
I am trying to write a python script to read columns of data from a file, construct a vector and plot the vector data at the height of the 'en..... More

Print this item

  Saving detections to a file
Posted by: JosefFilosopio - May-14-2019, 02:04 PM - Forum: General Coding Help - Replies (6)

Hello!

For a project I am in need of a specific data structure. I am not sure how to call this or where to find this so I hope someone can help me...... More

Print this item

  How to write to csv file
Posted by: SriMekala - May-14-2019, 01:51 PM - Forum: General Coding Help - Replies (1)

Hi,
I read some data from the web which is in the below format:

[python][{'expTime":"2019\/04\/02 00:11:23","type_exp" :"INJ_2026","F_pair":148,"e..... More

Print this item

  Speedup the porting process
Posted by: Sandy7771989 - May-14-2019, 01:44 PM - Forum: General Coding Help - Replies (2)

Hi All,
I'm trying to port data from MySQL DB to PostgreSQL DB using the below script,The script is running fine ,but it is slow for higher record co..... More

Print this item

  chr in Python
Posted by: DarkCraftPlayz - May-14-2019, 01:01 PM - Forum: Homework - Replies (8)

Question: [b]Write a program in Python to allocate and display Block and Floor No. on the basis of Customer Number. Assuming there are 10 Blocks ('A' ..... More

Print this item

  How to repeat input line of code until condition is met
Posted by: Reta - May-14-2019, 11:52 AM - Forum: Homework - Replies (2)

So right now, I'm trying to loop a line that requires input until a condition is met, but I can't seem to do so.

Essentially, what I want is:

Code a..... More

Print this item

  json.dumps to keep dictionary keys
Posted by: batchenr - May-14-2019, 11:14 AM - Forum: General Coding Help - Replies (1)

Hello,
im using python3 on ubuntu 18 machine
i am new to python

i have this script :
[python]
import json
import psutil
d = {}

mem = psut..... More

Print this item

  status bar controll with buttons
Posted by: chano - May-14-2019, 10:54 AM - Forum: GUI - Replies (4)

Hello dears,Can you help me?
How i move this bar with the buttons?
Or offer a better solution.
Thank you much
[python]
import tkinter as tk
from..... More

Print this item

  delete a file after closing it
Posted by: mcgrim - May-14-2019, 10:36 AM - Forum: General Coding Help - Replies (1)

I used a file in my code
and I wanted to delete it
manually.
A message appeared saying that it was still open
in python and therefore I could not..... More

Print this item

  rf64 audio files
Posted by: kerzol81 - May-14-2019, 07:41 AM - Forum: General Coding Help - Replies (7)

Hi,

I got tons of rf64 audio files.
I try to parse the meaning of each field from the header with not much success.

here is the header of such ..... More

Print this item

  Broadcasting error in CVXPY
Posted by: adamG - May-14-2019, 07:38 AM - Forum: Data Science - Replies (1)

Hello,

I am trying to run the following code, which I took exactly from a website, where people confirmed it to be working. Could you please help ..... More

Print this item

  Selecting a sample based on index
Posted by: Scott - May-14-2019, 06:08 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

I am trying to select a time period based on a date index. head of data below:

[output] NZ
Year-Qtr
Mar-90 0.2
Jun-90 -0.5
Sep..... More

Print this item

  module logging posting randomly
Posted by: DJ_Qu - May-14-2019, 03:48 AM - Forum: General Coding Help - Replies (2)

Hello,
I am writing a program with a lot of print() so I use the module logging for debugging purposes. The problem is that when I put logging.debug(..... More

Print this item

  Downloading book preview
Posted by: Truman - May-13-2019, 11:32 PM - Forum: Web Scraping & Web Development - Replies (6)

The script should open a preview of amazon book, list all given pages ( images ), download it's content and print it.
[python]import time
import subp..... More

Print this item

  how to convert list into string
Posted by: Shevach - May-13-2019, 09:20 PM - Forum: Homework - Replies (3)

I thought that this would be really easy but I'm having problems.
I want to print a list and add the word "and" before the last value

I tried with..... More

Print this item

  How can I change value of dict in list?
Posted by: Mike Ru - May-13-2019, 08:41 PM - Forum: General Coding Help - Replies (1)

I have it

phone_books = [
    {'id': 0, 'name': 'Mike', 'number': 1111111},
    {'id': 1, 'name': 'Sasha', 'number': 2222},
]
I res..... More

Print this item

  Python says module doesn't exist... I say it does!
Posted by: EricMichel - May-13-2019, 07:37 PM - Forum: General Coding Help - Replies (2)

Hello all!

I am much newer to scripting in Python and my experience is almost exclusively limited to writing tools for use in a Maya production pipel..... More

Print this item

  read from file
Posted by: mcgrim - May-13-2019, 07:00 PM - Forum: Homework - Replies (16)

I am trying to solve this task:

Read the dates and the energy-values from the file "kwh.dat". Every line you readin is a string with string represe..... More

Print this item

  Backend Python Developer needed in NYC ASAP
Posted by: KenP - May-13-2019, 06:51 PM - Forum: Jobs - No Replies

I have an immediate need for a Backend Python Developer in New York City (SoHo) paying from $70-100/hour. This is an onsite position lasting 3-6 mont..... More

Print this item

  Spam, Is or is not ?
Posted by: MvGulik - May-13-2019, 05:24 PM - Forum: Board - Replies (3)

This morning I saw some 'blockchain related <something> for python' post in 'News and Discussions'. And my initially thought was to report is as spam...... More

Print this item

  Improving the program
Posted by: sunhyunshine - May-13-2019, 04:50 PM - Forum: Homework - Replies (5)

Hello, i have this homework assignment, but i would like to improve it and would appreciate any help. If you have any ideas, feel free to comment.

..... More

Print this item

  Python - install pip on embed version
Posted by: glardz - May-13-2019, 04:07 PM - Forum: Homework - Replies (1)

hi,

i try to install pip on python 3.7.3, i run the script get-pip.py and installed succesfully but when i run python.exe pip is not reconize

Print this item

  Converting Program to OOP
Posted by: Carson147 - May-13-2019, 03:42 PM - Forum: General Coding Help - Replies (2)

Hello, I recently created a makeshift 'My Contact' program that is completely text based. I'm wondering if it is possible to turn this code into Objec..... More

Print this item

  How does it really works
Posted by: Somnath - May-13-2019, 03:40 PM - Forum: General Coding Help - Replies (1)

Attention: This is by far the most silliest question you would have ever heard. But, I am asking this bcoz I am absolutely naive on Python and I am no..... More

Print this item

  Kolmogorov-Smirnov Test
Posted by: Lucky - May-13-2019, 03:28 PM - Forum: Data Science - No Replies

hey guys,

I am challenged with the following problem:
I am analysing a pretty big dataset that consists of 100*16*3 datapoints. I want to know i..... More

Print this item

  integer representing a 10-digit phone number
Posted by: critter70 - May-13-2019, 02:31 PM - Forum: Homework - Replies (5)

Can someone help point me in the right direction? Many thanks.

[font=Arial, Helvetica, sans-serif][font=Lucida Sans Unicode, Lucida Grande, sans-s..... More

Print this item

  Wrong result of polyroots
Posted by: Thomas - May-13-2019, 02:23 PM - Forum: Data Science - Replies (1)

I'm using the following code as part of a recursively called process.
It processes a proportional feedback loop provided by a polynom, that might use..... More

Print this item

  Four-digit number text translation.
Posted by: soz - May-13-2019, 02:12 PM - Forum: Homework - Replies (3)

Four-digit number text translation. Example: 1565
one thousand five hundred sixty five
pyhton code?

Print this item

  homework
Posted by: sheck33332 - May-13-2019, 01:19 PM - Forum: Homework - Replies (5)

How would i remove triplets from a list
so for example
[1,1,1,2,4,5,7,7,7]
would become
[2,4,5]

Print this item

  Multiplying two lists to make an array
Posted by: pberrett - May-13-2019, 01:09 PM - Forum: General Coding Help - Replies (15)

How have two lists of unequal length with values in each. I want to multiply these two lists to make an array containing a formula applied to each com..... More

Print this item

  python/ansible: ImportError: No module named future
Posted by: wardancer84 - May-13-2019, 12:30 PM - Forum: General Coding Help - Replies (1)

since i moved to python 3.6 and modernized some of my ansible modules with futurize/pasteurize ansible is not able to import the future module and fai..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Can I develop a live vide... 2 hours ago mtrkhan mamta25 Web Scraping ...
  Help with Serial.write in... 5 hours ago racingsubby racingsubby General Codin...
  silent deployment Python ... 9 hours ago Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 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 ...
Most views
  The best Prog... 579384
  Tutorial Requ... 512429
  Web Scraping ... 442300
  Newbie with P... 386346
  New Users Int... 380360
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Jonathan Today
matt Yesterday
Divyakrishnan071 Yesterday
ichsanputr Yesterday
nicos18 11-25

User Panel Messages

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