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,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

Online Users
There are currently 158 online users.
» 0 Member(s) | 156 Guest(s)
Bing, Google

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
6 hours ago
» Replies: 4
» Views: 138
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 161
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 677
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,813
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 156
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 136
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 216
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,219
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 326
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 217

 
  Confusing output from 2to3 about what files need change
Posted by: Moonwatcher - Dec-29-2018, 10:27 PM - Forum: General Coding Help - Replies (1)

Porting my 2.7 code to python 3.6.7

Two confusing issues:
1. 2to3 found changes on second run.

After running 2to3 on a dir so changes are made,..... More

Print this item

  Make a table from a json output
Posted by: carstenlp - Dec-29-2018, 09:10 PM - Forum: General Coding Help - Replies (13)

Hi all

Hope someone can point me in the right direction here.
Im using api to call a website, where i get this response. (cleaned for a few things..... More

Print this item

  How to send/receive data over TCP
Posted by: Rehan11 - Dec-29-2018, 06:39 PM - Forum: Networking - Replies (1)

I have tow system one is system A and anothr is system B

System A - Server (pi)
System B - Client (printer)

I want to send a request to the pr..... More

Print this item

  Amoeba Solves NP Hard
Posted by: ichabod801 - Dec-29-2018, 06:35 PM - Forum: News and Discussions - Replies (4)

https://www.popularmechanics.com/science...oeba-math/

[quote=Popular Mechanics]So the amoeba can solve an NP-hard problem faster tha..... More

Print this item

  Nested for loop issue always using index 0
Posted by: searching1 - Dec-29-2018, 06:22 PM - Forum: Homework - Replies (2)

I'm having an issue with my nested loop wherein I have the list of ipaddress and hostname, looping of address is correct while looping on hostname is ..... More

Print this item

  Need code in Python
Posted by: pbr1413 - Dec-29-2018, 03:35 PM - Forum: General Coding Help - Replies (1)

Dear All,
How to compare two strings character by character in python?

Thanks
Balaji

Print this item

  How can I move in an external program via Python?
Posted by: Pythoner - Dec-29-2018, 12:43 PM - Forum: General Coding Help - No Replies

Hello,

I would like to ask a question about controlling a program via Python.

I can open an external program or file with subprocess command in ..... More

Print this item

  Running another python script from a python script
Posted by: buddy23 - Dec-29-2018, 12:25 PM - Forum: Homework - Replies (1)

Hello, I have been trying to fix this for a long time, but couldn't do it

Let me first explain what I am trying to do -

I have a python script whic..... More

Print this item

  Monte Carlo : Open source project
Posted by: bhagvanarch - Dec-29-2018, 11:28 AM - Forum: Code sharing - No Replies

Quantica computacao has started an open source initiative in python. We invite students and professionals to be part of it . My email address is bhagv..... More

Print this item

  take over control of mouse/keyboard
Posted by: ian - Dec-29-2018, 05:59 AM - Forum: General Coding Help - Replies (1)

My script periodically needs to control mouse/keyboard to do things for a few seconds then give the control back to user. This script just disable the..... More

Print this item

  pdftable on Python 3.7
Posted by: ayaz786amd - Dec-29-2018, 05:56 AM - Forum: General Coding Help - Replies (1)

Hi

i have tried to install pdftable but its showing an error 'check your python version'. It means its not available for latest versions. Can i ins..... More

Print this item

  Firefox Selenium (open new tab)
Posted by: oneclick - Dec-29-2018, 03:29 AM - Forum: Web Scraping & Web Development - Replies (1)

can any one tell me what are the methods to work with multiple tab in firefox using selenium & Py 3?
I have tried to open a new tab which is not happ..... More

Print this item

  tensorflow stopped after numpy install
Posted by: Devilish - Dec-28-2018, 09:29 PM - Forum: Data Science - No Replies

So I have Anaconda with Python 3.6... After much trial and error I was finally able to get tensorflow-gpu installed and working. (re-installed Anacond..... More

Print this item

  search a string backwards
Posted by: Skaperen - Dec-28-2018, 09:12 PM - Forum: General Coding Help - Replies (2)

i recall once seeing a function or method that would find the position of the last instance of a substring in a given string. now, i could use..... More

Print this item

  offering help and seeking guidance
Posted by: Masterwes - Dec-28-2018, 08:44 PM - Forum: Jobs - No Replies

I'm looking for a work just to earn experience. I'm coursing computer science college and i wanna some guidance while i help on small things to know i..... More

Print this item

  Fabric - Run method is not being finished
Posted by: mglowinski93 - Dec-28-2018, 05:57 PM - Forum: General Coding Help - Replies (3)

Hi There,
I've prepared a piece of code, which intention is to log as a root user.
I can't use "sudo" method because that is not existing on the sys..... More

Print this item

  Print command
Posted by: isar - Dec-28-2018, 04:42 PM - Forum: General Coding Help - Replies (2)

Hi

using

print '.ngc'+string

I get .ngc***** - 3654 - 20181222

but using using
print string+'.ngc'
****..... More

Print this item

  Reset counter when the day turns over
Posted by: Rehan11 - Dec-28-2018, 03:55 PM - Forum: General Coding Help - Replies (3)

I want to monitor an event's and store value in counter and when the day turns over, it resets the counter to zero.

Here is a example
Day: 28 Coun..... More

Print this item

  PRAW and PyQt: Immense slowdown when retrieving Reddit posts and adding them to GUI
Posted by: codebro - Dec-28-2018, 03:34 PM - Forum: General Coding Help - Replies (2)

I'm trying to make a program using PRAW and PyQt that gathers Reddit posts from subscribed subreddits and displays them in a GUI window. The code I cu..... More

Print this item

  NewsFeed Ready To Use Script
Posted by: YourFriend0 - Dec-28-2018, 02:57 PM - Forum: Web Scraping & Web Development - Replies (8)

Hi,

The reason why I am posting my question here is because of doing research on Google and finding many sources of info that what i want could be ..... More

Print this item

  tn.write not working?
Posted by: searching1 - Dec-28-2018, 11:00 AM - Forum: Networking - No Replies

Hi, I have this program that access devices and change its hostname based from csv file but after entering the user/password script doesn't write any ..... More

Print this item

  Display more than one button in GUI to display MPU6000 Sensor readings
Posted by: barry76 - Dec-28-2018, 09:49 AM - Forum: GUI - Replies (4)

Hi, I have been working with the serial monitoring program. My laptop connected to Arduino with USB port and trying to receive the ..... More

Print this item

  Feedback and help
Posted by: tomX - Dec-28-2018, 08:48 AM - Forum: General Coding Help - Replies (13)

Hi Guys,
I'm new in the python coding scene and began learning Tkinter yesterday. I wrote a little dice rolling programm, based on a tkinter tutorial..... More

Print this item

  writing a class or a function
Posted by: Skaperen - Dec-28-2018, 06:59 AM - Forum: News and Discussions - Replies (9)

since an imported function (imported by itsekf or as part of a module) can save state/data between calls, there are many situations where a function i..... More

Print this item

  Storing MySQL BIT Data Type data in python variable
Posted by: krushna - Dec-28-2018, 05:41 AM - Forum: General Coding Help - Replies (2)

I need a script to store the values of mysql statement . Below is the snippet I wrote .

[python]
>>import pymysql
>>username='kbr_dev'
>>sel_que..... More

Print this item

  Working on nested functions
Posted by: boxerboy1168 - Dec-28-2018, 01:52 AM - Forum: General Coding Help - Replies (2)

Hello, I am just toying around and building a script to create network configurations for my CCNP lab..

[python]def mainMenu ():
print('\n Hel..... More

Print this item

  basic plotting question
Posted by: Devilish - Dec-27-2018, 10:35 PM - Forum: General Coding Help - No Replies

I'm following along with some tutorials, and have tried in both Jupyter and Spyder... When stepping through data, I get a different plot for each step..... More

Print this item

  Display blog posts in two columns
Posted by: saladgg - Dec-27-2018, 08:24 PM - Forum: Web Scraping & Web Development - Replies (3)

I want to diplay the list of my blog posts in a row with two columns. So I tried;

[python]{% for post in posts %}
{% set oddOrEven = cycle(['o..... More

Print this item

  Show a plot from matplotlib in a webpage
Posted by: cliquot22 - Dec-27-2018, 07:59 PM - Forum: GUI - Replies (2)

I would like to create a dashboard webpage with plots. I'm using Visual Studio Code IDE. I went through the tutorials to generate a webpage with var..... More

Print this item

  How to save record
Posted by: Rehan11 - Dec-27-2018, 05:48 PM - Forum: GUI - Replies (2)

How to save variable value entered by user from GUI

I made this program How to modified program to store details

python 3 raspbain os

[pyt..... More

Print this item

  [split] Name error/is not defined
Posted by: rajkiran - Dec-27-2018, 05:39 PM - Forum: General Coding Help - Replies (1)

I am having much in same error.I am new to this forum and python also if anyone can give me a working output of this code it would be much helpful

..... More

Print this item

  eval not working in code
Posted by: jamminjamie - Dec-27-2018, 05:24 PM - Forum: General Coding Help - No Replies

Hello,

I am new to Python and am working on a project to build a calculator. I am using Pycharm to build this. Eval does not work in the code for ..... More

Print this item

  PyQt4 handle dynamic checkbox click
Posted by: littleGreenDude - Dec-27-2018, 04:44 PM - Forum: GUI - Replies (1)

I'm working on a screen that displays a QTableWidget. Each row in the table has a string 'Part Role Name' followed by 5 checkboxes. The number of ro..... More

Print this item

  Value count
Posted by: sumitk - Dec-27-2018, 04:32 PM - Forum: General Coding Help - Replies (2)

I have a python script that needs to be run in bash shell every hour. I need to save the count of no of times script ran that day, and reset the count..... More

Print this item

  pyautogui hotkey
Posted by: Rolfi05 - Dec-27-2018, 04:28 PM - Forum: General Coding Help - No Replies

ubuntu 16.04 LTS 64 bit
python 3.5.2
firefox 64.0 64 bit


Hi,

I am learning python3 with https://automatetheboringstuff.com/chapter18. I want..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 6 hours ago Lou snippsat General Codin...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 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...
  best way to learn python 11-26, 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
Most views
  The best Prog... 579472
  Tutorial Requ... 512661
  Web Scraping ... 442333
  Newbie with P... 386388
  New Users Int... 381131
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 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Yesterday
TimTom420 11-27
cruisesfares 11-27
SNR 11-27
Jonathan 11-27

User Panel Messages

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