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 184 online users.
» 0 Member(s) | 177 Guest(s)
Bing, AOL, AOL, Facebook Dev

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
9 hours ago
» Replies: 4
» Views: 146
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 166
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 680
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: 217
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,220
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 327
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 217

 
  Help with porting to python3
Posted by: mason28 - Dec-22-2018, 06:40 PM - Forum: General Coding Help - Replies (3)

Hi everyone,

I need help with converting an encryption module (p3.py) written for Python2 to Python3.

First, I converted the module to python3 u..... More

Print this item

  len function -
Posted by: jojotte - Dec-22-2018, 05:41 PM - Forum: General Coding Help - Replies (5)

Hey!

I am trying to do the following:
1/user inputs a name e.g. "John".
2/user gets returned with the last character of the string e.g. "n".

W..... More

Print this item

  how json dump Japanese
Posted by: yunkai - Dec-22-2018, 05:23 PM - Forum: General Coding Help - Replies (2)

help,please.

I am coding a spider-code to collect message on a Japanese website, storing data using json-module

however, default json dump the d..... More

Print this item

  How retrieve sqlite3 database saved image and access in python3
Posted by: tao01 - Dec-22-2018, 02:35 PM - Forum: General Coding Help - Replies (1)

I stored image file in sqlite3 database. Now i need to get that image and show. How i get back that image from database.
??

Print this item

  Pygame loads only part of images
Posted by: Prof_Jar_Jar - Dec-22-2018, 02:14 PM - Forum: Game Development - Replies (3)

Hey there!

I'm struggeling a bit, I recoded my "game" to avoid problems with local variables, but now my game doesn't react to anything anymore and..... More

Print this item

  hi :) i really need help
Posted by: nitz93 - Dec-22-2018, 01:42 PM - Forum: Homework - Replies (2)

hi :) im bad at programming and im having a trouble solving the following python problem.. so i really need help!!

"Write a program that receives ..... More

Print this item

  math.sqrt / pow() rounding small floats, workaround?
Posted by: robertHTompkins - Dec-22-2018, 09:44 AM - Forum: General Coding Help - Replies (7)

Hey everyone, brand new here! I typically find all my answers within a 30min google search. But not this time!
I’m working on a basic Python program,..... More

Print this item

  Executing 2 lines at the same time
Posted by: SheeppOSU - Dec-22-2018, 02:35 AM - Forum: General Coding Help - Replies (2)

Hi I am trying to execute two lines at the same time. The lines are shown below. Either that or I need it to stop the option to input an answer after ..... More

Print this item

  simple register code
Posted by: aocii - Dec-22-2018, 01:27 AM - Forum: General Coding Help - Replies (2)

hi friends! I am new here, I am new at programming also. I know a little bit excell vba but I just started learning python. this is my first attempt t..... More

Print this item

  seeking suggestions for function option name
Posted by: Skaperen - Dec-22-2018, 01:10 AM - Forum: General Coding Help - Replies (1)

for a function doing file tree recursion, i want to include a named option in the arguments that limits the depth of the recursion. i can easily come..... More

Print this item

  Python interprete or compiled ?
Posted by: medaghroud - Dec-21-2018, 11:44 PM - Forum: News and Discussions - Replies (1)

Hello every one,
how we considered Python, interpreted langage or compiled langage ? or Hybride ?(Interpreted and Compiled langage?
Thanks!

Print this item

  Lack of understanding "graphX, = ax.plot"
Posted by: easayed - Dec-21-2018, 10:23 PM - Forum: General Coding Help - Replies (1)

Dear every member

I want to under stand the following line

graphX, = ax.plot([], [], 'b', label = 'X')
this line is written..... More

Print this item

  A simple csv code
Posted by: Truman - Dec-21-2018, 09:37 PM - Forum: General Coding Help - Replies (9)

[python]
import csv
csvFile = open("c:\Python36\files\test.csv", 'w+')
try:
writer = csv.writer(csvFile)
writer.writerow(('number', 'number plu..... More

Print this item

  How to iterate through sub-children in TkTree?
Posted by: WuchaDoin - Dec-21-2018, 07:00 PM - Forum: GUI - No Replies

[python] for children in self.points_tree.get_children():
child = self.points_tree.item(children)
print(c..... More


Attached Files

Thumbnail(s)
   
Print this item

  Uninstall Python-3.5 source
Posted by: xion824 - Dec-21-2018, 04:07 PM - Forum: News and Discussions - Replies (3)

We have RHEL 7 with Python-3.5 installed from source (standard config, make, make install method). How do I go about removing this from the system? I ..... More

Print this item

  SQLAlchemy, log only one record from failed insert
Posted by: Master_Sergius - Dec-21-2018, 02:04 PM - Forum: Web Scraping & Web Development - No Replies

Hello, sometimes I can find in logs following long tracebacks:

[python]
... (part of Traceback is skipped) ...
"/usr/local/lib/python3.6/site-pac..... More

Print this item

  Loops - new terminal output to file for each loop
Posted by: jm_ice - Dec-21-2018, 12:23 PM - Forum: General Coding Help - Replies (1)

Hi all!

So I'm a beginner and teaching myself! I am running a scientific model, the main code to which is beyond me(!) and installed on my computer..... More

Print this item

  Saving entered text for next usement
Posted by: Rigunas - Dec-21-2018, 09:40 AM - Forum: General Coding Help - Replies (1)

Hello,
I'm working with Python(x,y) and Qt Desinger 4. I got a browse button where I can seach for a file, after I selected the file it's loaded in a..... More

Print this item

  SO question:Why do the python support a spaghetti code?
Posted by: buran - Dec-21-2018, 09:33 AM - Forum: Bar - Replies (5)

Why do the python support a spaghetti code?

   

Wall Wall **wall..... More

Print this item

  Controling a Canon dslr camera on Windows
Posted by: Leon - Dec-21-2018, 08:10 AM - Forum: General Coding Help - Replies (16)

I'm looking for a simple way to control a Canon dslr camera on Windows with Python.
I need to control the shutter and import the last picture.

I t..... More

Print this item

  Have an amount of time to perform and action
Posted by: CookieGamez2018 - Dec-21-2018, 04:19 AM - Forum: General Coding Help - Replies (1)

Hello,

I am working on a project that I need to be able to see if you entered the correct passcode in 10 seconds. I have gotten the part to detect ..... More

Print this item

  Issue when running telnet program using python3
Posted by: searching1 - Dec-21-2018, 03:55 AM - Forum: Networking - Replies (11)

I have used this program in automating our network device backup config and

[python]
import getpass
import telnetlib
import ti..... More

Print this item

  a useful grep command
Posted by: Skaperen - Dec-21-2018, 02:59 AM - Forum: Bar - Replies (3)

i would like to see a grep command that can search python source files and limit the search to just the specified part of the source, ignoring these p..... More

Print this item

  Volunteer Python programmers for Python World Project
Posted by: pythonstatistics - Dec-21-2018, 02:31 AM - Forum: Jobs - Replies (4)

Hi,

If you are a Python programmer who enjoys programming and contributing to the community at large,
this project might be suitable for you.
I a..... More

Print this item

  datasharing between two separated running scripts
Posted by: Ispanicuz - Dec-20-2018, 10:18 PM - Forum: General Coding Help - Replies (7)

hello everybody,

i need some help understanding what's best solution to share data between two running script.

this is my scenario:

i've a program..... More

Print this item

  google-auth requirements.txt strange behavior
Posted by: randalpinto - Dec-20-2018, 09:25 PM - Forum: General Coding Help - Replies (3)

I currently run a python process inside of a container and we have a custom site-packages where all the requirements.txt are installed. All works fine..... More

Print this item

  During handling of the above exception, another exception occurred
Posted by: Skaperen - Dec-20-2018, 09:22 PM - Forum: General Coding Help - Replies (7)

i pressed ^C and got:
[output]Traceback (most recent call last):
File "tree.py", line 52, in <module>
names=sorted(list..... More

Print this item

  Cannot run my python to use gpu? Please help :(
Posted by: CadeFoster - Dec-20-2018, 08:02 PM - Forum: General Coding Help - Replies (1)

Hello, I have that code, so I want to accelerate him to use GPU instead of CPU, but I get error.
I try useing python 2.7 and 3.7...
My pure python ..... More

Print this item

  Multiply function using Tkinter
Posted by: ady1583 - Dec-20-2018, 07:59 PM - Forum: GUI - Replies (7)

Hello Everyone, i am stuck at the multiply function using Tkinter, any help is greatly appreciated. Addition seems to be fine.

[python]from tkinter i..... More

Print this item

  Import Excel File that Starts with Number
Posted by: kiki1113 - Dec-20-2018, 06:41 PM - Forum: Data Science - Replies (1)

Hello all -

I have files I'm trying to import. I do not name these files, they're created by another department. The files start with a number, ..... More

Print this item

  [split] Python error
Posted by: jazzy - Dec-20-2018, 05:57 PM - Forum: General Coding Help - Replies (1)

[python]
_gDF = pdf.DataFrame(listValue)
_gDF = _gDF.transpose()
_gDF.columns = listKey
# plt.figure(); _gDF.plot();
# ..... More

Print this item

  Independent Secondary index for dictionary
Posted by: Larz60+ - Dec-20-2018, 05:44 PM - Forum: General Coding Help - Replies (10)

Wouldn't it be nice to be able to have two (or more) independent keys for a dictionary node?

I have a hack that does this, but was wondering if any..... More

Print this item

  Functions with conditionals and comparison operators
Posted by: Drone4four - Dec-20-2018, 03:26 PM - Forum: Homework - Replies (9)

Here is an exercise provided by an instructor of a Udemy course I am taking:

[quote]LESSER OF TWO EVENS: Write a function that returns the lesser of ..... More

Print this item

  Full documentation
Posted by: notime - Dec-20-2018, 02:33 PM - Forum: News and Discussions - Replies (1)

Hey, I would like to learn python language harder, but I want to optimize my code, so to learn advanced method.
Does a full (official if possible) do..... More

Print this item

  PyQt4 installation frustration
Posted by: littleGreenDude - Dec-20-2018, 02:16 PM - Forum: GUI - Replies (4)

I'm trying to get PyQt4 setup, so I can run the converter that will take the XML created by QT designer and translate it to Python code to work with t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 9 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... 579474
  Tutorial Requ... 512680
  Web Scraping ... 442333
  Newbie with P... 386389
  New Users Int... 381163
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